Skip to content

feat: upgrade MiniMax provider preset and add model presets#163

Merged
1186258278 merged 1 commit intoqingchencloud:mainfrom
octo-patch:feature/add-minimax-provider
Mar 30, 2026
Merged

feat: upgrade MiniMax provider preset and add model presets#163
1186258278 merged 1 commit intoqingchencloud:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

Summary

  • Fix MiniMax API base URL: Updated from the deprecated api.minimax.chat to the correct api.minimax.io endpoint
  • Add MiniMax model presets: Added M2.7, M2.7-highspeed (1M context), M2.5, M2.5-highspeed (204K context) to MODEL_PRESETS so users can quick-add MiniMax models when configuring the provider
  • Update description: Refreshed MiniMax provider description to mention the latest M2.7/M2.5 model series instead of the outdated "MiniMax-Text" series
  • README updates: Added MiniMax to the provider tables in both Chinese and English READMEs
  • Unit tests: Added 12 unit tests covering MiniMax provider preset validation, model preset structure, context window sizes, and provider-model alignment

Why

MiniMax has migrated their API from api.minimax.chat to api.minimax.io and released new M2.7 models with 1M context window. The existing preset pointed to the old endpoint and had no model presets, making it harder for users to get started with MiniMax.

Test plan

  • All 12 new tests pass: node --test tests/model-presets.test.js
  • Existing tests still pass: node --test tests/gateway-guardian-policy.test.js
  • Manual: select MiniMax from provider presets - verify base URL is https://api.minimax.io/v1
  • Manual: click Add Model on MiniMax provider - verify M2.7/M2.5 quick-add buttons appear

- Fix MiniMax API base URL from api.minimax.chat to api.minimax.io
- Add MiniMax model presets (M2.7, M2.7-highspeed, M2.5, M2.5-highspeed)
  with correct context window sizes (1M for M2.7, 204K for M2.5)
- Update MiniMax description to reflect latest M2.7/M2.5 model series
- Add MiniMax to README provider tables (Chinese + English)
- Add 12 unit tests for model presets validation
@1186258278 1186258278 merged commit 61bfd56 into qingchencloud:main Mar 30, 2026
@1186258278
Copy link
Copy Markdown
Contributor

🎉 已合并!感谢 @octo-patch 的贡献!MiniMax API 地址修复 + M2.7/M2.5 模型预设 + 完整的单元测试覆盖,PR 质量非常棒 👍

1186258278 added a commit that referenced this pull request Mar 30, 2026
- 新增「升级面板」章节:macOS/Windows/Linux 桌面版、Linux Web 版、Docker 五种场景
- 新增「卸载面板」章节:五种场景完整卸载步骤,含数据清理警告
- 代码贡献者新增 octo-patch(#163)、SEVENTEEN-TAN(#161)、roc-xie(#162)
- 社区反馈者新增 17 位近期 Issue 提交用户
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.

2 participants