From 2f2bdb4697dfa901661a76aef798055cc4f6e627 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:07:01 +0800 Subject: [PATCH] fix: update Qwen patch condition for model name --- packages/llms/src/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/llms/src/utils.ts b/packages/llms/src/utils.ts index 5863e21..bc776b2 100644 --- a/packages/llms/src/utils.ts +++ b/packages/llms/src/utils.ts @@ -34,8 +34,8 @@ export function modelPatch(body: Record) { const modelName = normalizeModelName(model) - if (modelName.startsWith('qwen3')) { - debug('Applying Qwen-3 patch: use higher temperature for auto fixing') + if (modelName.startsWith('qwen')) { + debug('Applying Qwen patch: use higher temperature for auto fixing') body.temperature = Math.max(body.temperature || 0, 1.0) }