Skip to content

feat: upgrade MiniMax default model to M3#994

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

feat: upgrade MiniMax default model to M3#994
octo-patch wants to merge 3 commits into
codexu:devfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link
Copy Markdown

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

Summary

Upgrade the MiniMax provider integration to use MiniMax-M3 as the default model, while keeping MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives and removing the older MiniMax-M2.5 model.

Changes

  • src/app/core/setting/config.tsx: Add a models array to the MiniMax entry in baseAiConfig listing MiniMax-M3, MiniMax-M2.7, and MiniMax-M2.7-highspeed (M3 first → default)
  • src/app/core/setting/config.spec.mjs: New unit test verifying the MiniMax block has a models field, M3 is the first model (default), and older models (M2.5/M2.1/M2/M1) are removed
  • src/lib/ai/minimax-integration.spec.mjs: Update integration tests to use M3 as the default, keep M2.7 and M2.7-highspeed coverage, drop the M2.5 backward-compatibility test

Why

MiniMax-M3 is the latest generation: 512K context, up to 128K output, and image input support. It supersedes M2.5/M2.1/M2/M1, while M2.7 and M2.7-highspeed remain available for users who need them.

How It Works

Users selecting "MiniMax" from the provider creation dialog now get a pre-populated model list with MiniMax-M3 selected as the default. They can switch to M2.7 or M2.7-highspeed in the model selector if needed.

API Documentation

octo-patch and others added 3 commits March 17, 2026 18:44
- Add MiniMax to baseAiConfig with API base URL and platform link
- MiniMax models (M2.5, M2.5-highspeed) are available via OpenAI-compatible API
- Add unit tests verifying config entry structure
- Add integration tests for chat completion and streaming
- Update integration tests to use MiniMax-M2.7 as primary model
- Add MiniMax-M2.7-highspeed test
- Add backward compatibility test for M2.5
- Keep all previous models as alternatives
- Add MiniMax-M3 to the MiniMax provider models list as the default
- Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives
- Remove MiniMax-M2.5 backward compatibility test
- Add unit test verifying M3 is first in the models list

Co-Authored-By: Octopus <liyuan851277048@icloud.com>
@octo-patch octo-patch changed the title feat: add MiniMax as built-in AI provider 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