Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Refa: change Minimax base url to mainland by default to align with UI (#14195)

Yongteng Leifac46ef67f4d
diff --git a/rag/llm/__init__.py b/rag/llm/__init__.py
index 9cbce5acd9..77b1ff2b0e 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.minimax.io/v1",
+ SupportedLiteLLMProvider.MiniMax: "https://api.minimaxi.com/v1",
SupportedLiteLLMProvider.DeerAPI: "https://api.deerapi.com/v1",
SupportedLiteLLMProvider.OpenAI: "https://api.openai.com/v1",
SupportedLiteLLMProvider.n1n: "https://api.n1n.ai/v1",