mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +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-opus-4',
|
||||
'vision',
|
||||
'glm-4v',
|
||||
'glm-4(?:\\.\\d+)?v(?:-[\\w-]+)?',
|
||||
'qwen-vl',
|
||||
'qwen2-vl',
|
||||
'qwen2.5-vl',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user