feat: add Janus model to vision allowed models

This commit is contained in:
kangfenmao 2025-02-04 12:11:14 +08:00
parent 205aa70825
commit 0914df8908

View File

@ -144,7 +144,8 @@ const visionAllowedModels = [
'pixtral',
'gpt-4(?:-[\\w-]+)',
'gpt-4o(?:-[\\w-]+)?',
'chatgpt-4o(?:-[\\w-]+)?'
'chatgpt-4o(?:-[\\w-]+)?',
'janus'
]
const visionExcludedModels = ['gpt-4-\\d+-preview', 'gpt-4-turbo-preview', 'gpt-4-32k', 'gpt-4-\\d+']