From f14fd37398abe1e86056a0f03304c7926faf80df Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 3 Sep 2025 22:19:57 +0700 Subject: [PATCH] chore: no need restart model when change effort --- web-app/src/containers/ChatInput.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsx index b8f61e2b4..ec89bb0ef 100644 --- a/web-app/src/containers/ChatInput.tsx +++ b/web-app/src/containers/ChatInput.tsx @@ -748,15 +748,6 @@ const ChatInput = ({ model, className, initialMessage }: ChatInputProps) => { selectedModel.reasoning.reasoning_effort = effort setReasoningEffortOpen(false) - // Restart model with new reasoning effort - try { - await stopModel(selectedModel.id) - } catch (error) { - console.error( - 'Error restarting model with new reasoning effort:', - error - ) - } } }} >