Skip to content

feat: upgrade MiniMax default model to M3#132

Open
octo-patch wants to merge 1 commit into
brokermr810:mainfrom
octo-patch:feature/upgrade-minimax-m3
Open

feat: upgrade MiniMax default model to M3#132
octo-patch wants to merge 1 commit into
brokermr810:mainfrom
octo-patch:feature/upgrade-minimax-m3

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

Summary

Upgrade the MiniMax LLM provider configuration to use the latest MiniMax-M3 as the default model, while keeping M2.7 and M2.7-highspeed as available options.

Changes

  • backend_api_python/app/services/llm.py - Set default_model to MiniMax-M3; keep MiniMax-M2.7 as fallback.
  • backend_api_python/app/routes/settings.py - Update MINIMAX_MODEL default to MiniMax-M3; description now lists M3, M2.7 and M2.7-highspeed.
  • backend_api_python/app/routes/market.py - Replace minimax/minimax-m2 entry in the public model list with minimax/minimax-m3 / MiniMax: MiniMax M3.
  • backend_api_python/env.example - Bump MINIMAX_MODEL example to MiniMax-M3.

Why

MiniMax-M3 is the new flagship model with a 512K context window, 128K max output, and image input support across both OpenAI-compatible and Anthropic-compatible interfaces. M2.7 and the low-latency M2.7-highspeed variant remain available for users who prefer the previous generation.

How to test

  • Set LLM_PROVIDER=minimax and MINIMAX_API_KEY=... in .env (no MINIMAX_MODEL override).
  • Start the backend (python run.py) and trigger any AI analysis path; verify the request hits https://api.minimax.io/v1 with MiniMax-M3.
  • Optionally set MINIMAX_MODEL=MiniMax-M2.7 (or MiniMax-M2.7-highspeed) and confirm the prior generation still works.

Backward compatibility

Existing users with an explicit MINIMAX_MODEL override (e.g. MiniMax-M2.7 or MiniMax-M2.7-highspeed) are unaffected. Only the default for users who never set MINIMAX_MODEL changes from M2.7 to M3.

- Add MiniMax-M3 to the public model list and set as default
- Update MINIMAX_MODEL default to MiniMax-M3 in settings and env.example
- Set fallback_model to MiniMax-M2.7 (still available alongside M2.7-highspeed)
- Description now reflects M3 / M2.7 / M2.7-highspeed options

Signed-off-by: octo-patch <octo-patch@users.noreply.github.com>
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