mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-20 14:30:57 +00:00
* MiniMax: add M2.7 models and update default to M2.7 - Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to provider catalog and model definitions - Update default model from MiniMax-M2.5 to MiniMax-M2.7 across onboard, portal, and provider configs - Update isModernMiniMaxModel to recognize M2.7 prefix - Update all test fixtures to reflect M2.7 as default Made-with: Cursor * MiniMax: add extension test for model definitions * update 2.7 * feat: add MiniMax M2.7 models and update default (#49691) (thanks @liyuan97) --------- Co-authored-by: George Zhang <georgezhangtj97@gmail.com>
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"id": "minimax",
|
|
"providers": ["minimax", "minimax-portal"],
|
|
"providerAuthEnvVars": {
|
|
"minimax": ["MINIMAX_API_KEY"],
|
|
"minimax-portal": ["MINIMAX_OAUTH_TOKEN", "MINIMAX_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "minimax-portal",
|
|
"method": "oauth",
|
|
"choiceId": "minimax-global-oauth",
|
|
"choiceLabel": "MiniMax OAuth (Global)",
|
|
"choiceHint": "Global endpoint - api.minimax.io",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M2.7 (recommended)"
|
|
},
|
|
{
|
|
"provider": "minimax",
|
|
"method": "api-global",
|
|
"choiceId": "minimax-global-api",
|
|
"choiceLabel": "MiniMax API key (Global)",
|
|
"choiceHint": "Global endpoint - api.minimax.io",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M2.7 (recommended)",
|
|
"optionKey": "minimaxApiKey",
|
|
"cliFlag": "--minimax-api-key",
|
|
"cliOption": "--minimax-api-key <key>",
|
|
"cliDescription": "MiniMax API key"
|
|
},
|
|
{
|
|
"provider": "minimax-portal",
|
|
"method": "oauth-cn",
|
|
"choiceId": "minimax-cn-oauth",
|
|
"choiceLabel": "MiniMax OAuth (CN)",
|
|
"choiceHint": "CN endpoint - api.minimaxi.com",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M2.7 (recommended)"
|
|
},
|
|
{
|
|
"provider": "minimax",
|
|
"method": "api-cn",
|
|
"choiceId": "minimax-cn-api",
|
|
"choiceLabel": "MiniMax API key (CN)",
|
|
"choiceHint": "CN endpoint - api.minimaxi.com",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M2.7 (recommended)",
|
|
"optionKey": "minimaxApiKey",
|
|
"cliFlag": "--minimax-api-key",
|
|
"cliOption": "--minimax-api-key <key>",
|
|
"cliDescription": "MiniMax API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|