add minimax support

This commit is contained in:
abnerhexu
2026-01-23 17:53:57 +08:00
parent 0410fbf4bc
commit 77264c172f
6 changed files with 43 additions and 158 deletions

View File

@@ -1,5 +1,5 @@
{
"selected_provider": "TSSC",
"selected_provider": "MiniMax",
"provider_configs": {
"Ollama": {
"type": "ollama",
@@ -65,6 +65,22 @@
"allow_endpoint_edit": true,
"allow_api_toggle": true,
"system_prompt": "You are a very friendly drone control agent. No matter what language I use to give you instructions, please call the tools to perform the task and then reply in English."
},
"MiniMax": {
"type": "openai-compatible",
"base_url": "https://api.minimaxi.com/v1",
"models_endpoint": "/v1/models",
"chat_endpoint": "/v1/chat/completions",
"requires_api_key": true,
"api_key": "sk-api-JmFQPSmEc0ErvwEHHJYEkP17TPqpxCx6yK2yS9rU4pBP9eMmdZKPuOo76z8y-bTcA0XsYY6vam33KGM53kQ5GInRCb1clhlNm1Mq-Fq1-CTZQDNXYhYxu7c",
"encoding": "utf-8",
"default_model": "MiniMax-M2.1",
"default_models": [
"MiniMax-M2.1"
],
"allow_endpoint_edit": true,
"allow_api_toggle": true,
"system_prompt": "You are a very friendly drone control agent. No matter what language I use to give you instructions, please call the tools to perform the task and then reply in English."
}
}
}