From a246949b77846c20309e85ab2abba153af2f10c2 Mon Sep 17 00:00:00 2001 From: balibabu Date: Thu, 28 Aug 2025 17:33:27 +0800 Subject: [PATCH] Fix: Fixed the issue where the thinking mode on the chat page could not be turned off #9789 (#9794) ### What problem does this PR solve? Fix: Fixed the issue where the thinking mode on the chat page could not be turned off #9789 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/components/llm-setting-items/next.tsx | 6 +-- web/src/components/message-item/index.less | 1 - web/src/interfaces/database/chat.ts | 2 + .../chat/app-settings/chat-basic-settings.tsx | 42 ------------------- .../chat/app-settings/chat-prompt-engine.tsx | 9 +++- .../chat/app-settings/chat-settings.tsx | 3 +- .../chat/app-settings/dynamic-variable.tsx | 5 +++ .../app-settings/use-chat-setting-schema.tsx | 5 +-- web/src/pages/next-chats/chat/sessions.tsx | 7 +++- 9 files changed, 28 insertions(+), 52 deletions(-) diff --git a/web/src/components/llm-setting-items/next.tsx b/web/src/components/llm-setting-items/next.tsx index e6455b727..c3fb3e3bb 100644 --- a/web/src/components/llm-setting-items/next.tsx +++ b/web/src/components/llm-setting-items/next.tsx @@ -102,8 +102,8 @@ export function LlmSettingFieldItems({ control={form.control} name={'parameter'} render={({ field }) => ( - - {t('freedom')} + + {t('freedom')} - - - - - - - {languageOptions.map((option) => ( - - {option.label} - - ))} - - - - - )} - /> {t('system')} -