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.5 (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.5 (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.5 (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.5 (recommended)",
|
||
|
|
"optionKey": "minimaxApiKey",
|
||
|
|
"cliFlag": "--minimax-api-key",
|
||
|
|
"cliOption": "--minimax-api-key <key>",
|
||
|
|
"cliDescription": "MiniMax API key"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"configSchema": {
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {}
|
||
|
|
}
|
||
|
|
}
|