diff --git a/packages/llms/src/utils.ts b/packages/llms/src/utils.ts index 88bd8d6..cbc08d8 100644 --- a/packages/llms/src/utils.ts +++ b/packages/llms/src/utils.ts @@ -38,6 +38,7 @@ export function modelPatch(body: Record) { if (modelName.startsWith('qwen')) { debug('Applying Qwen patch: use higher temperature for auto fixing') body.temperature = Math.max(body.temperature || 0, 1.0) + body.enable_thinking = false } if (modelName.startsWith('claude')) {