Skip to content

chore(model): refresh MiniMax examples to current M3 flagship#892

Merged
tmchow merged 1 commit into
EveryInc:mainfrom
octo-patch:feature/upgrade-minimax-m3
Jun 2, 2026
Merged

chore(model): refresh MiniMax examples to current M3 flagship#892
tmchow merged 1 commit into
EveryInc:mainfrom
octo-patch:feature/upgrade-minimax-m3

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

Summary

Refresh the illustrative MiniMax references in the model normalization utility so the JSDoc example and unit tests track the current M3 generation rather than older M2.x examples.

Changes

  • src/utils/model.ts: update the addProviderPrefix JSDoc example from minimax-m2.7 to minimax-m3.
  • tests/model-utils.test.ts: drop the deprecated minimax-m2.5-highspeed case, add coverage for minimax-m3 and MiniMax-M3 (verifies the case-insensitive matcher still handles uppercase variants), and keep the existing M2.7 cases as a still-supported alternative.

Why

The matcher itself does not need to change (the ^minimax-/i regex already handles any model in the family), but the advertised example and test fixtures had drifted to an older generation. Pointing them at M3 keeps the surface aligned with the current flagship and removes a deprecated M2.5-highspeed reference.

Testing

  • bun test tests/model-utils.test.ts -> 13 pass / 0 fail
  • bun test (full suite) -> 1395 pass / 0 fail
  • bun run release:validate -> ok

The model-name normalization utility advertises MiniMax as a recognized
provider prefix via its JSDoc example and unit tests. Update those
illustrative references to use the current M3 generation so docs and
tests reflect the active flagship model, and drop the deprecated
M2.5-highspeed example. Keep M2.7 coverage (still a supported alternative)
and add a MiniMax-M3 case to verify the case-insensitive matcher still
handles uppercase variants.
@tmchow tmchow merged commit 4cc6f7a into EveryInc:main Jun 2, 2026
2 checks passed
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.

2 participants