Skip to content

Commit 92cd9b2

Browse files
authored
Merge pull request #10 from OpenCortexIDE/bug-fixes
Add grok-2 model definition to xAIModelOptions
2 parents f89d406 + 0bffc29 commit 92cd9b2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/vs/workbench/contrib/cortexide/common/modelCapabilities.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,16 @@ const xAIModelOptions = {
11291129
specialToolFormat: 'openai-style',
11301130
reasoningCapabilities: { supportsReasoning: true, canTurnOffReasoning: false, canIOReasoning: false, reasoningSlider: { type: 'effort_slider', values: ['low', 'high'], default: 'low' } },
11311131
},
1132+
'grok-2': {
1133+
contextWindow: 131_072,
1134+
reservedOutputTokenSpace: null,
1135+
cost: { input: 2.00, output: 10.00 },
1136+
downloadable: false,
1137+
supportsFIM: false,
1138+
supportsSystemMessage: 'system-role',
1139+
specialToolFormat: 'openai-style',
1140+
reasoningCapabilities: false,
1141+
},
11321142
} as const satisfies { [s: string]: CortexideStaticModelInfo }
11331143

11341144
const xAISettings: VoidStaticProviderInfo = {

0 commit comments

Comments
 (0)