Skip to content

Commit 8512f5a

Browse files
authored
🐛 fix: add vision support to Grok 4 (#8386)
* ✨ feat: add vision support to Grok 4 * ✨ feat: disable Grok 2 Vision 1212 model
1 parent a2d4064 commit 8512f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/aiModels/xai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const xaiChatModels: AIChatModelCard[] = [
77
functionCall: true,
88
reasoning: true,
99
search: true,
10+
vision: true,
1011
},
1112
contextWindowTokens: 256_000,
1213
description:
@@ -144,7 +145,6 @@ const xaiChatModels: AIChatModelCard[] = [
144145
contextWindowTokens: 32_768,
145146
description: '该模型在准确性、指令遵循和多语言能力方面有所改进。',
146147
displayName: 'Grok 2 Vision 1212',
147-
enabled: true,
148148
id: 'grok-2-vision-1212',
149149
pricing: {
150150
input: 2,

0 commit comments

Comments
 (0)