From 93628c06eed2b2a5aa0da1bc85e355052f8c36b6 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 29 Dec 2025 00:19:20 -0300 Subject: [PATCH] feat: Add MiniMax provider support to UI dashboard - Add MiniMax to provider_create_fields.json with credential fields: - api_key (required, password field) - api_base (optional, defaults to https://api.minimax.io/v1) - Add MiniMax to UI provider enum and mappings - Includes tooltip for International vs China endpoints - Default model placeholder: minimax/MiniMax-M2 This enables users to configure MiniMax models directly through the proxy UI dashboard without needing to edit YAML config files. Fixes #18481 --- .../provider_create_fields.json | 28 +++++++++++++++++++ .../src/components/provider_info_helpers.tsx | 2 ++ 2 files changed, 30 insertions(+) diff --git a/litellm/proxy/public_endpoints/provider_create_fields.json b/litellm/proxy/public_endpoints/provider_create_fields.json index 9916bdf6923..0e0991dc214 100644 --- a/litellm/proxy/public_endpoints/provider_create_fields.json +++ b/litellm/proxy/public_endpoints/provider_create_fields.json @@ -1680,6 +1680,34 @@ ], "default_model_placeholder": "gpt-3.5-turbo" }, + { + "provider": "MINIMAX", + "provider_display_name": "MiniMax", + "litellm_provider": "minimax", + "credential_fields": [ + { + "key": "api_key", + "label": "API Key", + "placeholder": "your-minimax-api-key", + "tooltip": "MiniMax API Key from https://platform.minimaxi.com/", + "required": true, + "field_type": "password", + "options": null, + "default_value": null + }, + { + "key": "api_base", + "label": "API Base URL", + "placeholder": "https://api.minimax.io/v1", + "tooltip": "International: https://api.minimax.io/v1, China: https://api.minimaxi.com/v1", + "required": false, + "field_type": "text", + "options": null, + "default_value": "https://api.minimax.io/v1" + } + ], + "default_model_placeholder": "minimax/MiniMax-M2" + }, { "provider": "MOONSHOT", "provider_display_name": "Moonshot", diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx index 277786aa8ce..d44fe9446b6 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -24,6 +24,7 @@ export enum Providers { Hosted_Vllm = "vllm", Infinity = "Infinity", JinaAI = "Jina AI", + MiniMax = "MiniMax", MistralAI = "Mistral AI", Ollama = "Ollama", OpenAI = "OpenAI", @@ -55,6 +56,7 @@ export const provider_map: Record = { Google_AI_Studio: "gemini", Bedrock: "bedrock", Groq: "groq", + MiniMax: "minimax", MistralAI: "mistral", Cohere: "cohere", OpenAI_Compatible: "openai",