fix(canvas): Agent 模型调用 - 修复关闭思考被误判为开启

This commit is contained in:
ddcat666 committed 2026-09-30 14:39:56 +08:00
1 parent 587c137c89
commit 53050a7a30
3 files changed
+43 -2

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ async function run() {
description: tool.description,
parameters: tool.parameters,
})),
thinkingLevel: options?.reasoning,
thinkingLevel: options?.reasoning ?? "off",
}, options?.signal);
for (const text of result.steeringMessages ?? []) {
await session.steer(text);