fix: update Qwen patch condition for model name
This commit is contained in:
@@ -34,8 +34,8 @@ export function modelPatch(body: Record<string, any>) {
|
|||||||
|
|
||||||
const modelName = normalizeModelName(model)
|
const modelName = normalizeModelName(model)
|
||||||
|
|
||||||
if (modelName.startsWith('qwen3')) {
|
if (modelName.startsWith('qwen')) {
|
||||||
debug('Applying Qwen-3 patch: use higher temperature for auto fixing')
|
debug('Applying Qwen patch: use higher temperature for auto fixing')
|
||||||
body.temperature = Math.max(body.temperature || 0, 1.0)
|
body.temperature = Math.max(body.temperature || 0, 1.0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user