From ceaefd805354e1858b55ed3e3b4d126390a54f52 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 23 Jan 2025 13:45:45 -0800 Subject: [PATCH] refac --- backend/open_webui/utils/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index 895f1bfd1..6b2329be1 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -1078,7 +1078,7 @@ async def process_chat_response( # We might want to disable this by default detect_reasoning = True - reasoning_tags = ["think", "reason", "reasoning", "thought"] + reasoning_tags = ["think", "reason", "reasoning", "thought", "Thought"] current_tag = None reasoning_start_time = None