feat(model): disable thinking for Qwen model patch
This commit is contained in:
@@ -38,6 +38,7 @@ export function modelPatch(body: Record<string, any>) {
|
||||
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')) {
|
||||
|
||||
Reference in New Issue
Block a user