fix(models): 修正qwen3模型thinking系列的支持判断
修复qwen3模型中thinking系列不应支持控制思考的逻辑错误
This commit is contained in:
@@ -2705,12 +2705,10 @@ export function isSupportedThinkingTokenQwenModel(model?: Model): boolean {
|
||||
}
|
||||
|
||||
if (baseName.startsWith('qwen3')) {
|
||||
if (baseName.includes('instruct')) {
|
||||
// NOTE: thinking系列不支持控制思考
|
||||
if (baseName.includes('instruct') || baseName.includes('thinking')) {
|
||||
return false
|
||||
}
|
||||
if (baseName.includes('thinking')) {
|
||||
return true
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user