fix(models): Add inference model detection for qwen-plus and qwen-turbo (#7622)

feat(models): 添加对qwen-plus和qwen-turbo模型的推理模型判断
This commit is contained in:
Wang Jiyuan 2025-06-28 14:10:55 +08:00 committed by GitHub
parent 14e31018f7
commit 49653435c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2508,9 +2508,11 @@ export function isSupportedThinkingTokenQwenModel(model?: Model): boolean {
return (
baseName.startsWith('qwen3') ||
[
'qwen-plus',
'qwen-plus-latest',
'qwen-plus-0428',
'qwen-plus-2025-04-28',
'qwen-turbo',
'qwen-turbo-latest',
'qwen-turbo-0428',
'qwen-turbo-2025-04-28'