feat: add MiniMax M2.7 and M2.5-highspeed models#170
Closed
octo-patch wants to merge 1 commit intoTHU-MAIC:mainfrom
Closed
feat: add MiniMax M2.7 and M2.5-highspeed models#170octo-patch wants to merge 1 commit intoTHU-MAIC:mainfrom
octo-patch wants to merge 1 commit intoTHU-MAIC:mainfrom
Conversation
Add the latest MiniMax-M2.7 flagship model and MiniMax-M2.5-highspeed to the built-in MiniMax provider. Update both English and Chinese READMEs to include MiniMax in the supported providers list. Add vitest with unit and integration tests for the MiniMax provider configuration.
Contributor
|
Thanks for the contribution. PR #182 is adding broader MiniMax support (LLM + TTS + Image + Video) and we're using that as the main MiniMax PR. I've asked the author there to include your If you'd prefer, you can also open a smaller PR after #182 lands with just the model addition. Either way your work won't be lost. A couple of notes if you do update this PR:
|
Author
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
Changes
lib/ai/providers.tsREADME.mdREADME-zh.mdvitest.config.tspackage.jsonlib/ai/__tests__/providers.test.tslib/ai/__tests__/providers.integration.test.tsContext
MiniMax recently released M2.7, their latest flagship model. This PR adds it as the top model in the existing MiniMax provider, along with the M2.5-highspeed variant for latency-sensitive workloads. The Anthropic-compatible API endpoint (
api.minimaxi.com/anthropic/v1) supports all MiniMax models.Test plan
npx vitest run)