mirror of
https://github.com/Gitlawb/openclaude.git
synced 2026-08-24 10:14:19 -05:00
fix(minimax): mark MiniMax-M2.7 as text-only input (#2068)
Co-authored-by: octo-patch <266937838+octo-patch@users.noreply.github.com>
This commit is contained in:
@@ -70,9 +70,13 @@ export default [
|
||||
label: 'MiniMax M2.7',
|
||||
brandId: 'minimax',
|
||||
vendorId: 'minimax',
|
||||
classification: ['chat', 'reasoning', 'vision', 'coding'],
|
||||
// Text-only model: accepts text input, no image/vision inputs.
|
||||
classification: ['chat', 'reasoning', 'coding'],
|
||||
defaultModel: 'MiniMax-M2.7',
|
||||
capabilities: minimaxM2Capabilities,
|
||||
capabilities: {
|
||||
...minimaxM2Capabilities,
|
||||
supportsVision: false,
|
||||
},
|
||||
contextWindow: 196_608,
|
||||
maxOutputTokens: 131_072,
|
||||
}),
|
||||
|
||||
@@ -111,6 +111,14 @@ describe('isVisionSupported', () => {
|
||||
).toBe(false)
|
||||
})
|
||||
|
||||
test('returns false for the text-only MiniMax M2.7 model on the MiniMax route', () => {
|
||||
expect(
|
||||
isVisionSupported('MiniMax-M2.7', {
|
||||
baseUrl: 'https://api.minimax.io/anthropic',
|
||||
}),
|
||||
).toBe(false)
|
||||
})
|
||||
|
||||
test('returns true for Claude models', () => {
|
||||
expect(isVisionSupported('claude-sonnet-4-6')).toBe(true)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user