feat: adicionar suporte a modelos MiniMax (2.7 e 3.0)

This commit is contained in:
2026-06-22 20:34:35 +00:00
parent 9f054a777f
commit 176f064c16
4 changed files with 88 additions and 1 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
import { AIProvider } from './providers';
export type AIProvider = 'gemini' | 'openai' | 'anthropic' | 'azure' | 'ollama' | 'openrouter';
export type AIProvider = 'gemini' | 'openai' | 'anthropic' | 'azure' | 'ollama' | 'openrouter' | 'minimax';
export const OLLAMA_AUTO_DETECT_URLS = [
'http://localhost:11434',
@@ -65,5 +65,12 @@ export const PROVIDERS: ProviderConfig[] = [
description: 'Acesso a múltiplos modelos através do OpenRouter',
models: ['google/gemini-2.5-flash', 'google/gemini-2.5-pro', 'anthropic/claude-3.5-sonnet', 'openai/gpt-4o', 'meta-llama/llama-3.1-70b-instruct'],
defaultModel: 'google/gemini-2.5-flash'
},
{
id: 'minimax',
name: 'MiniMax',
description: 'Modelos MiniMax (2.7 e 3.0)',
models: ['minimax-2.7', 'minimax-3.0'],
defaultModel: 'minimax-2.7'
}
];