diff --git a/conf/llm_factories.json b/conf/llm_factories.json index 20ef720f1a..170e22340c 100644 --- a/conf/llm_factories.json +++ b/conf/llm_factories.json @@ -1300,6 +1300,20 @@ "rank": "810", "url": "https://api.minimaxi.com/v1", "llm": [ + { + "llm_name": "MiniMax-M2.5", + "tags": "LLM,CHAT,200k", + "max_tokens": 204800, + "model_type": "chat", + "is_tools": true + }, + { + "llm_name": "MiniMax-M2.5-highspeed", + "tags": "LLM,CHAT,200k", + "max_tokens": 204800, + "model_type": "chat", + "is_tools": true + }, { "llm_name": "MiniMax-M2.1", "tags": "LLM,CHAT,200k", diff --git a/rag/llm/__init__.py b/rag/llm/__init__.py index 77b1ff2b0e..9cbce5acd9 100644 --- a/rag/llm/__init__.py +++ b/rag/llm/__init__.py @@ -81,7 +81,7 @@ FACTORY_DEFAULT_BASE_URL = { SupportedLiteLLMProvider.Anthropic: "https://api.anthropic.com/", SupportedLiteLLMProvider.JiekouAI: "https://api.jiekou.ai/openai", SupportedLiteLLMProvider.ZHIPU_AI: "https://open.bigmodel.cn/api/paas/v4", - SupportedLiteLLMProvider.MiniMax: "https://api.minimaxi.com/v1", + SupportedLiteLLMProvider.MiniMax: "https://api.minimax.io/v1", SupportedLiteLLMProvider.DeerAPI: "https://api.deerapi.com/v1", SupportedLiteLLMProvider.OpenAI: "https://api.openai.com/v1", SupportedLiteLLMProvider.n1n: "https://api.n1n.ai/v1",