From 93628c06eed2b2a5aa0da1bc85e355052f8c36b6 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 29 Dec 2025 00:19:20 -0300 Subject: [PATCH 1/2] 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", From e31ee9be51121c63080d16ef45b53c32fa7c0f98 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 29 Dec 2025 00:21:14 -0300 Subject: [PATCH 2/2] feat: Add MiniMax official logo to UI - Downloaded official MiniMax logo from HuggingFace repository - Added minimax.svg to assets/logos directory - Updated providerLogoMap to reference the logo - Logo source: https://huggingface.co/MiniMaxAI/MiniMax-VL-01 --- ui/litellm-dashboard/public/assets/logos/minimax.svg | 1 + ui/litellm-dashboard/src/components/provider_info_helpers.tsx | 1 + 2 files changed, 2 insertions(+) create mode 100644 ui/litellm-dashboard/public/assets/logos/minimax.svg diff --git a/ui/litellm-dashboard/public/assets/logos/minimax.svg b/ui/litellm-dashboard/public/assets/logos/minimax.svg new file mode 100644 index 00000000000..59b741bbcb7 --- /dev/null +++ b/ui/litellm-dashboard/public/assets/logos/minimax.svg @@ -0,0 +1 @@ +资源 2 \ No newline at end of file diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx index d44fe9446b6..daea7abe877 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -112,6 +112,7 @@ export const providerLogoMap: Record = { [Providers.Google_AI_Studio]: `${asset_logos_folder}google.svg`, [Providers.Hosted_Vllm]: `${asset_logos_folder}vllm.png`, [Providers.Infinity]: `${asset_logos_folder}infinity.png`, + [Providers.MiniMax]: `${asset_logos_folder}minimax.svg`, [Providers.MistralAI]: `${asset_logos_folder}mistral.svg`, [Providers.Ollama]: `${asset_logos_folder}ollama.svg`, [Providers.OpenAI]: `${asset_logos_folder}openai_small.svg`,