Refresh MiniMax parameters
This commit is contained in:
2 files changed
+9
-3
No files matched your search
@@ -16,7 +16,7 @@ const MINIMAX_STATIC_MODELS: ModelOverride[] = [
|
||||
description: 'Latest flagship model with enhanced reasoning and coding',
|
||||
capabilities: {
|
||||
supportsTools: true,
|
||||
supportsReasoning: false,
|
||||
supportsReasoning: true,
|
||||
maxContextLength: 1000000
|
||||
}
|
||||
},
|
||||
@@ -27,7 +27,7 @@ const MINIMAX_STATIC_MODELS: ModelOverride[] = [
|
||||
capabilities: {
|
||||
supportsTools: true,
|
||||
supportsReasoning: false,
|
||||
maxContextLength: 1000000
|
||||
maxContextLength: 204800
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@ const MINIMAX_STATIC_MODELS: ModelOverride[] = [
|
||||
capabilities: {
|
||||
supportsTools: true,
|
||||
supportsReasoning: false,
|
||||
maxContextLength: 1000000
|
||||
maxContextLength: 204800
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -124,6 +124,12 @@ describe('MinimaxAdapter', () => {
|
||||
expect(m3?.name).toBe('MiniMax M3');
|
||||
expect(m3?.providerId).toBe('minimax');
|
||||
expect(m3?.capabilities.supportsTools).toBe(true);
|
||||
expect(m3?.capabilities.maxContextLength).toBe(1000000);
|
||||
expect(m3?.capabilities.supportsReasoning).toBe(true);
|
||||
|
||||
const m27 = models.find(m => m.id === 'MiniMax-M2.7');
|
||||
expect(m27?.capabilities.supportsReasoning).toBe(false);
|
||||
expect(m27?.capabilities.maxContextLength).toBe(204800);
|
||||
});
|
||||
|
||||
it('should include all expected models', () => {
|
||||
|
||||
Reference in new issue
Block a user