Repository navigation
Prefer MiniMax Flash defaults and preserve reasoning transports - #45
Open
octo-patch wants to merge 12 commits into
Open
octo-patch wants to merge 12 commits into
octo-patch wants to merge 12 commits into
Conversation
Author
|
I aligned MiniMax-M3 pricing with the provider defaults and updated the related metadata assertions. I ran 95 targeted tests, Ruff, and git diff --check. |
Author
|
Updated the MiniMax default model list to MiniMax-M3 and MiniMax-M2.7, added China endpoint provider detection, and pushed a new commit. I ran the full test suite (730 passed, 1 skipped), Ruff, and git diff --check. |
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.
Reason: New MiniMax connections and ordinary discovered text choices should prefer MiniMax-M3.1-Flash, with MiniMax-M3 retained, while explicit saved legacy/custom requests continue working.
Summary
max, removing unsupportedservice_tierandreasoning_split=false. Native Anthropic usesoutput_config.effort; OpenAI usesreasoning_effort. M3 retains adaptive/disabled thinking and drops effort tuning.minimax/minimax-m3.1-flash:free, mandatory reasoning, zero rates, 1,000,000 context and 524,288 output. Gateway metadata remains gateway-sourced. Commonstack's unauthenticated catalog returns 401, so no Flash slug is guessed.512kboundary. Existing M3/cache/tier support from this PR is retained.Validation
python -m pytest tests -q -p pytest_asyncio.plugin -p no:cacheprovider), including actual proxy HTTP serialization tests for direct global/China Chat, native Anthropic, OpenRouter stream/nonstream, local Responses image/tool/history round trips, saved/custom/legacy controls and discovery metadata.git diff --checkand project secret scan: passed.env -i, private venv, cached libraries read-only, CPU threads capped at two. HTTPX 0.28.1, Starlette 1.0.0, pytest 9.0.3, pytest-asyncio 1.3.0 and AnyIO 4.13.0 matchuv.lock. Cached NumPy 2.4.6 and Uvicorn 0.47.0 differ from pinned 2.4.4/0.46.0. A full frozen dependency install was not completed under the shared disk resource gate. Initial cached-environment CLI/async failures were resolved by using the private interpreter and enabling the pinned async plugin; the final full run is green.Sources: https://platform.minimax.io/docs/api-reference/text-openai-api.md ; https://platform.minimax.io/docs/guides/pricing-paygo.md ; https://openrouter.ai/api/v1/models (checked 2026-10-20).