fix(canvas): Agent 模型调用 - 修复关闭思考被误判为开启
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user