Refresh MiniMax provider for M3 and M2.7 with configurable base URL - #81
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Update the MiniMax provider from the stale M2.1-only setup to the current MiniMax-M3 (1,000,000-token context) and MiniMax-M2.7 (204,800-token context) models. Make the Anthropic-compatible base URL configurable via MINIMAX_BASE_URL so the China endpoint (https://api.minimaxi.com/anthropic) can be selected instead of the default global endpoint (https://api.minimax.io/anthropic). Update the primary model candidate, .env.example, and README accordingly.
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: Refresh the stale MiniMax provider to current MiniMax-M3 and MiniMax-M2.7 models with a configurable global/China Anthropic-compatible base URL.
Changes
MiniMax-M2.1(200,000-token context) model with the current models:MiniMax-M3— 1,000,000-token context windowMiniMax-M2.7— 204,800-token context windowMINIMAX_BASE_URL:https://api.minimax.io/anthropichttps://api.minimaxi.com/anthropicminimax/MiniMax-M2.1tominimax/MiniMax-M3.MINIMAX_BASE_URLin.env.exampleand the README provider overrides table, and refresh theMINIMAX_API_KEYdescription.Verification
node scripts/utils.test.js— 81 passed, 0 failed.scripts/configure.jswithMINIMAX_API_KEYset: confirms the provider is emitted with the two updated models and the correct default base URL, and thatMINIMAX_BASE_URLoverrides the base URL (e.g. to the China endpoint).