mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
feat: update default MiniMax model to M2.7 (#1428)
This commit is contained in:
@@ -201,7 +201,7 @@ func (s *Server) handleGetSupportedModels(c *gin.Context) {
|
|||||||
{"id": "gemini", "name": "Google Gemini", "provider": "gemini", "defaultModel": "gemini-3-pro-preview"},
|
{"id": "gemini", "name": "Google Gemini", "provider": "gemini", "defaultModel": "gemini-3-pro-preview"},
|
||||||
{"id": "grok", "name": "Grok (xAI)", "provider": "grok", "defaultModel": "grok-3-latest"},
|
{"id": "grok", "name": "Grok (xAI)", "provider": "grok", "defaultModel": "grok-3-latest"},
|
||||||
{"id": "kimi", "name": "Kimi (Moonshot)", "provider": "kimi", "defaultModel": "moonshot-v1-auto"},
|
{"id": "kimi", "name": "Kimi (Moonshot)", "provider": "kimi", "defaultModel": "moonshot-v1-auto"},
|
||||||
{"id": "minimax", "name": "MiniMax", "provider": "minimax", "defaultModel": "MiniMax-M2.5"},
|
{"id": "minimax", "name": "MiniMax", "provider": "minimax", "defaultModel": "MiniMax-M2.7"},
|
||||||
{"id": "claw402", "name": "Claw402 (Base USDC)", "provider": "claw402", "defaultModel": "deepseek"},
|
{"id": "claw402", "name": "Claw402 (Base USDC)", "provider": "claw402", "defaultModel": "deepseek"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
DefaultMiniMaxBaseURL = "https://api.minimax.io/v1"
|
DefaultMiniMaxBaseURL = "https://api.minimax.io/v1"
|
||||||
DefaultMiniMaxModel = "MiniMax-M2.5"
|
DefaultMiniMaxModel = "MiniMax-M2.7"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|||||||
+1
-1
@@ -25,5 +25,5 @@ const (
|
|||||||
|
|
||||||
// Default MiniMax configuration (used by WithMiniMaxConfig convenience option)
|
// Default MiniMax configuration (used by WithMiniMaxConfig convenience option)
|
||||||
DefaultMiniMaxBaseURL = "https://api.minimax.io/v1"
|
DefaultMiniMaxBaseURL = "https://api.minimax.io/v1"
|
||||||
DefaultMiniMaxModel = "MiniMax-M2.5"
|
DefaultMiniMaxModel = "MiniMax-M2.7"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export const AI_PROVIDER_CONFIG: Record<string, AIProviderConfig> = {
|
|||||||
apiName: 'Moonshot',
|
apiName: 'Moonshot',
|
||||||
},
|
},
|
||||||
minimax: {
|
minimax: {
|
||||||
defaultModel: 'MiniMax-M2.5',
|
defaultModel: 'MiniMax-M2.7',
|
||||||
apiUrl: 'https://platform.minimax.io',
|
apiUrl: 'https://platform.minimax.io',
|
||||||
apiName: 'MiniMax',
|
apiName: 'MiniMax',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user