feat(workflow): upgrade default MiniMax model to M3#66
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Update the default MiniMax model from MiniMax-M2.7 to MiniMax-M3 across config, prompt rewriter, first-frame generator, README, and unit tests. M2.7 (and M2.7-highspeed) remain selectable via MINIMAX_MODEL env var or the --model CLI flag for projects that prefer the older default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade the default MiniMax LLM (
MINIMAX_MODEL) fromMiniMax-M2.7toMiniMax-M3for the workflow's prompt rewriting and first-frame prompt generation paths. M3 is MiniMax's current flagship and gives better instruction-following on the long, structured prompts this workflow produces.MiniMax-M2.7(andMiniMax-M2.7-highspeed) remain fully usable via theMINIMAX_MODELenv var or the--modelCLI flag — the integration test that exercisesM2.7-highspeedis unchanged.Changes
workflow/config.py— defaultMINIMAX_MODEL→MiniMax-M3workflow/prompt_rewriter_with_image.py— defaultmodelarg ofgenerate_video_description_minimax, docstring, and--modelCLI help textworkflow/generate_first_frame.py— defaultmodelarg ofgenerate_image_prompt_minimaxand docstringworkflow/README.md(EN + 中文) — note that the default isMiniMax-M3workflow/tests/test_minimax_provider.py—test_minimax_config_defaultsnow assertsM3; the env-override test usesM2.7instead of the retiredM2.5API base URL (
https://api.minimax.io/v1), env vars, and TTS/other providers are untouched.Test plan
python3 -m unittest tests.test_minimax_provider -v— 22/22 passingMINIMAX_API_KEYto exercise M3 end-to-end viagenerate_video_description_minimax/generate_image_prompt_minimax