feat: upgrade MiniMax provider to M2.7 with correct API base URL#85
Open
octo-patch wants to merge 1 commit intoOpenCoworkAI:mainfrom
Open
feat: upgrade MiniMax provider to M2.7 with correct API base URL#85octo-patch wants to merge 1 commit intoOpenCoworkAI:mainfrom
octo-patch wants to merge 1 commit intoOpenCoworkAI:mainfrom
Conversation
- Update base URL from api.minimax.chat/v1 to api.minimax.io/v1 - Add M2.7 and M2.7-highspeed models to custom provider presets - Add api.minimax.io to URL matcher hosts for auto-detection - Fix outdated MiniMax entries in both English and Chinese READMEs - Add unit tests for MiniMax URL detection (both old and new domains)
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
Upgrade MiniMax provider configuration from the outdated M2.5 +
api.minimax.chatto the current M2.7 +api.minimax.io.Changes
https://api.minimax.chat/v1tohttps://api.minimax.io/v1(the current official API domain)MiniMax-M2.5withMiniMax-M2.7and addedMiniMax-M2.7-highspeed(204K context window)api.minimax.ioto the hosts array so auto-detection works for both old and new domainsdocs/common-provider-setups.mdwith current infoFiles changed (7)
src/shared/api-provider-guidance.tssrc/shared/api-model-presets.tsdocs/common-provider-setups.mdreadme.mdREADME_zh.mdtests/provider-guidance.test.tstests/api-config-state.test.tsTest plan
npx vitest run tests/provider-guidance.test.ts— all 10 tests pass (including 3 new MiniMax tests)npx vitest run tests/api-config-state.test.ts— all 15 tests passdetectCommonProviderSetup('https://api.minimax.io/v1')returns the MiniMax setup in the UIContext: MiniMax migrated their API from
api.minimax.chattoapi.minimax.io, and released M2.7 as their latest flagship model (204K context). This PR ensures Open Cowork users get the correct setup guidance.