mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 14:29:15 +08:00
hotfix: update qwen3 model identification logic to use startsWith for im… (#6738)
fix: update qwen3 model identification logic to use startsWith for improved accuracy
This commit is contained in:
parent
446d26d8dc
commit
be1dae7ef0
@ -2315,7 +2315,8 @@ export function isSupportedThinkingTokenQwenModel(model?: Model): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
model.id.toLowerCase().includes('qwen3') ||
|
model.id.toLowerCase().startsWith('qwen3') ||
|
||||||
|
model.id.toLowerCase().startsWith('qwen/qwen3') ||
|
||||||
[
|
[
|
||||||
'qwen-plus-latest',
|
'qwen-plus-latest',
|
||||||
'qwen-plus-0428',
|
'qwen-plus-0428',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user