Repository navigation
Follow up MiniMax M3 pricing and PDF extraction defaults - #88869
NianJiuZst wants to merge 2 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed May 31, 2026, 11:26 PM ET / 03:26 UTC. Summary PR surface: Source +58, Tests +211, Docs +30. Total +299 across 18 files. Reproducibility: yes. for the current-main gap: source inspection shows flat MiniMax M3 runtime pricing and M2.7 PDF extraction defaults remain on main. No live MiniMax reproduction is present in the PR body. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the pricing follow-up only after redacted live MiniMax M3 proof is added and maintainers accept the M3 PDF extraction default as an intentional upgrade-visible change. Do we have a high-confidence way to reproduce the issue? Yes for the current-main gap: source inspection shows flat MiniMax M3 runtime pricing and M2.7 PDF extraction defaults remain on main. No live MiniMax reproduction is present in the PR body. Is this the best way to solve the issue? Unclear as merge-ready: the code direction is now a plausible narrow fix for MiniMax tiered pricing, but the PDF default change and external-provider behavior still need redacted live proof and maintainer acceptance. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 45b5f876ddf0. Label changesLabel justifications:
Evidence reviewedPR surface: Source +58, Tests +211, Docs +30. Total +299 across 18 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
2048d32 to
8d4c431
Compare
Summary
MiniMax M3 support already landed separately. This PR only covers the remaining MiniMax M3 follow-up work.
MiniMax-M3/fastrewriting forMiniMax-M2.7 -> MiniMax-M2.7-highspeedwhile documenting and testing thatMiniMax-M3has no highspeed variantCloses #88868.
Verification
node scripts/run-vitest.mjs extensions/minimax/model-definitions.test.tsnode scripts/run-vitest.mjs extensions/minimax/onboard.test.tsnode scripts/run-vitest.mjs src/llm/providers/stream-wrappers/minimax.test.tsnode scripts/run-vitest.mjs src/plugin-sdk/provider-stream.test.tsnode scripts/run-vitest.mjs src/agents/models-config.providers.minimax.test.tsnode scripts/run-vitest.mjs src/llm/model-utils.test.tsnode scripts/run-vitest.mjs src/agents/minimax-docs.test.tspnpm buildReal behavior proof
Behavior addressed: MiniMax M3 now uses the published tiered pricing during runtime cost calculation, PDF text extraction defaults to M3, and MiniMax fast mode remains an M2.7-only rewrite.
Real environment tested: local source checkout on branch
codex/minimax-m3-support.Exact steps or command run after this patch: the focused Vitest commands above plus
pnpm build.Evidence after fix: MiniMax model-definition tests, provider cost tests, docs tests, and shared cost-calculation tests pass with M3 tiered pricing assertions and the updated PDF extraction default.
Observed result after fix: M3 billing switches between the
<512Kand512K-1Mpricing tiers at runtime, MiniMax PDF extraction points atMiniMax-M3, and/fastkeepsMiniMax-M3unchanged.What was not tested: live MiniMax API calls against a real account.