Skip to content

feat: add MiniMax-M2.7-highspeed provider presets#1936

Open
octo-patch wants to merge 1 commit intofarion1231:mainfrom
octo-patch:feature/add-minimax-highspeed-preset
Open

feat: add MiniMax-M2.7-highspeed provider presets#1936
octo-patch wants to merge 1 commit intofarion1231:mainfrom
octo-patch:feature/add-minimax-highspeed-preset

Conversation

@octo-patch
Copy link
Copy Markdown

Summary

  • Add MiniMax Highspeed (CN) preset using MiniMax-M2.7-highspeed model via api.minimaxi.com/anthropic
  • Add MiniMax en Highspeed (international) preset using MiniMax-M2.7-highspeed model via api.minimax.io/anthropic
  • Add unit tests covering all four MiniMax presets (M2.7 and M2.7-highspeed, CN and international variants)

MiniMax-M2.7-highspeed delivers the same performance as MiniMax-M2.7 but is faster and more agile — useful for latency-sensitive workflows.

Changes

  • src/config/claudeProviderPresets.ts — added two highspeed presets after the existing MiniMax M2.7 presets
  • tests/config/claudeProviderPresets.test.ts — added 12 unit tests for all MiniMax preset variants

Test plan

  • pnpm test:unit -- tests/config/claudeProviderPresets.test.ts — all 23 tests pass
  • No regressions in existing MiniMax presets

API documentation: https://platform.minimax.io/docs/api-reference/text-anthropic-api

Add MiniMax Highspeed (CN) and MiniMax en Highspeed presets for the
MiniMax-M2.7-highspeed model — same performance as MiniMax-M2.7 but
faster and more agile. Both CN (api.minimaxi.com) and international
(api.minimax.io) variants are included.

- Add MiniMax Highspeed preset (CN) with api.minimaxi.com
- Add MiniMax en Highspeed preset (international) with api.minimax.io
- Add unit tests for all four MiniMax presets
Copy link
Copy Markdown
Owner

@farion1231 farion1231 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. However, after comparing all fields, the only difference between MiniMax Highspeed and the existing MiniMax preset is the ANTHROPIC_MODEL string suffix — the endpoint, auth, category, theme, and promotion key are identical. Users can achieve the same result by editing the ANTHROPIC_MODEL field after creating a MiniMax provider. It doesn’t seem like an additional preset is necessary.

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