mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 12:54:45 +08:00
feat: use "mode" instead of "thinking_enabled" and "is_plan_mode"
This commit is contained in:
@@ -108,7 +108,11 @@ export default function ChatPage() {
|
||||
isNewThread,
|
||||
threadId,
|
||||
thread,
|
||||
threadContext: settings.context,
|
||||
threadContext: {
|
||||
...settings.context,
|
||||
thinking_enabled: settings.context.mode !== "flash",
|
||||
is_plan_mode: settings.context.mode === "pro",
|
||||
},
|
||||
afterSubmit() {
|
||||
router.push(pathOfThread(threadId!));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user