mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 06:49:02 +08:00
fix(models): update glm-4 model regex for improved matching (#7793)
- Changed the glm-4 model entry to use a regex pattern for better flexibility in version matching, allowing for optional version numbers and suffixes.
This commit is contained in:
parent
a924da10c2
commit
619aadce41
@ -164,7 +164,7 @@ const visionAllowedModels = [
|
|||||||
'claude-sonnet-4',
|
'claude-sonnet-4',
|
||||||
'claude-opus-4',
|
'claude-opus-4',
|
||||||
'vision',
|
'vision',
|
||||||
'glm-4v',
|
'glm-4(?:\\.\\d+)?v(?:-[\\w-]+)?',
|
||||||
'qwen-vl',
|
'qwen-vl',
|
||||||
'qwen2-vl',
|
'qwen2-vl',
|
||||||
'qwen2.5-vl',
|
'qwen2.5-vl',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user