mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:49:29 +08:00
fix: 视觉模型识别错误 #329
This commit is contained in:
parent
4d56c841a3
commit
67ea972c3d
@ -135,8 +135,10 @@ const visionAllowedModels = [
|
|||||||
'qwen-vl',
|
'qwen-vl',
|
||||||
'qwen2-vl',
|
'qwen2-vl',
|
||||||
'internvl2',
|
'internvl2',
|
||||||
|
'grok',
|
||||||
'gpt-4(?:-[\\w-]+)',
|
'gpt-4(?:-[\\w-]+)',
|
||||||
'gpt-4o(?:-[\\w-]+)?'
|
'gpt-4o(?:-[\\w-]+)?',
|
||||||
|
'chatgpt-4o(?:-[\\w-]+)?'
|
||||||
]
|
]
|
||||||
|
|
||||||
const visionExcludedModels = ['gpt-4-\\d+-preview', 'gpt-4-turbo-preview', 'gpt-4-32k', 'gpt-4-\\d+']
|
const visionExcludedModels = ['gpt-4-\\d+-preview', 'gpt-4-turbo-preview', 'gpt-4-32k', 'gpt-4-\\d+']
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user