mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Merge pull request #18496 from Chesars/feat/add-minimax-provider-ui
feat: Add MiniMax provider support to UI dashboard
This commit is contained in:
commit
ec1403ada0
3 changed files with 32 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
1
ui/litellm-dashboard/public/assets/logos/minimax.svg
Normal file
1
ui/litellm-dashboard/public/assets/logos/minimax.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 490.16 411.7"><defs><style>.cls-1{fill:url(#未命名的渐变_6);}</style><linearGradient id="未命名的渐变_6" y1="205.85" x2="490.16" y2="205.85" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e4177f"/><stop offset="0.5" stop-color="#e73562"/><stop offset="1" stop-color="#e94e4a"/></linearGradient></defs><title>资源 2</title><g id="图层_2" data-name="图层 2"><g id="图层_1-2" data-name="图层 1"><path class="cls-1" d="M233.45,40.81a17.55,17.55,0,1,0-35.1,0V331.56a40.82,40.82,0,0,1-81.63,0V145a17.55,17.55,0,1,0-35.09,0v79.06a40.82,40.82,0,0,1-81.63,0V195.42a11.63,11.63,0,0,1,23.26,0v28.66a17.55,17.55,0,0,0,35.1,0V145A40.82,40.82,0,0,1,140,145V331.56a17.55,17.55,0,0,0,35.1,0V217.5h0V40.81a40.81,40.81,0,1,1,81.62,0V281.56a11.63,11.63,0,1,1-23.26,0Zm215.9,63.4A40.86,40.86,0,0,0,408.53,145V300.85a17.55,17.55,0,0,1-35.09,0v-260a40.82,40.82,0,0,0-81.63,0V370.89a17.55,17.55,0,0,1-35.1,0V330a11.63,11.63,0,1,0-23.26,0v40.86a40.81,40.81,0,0,0,81.62,0V40.81a17.55,17.55,0,0,1,35.1,0v260a40.82,40.82,0,0,0,81.63,0V145a17.55,17.55,0,1,1,35.1,0V281.56a11.63,11.63,0,0,0,23.26,0V145A40.85,40.85,0,0,0,449.35,104.21Z"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
|
@ -24,6 +24,7 @@ export enum Providers {
|
|||
Hosted_Vllm = "vllm",
|
||||
Infinity = "Infinity",
|
||||
JinaAI = "Jina AI",
|
||||
MiniMax = "MiniMax",
|
||||
MistralAI = "Mistral AI",
|
||||
Ollama = "Ollama",
|
||||
OpenAI = "OpenAI",
|
||||
|
|
@ -56,6 +57,7 @@ export const provider_map: Record<string, string> = {
|
|||
Google_AI_Studio: "gemini",
|
||||
Bedrock: "bedrock",
|
||||
Groq: "groq",
|
||||
MiniMax: "minimax",
|
||||
MistralAI: "mistral",
|
||||
Cohere: "cohere",
|
||||
OpenAI_Compatible: "openai",
|
||||
|
|
@ -112,6 +114,7 @@ export const providerLogoMap: Record<string, string> = {
|
|||
[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`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue