Add MiniMax (https://platform.minimaxi.com/) as a built-in chat model provider with M2.7, M2.7-highspeed, M2.5, and M2.5-highspeed models. MiniMax provides OpenAI-compatible API, so it works seamlessly with the existing OpenAIBase and ChatOpenAI integration paths. Users only need to set MINIMAX_API_KEY to start using MiniMax models. Changes: - Add MiniMax to DEFAULT_CHAT_MODEL_PROVIDERS (models.py) - Add MINIMAX_API_KEY to .env.template - Add MiniMax provider icon and frontend registration - Update model-config docs with MiniMax entry - Add 22 unit tests + 3 integration tests
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
MODEL_DIR=./models
|
|
SAVE_DIR=./saves
|
|
REDIS_URL=redis://redis:6379/0
|
|
RUN_EVENTS_STREAM_TTL_SECONDS=7200
|
|
RUN_CANCEL_KEY_TTL_SECONDS=1800
|
|
LANGGRAPH_CHECKPOINTER_BACKEND=postgres
|
|
VITE_USE_RUNS_API=false
|
|
|
|
# region model_provider
|
|
SILICONFLOW_API_KEY= # 推荐使用硅基流动免费服务 https://cloud.siliconflow.cn/i/Eo5yTHGJ
|
|
TAVILY_API_KEY= # 获取搜索服务的 api key 请访问 https://app.tavily.com/
|
|
|
|
# # 其余可选配置
|
|
# OPENAI_API_KEY=
|
|
# OPENAI_API_BASE=
|
|
# ZHIPUAI_API_KEY=
|
|
# DASHSCOPE_API_KEY=
|
|
# DEEPSEEK_API_KEY=
|
|
# ARK_API_KEY=
|
|
# MINIMAX_API_KEY= # MiniMax 大模型 https://platform.minimaxi.com/
|
|
# TOGETHER_API_KEY=
|
|
# # endregion model_provider
|
|
|
|
# # region neo4j
|
|
# NEO4J_URI=
|
|
# NEO4J_USERNAME=
|
|
# NEO4J_PASSWORD=
|
|
# # endregion neo4j
|
|
|
|
# # Servies
|
|
# YUXI_SUPER_ADMIN_NAME=
|
|
# YUXI_SUPER_ADMIN_PASSWORD=
|
|
|
|
# # URL Whitelist (comma-separated domains/IPs, empty to disable URL parsing)
|
|
# YUXI_URL_WHITELIST=github.com,docs.example.com,gitlab.example.com,127.0.0.1
|
|
|
|
# # MinerU
|
|
# MINERU_API_KEY=
|
|
|
|
# LightRag llm 并发限制
|
|
# MAX_ASYNC=5
|
|
# EMBEDDING_FUNC_MAX_ASYNC=8
|