Skip to content

feat: upgrade MiniMax default model to M3#753

Open
octo-patch wants to merge 3 commits into
TheR1D:mainfrom
octo-patch:feature/add-minimax-provider
Open

feat: upgrade MiniMax default model to M3#753
octo-patch wants to merge 3 commits into
TheR1D:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch

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

Copy link
Copy Markdown

Summary

Upgrade the existing MiniMax provider integration to use MiniMax-M3 as the recommended default model while keeping MiniMax-M2.7 / MiniMax-M2.7-highspeed as alternatives.

Changes

  • README.md: default DEFAULT_MODEL switched to MiniMax-M3 (env, config file, and Docker example) and model lineup updated to list M3 first
  • tests/test_minimax.py: default-model temperature clamping and chat-mode tests use MiniMax-M3; the previous-generation test now exercises MiniMax-M2.7
  • tests/test_minimax_integration.py: real-API integration tests use MiniMax-M3 (default prompt, code generation, temperature); the previous-generation case exercises MiniMax-M2.7
  • Removed all references to MiniMax-M2.5 / MiniMax-M2.5-highspeed

Why

MiniMax-M3 is the latest flagship: 512K context window, up to 128K output, and image input support. Promoting it as the default showcases the new model and matches the upgrade guidance, while keeping MiniMax-M2.7 available for users who prefer the previous generation.

Testing

  • All 6 unit tests in tests/test_minimax.py pass
  • Integration test class TestMiniMaxIntegration updated and structured identically (skips when MINIMAX_API_KEY is unset)

PR Bot and others added 2 commits March 17, 2026 17:23
Add first-class support for MiniMax LLM models (MiniMax-M2.5,
MiniMax-M2.5-highspeed) via their OpenAI-compatible API endpoint.

Changes:
- Auto-detect MINIMAX_API_KEY env var and configure the API endpoint
- Temperature clamping for MiniMax models (0.0 → 0.01) since MiniMax
  requires temperature in (0.0, 1.0]
- Documentation in README with usage examples and Docker setup
- 5 unit tests + 3 integration tests

Co-Authored-By: Octopus <liyuan851277048@icloud.com>
- Update default model from MiniMax-M2.5 to MiniMax-M2.7 in README examples
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to available models list
- Update unit tests to use M2.7 as primary model
- Update integration tests to use M2.7 as primary model
- Add backward compatibility tests for MiniMax-M2.5
- Keep all previous models as available alternatives
@octo-patch octo-patch changed the title feat: add MiniMax as first-class LLM provider feat: add MiniMax as first-class LLM provider with M2.7 default Mar 18, 2026
- Promote MiniMax-M3 to the recommended default in README and examples
- Add MiniMax-M3 unit/integration tests; remove M2.5 references
- Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives
@octo-patch octo-patch changed the title feat: add MiniMax as first-class LLM provider with M2.7 default feat: upgrade MiniMax default model to M3 Jun 2, 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