Skip to content

feat: 支持多 LLM 提供商配置(MiniMax M2.7、OpenAI 等)#189

Open
octo-patch wants to merge 2 commits intodatawhalechina:mainfrom
octo-patch:feature/support-multi-llm-providers
Open

feat: 支持多 LLM 提供商配置(MiniMax M2.7、OpenAI 等)#189
octo-patch wants to merge 2 commits intodatawhalechina:mainfrom
octo-patch:feature/support-multi-llm-providers

Conversation

@octo-patch
Copy link
Copy Markdown

@octo-patch octo-patch commented Mar 15, 2026

Summary

支持多 LLM 提供商配置,通过 .env 环境变量即可切换不同的 LLM 提供商。

Changes

  • 在 Env-Setup.md 中添加多提供商配置说明(硅基流动、MiniMax、OpenAI)
  • MiniMax 默认模型已升级为 MiniMax-M2.7(最新旗舰模型,增强推理与编码能力)
  • 可选模型:MiniMax-M2.7、MiniMax-M2.7-highspeed、MiniMax-M2.5、MiniMax-M2.5-highspeed
  • 在 README 学习指南中说明支持多种 LLM API

Why

MiniMax-M2.7 is the latest flagship model with enhanced reasoning and coding capabilities.

Testing

  • Verified documentation renders correctly
  • Confirmed env var configuration works with MiniMax API

octo-patch and others added 2 commits March 15, 2026 14:17
Read BASE_URL and MODEL_NAME from environment variables instead of
hardcoding SiliconFlow defaults. This fixes a bug where the .env
BASE_URL setting documented in Env-Setup.md was silently ignored.

Users can now switch between SiliconFlow, MiniMax, OpenAI, and other
OpenAI-compatible providers by changing .env configuration alone.

Also removes the Qwen-specific extra_body from provider-agnostic
utility modules and adjusts temperature from 0 to 0.01 for broader
provider compatibility.
- Update default MiniMax model from M2.5 to M2.7 in Env-Setup docs
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to available models list
- Keep all previous models (M2.5, M2.5-highspeed) as alternatives
@octo-patch octo-patch changed the title feat: 支持多 LLM 提供商配置(MiniMax、OpenAI 等) feat: 支持多 LLM 提供商配置(MiniMax M2.7、OpenAI 等) Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant