chore: no need restart model when change effort

This commit is contained in:
Faisal Amir 2025-09-03 22:19:57 +07:00
parent 371a0dd6ec
commit f14fd37398

View File

@ -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
)
}
}
}}
>