Add MiniMax provider to the AI provider registry - #31
Open
octo-patch wants to merge 2 commits into
Open
Conversation
Author
|
Updated the MiniMax provider configuration to list both MiniMax-M3 and MiniMax-M2.7 and document the global and China Anthropic-compatible endpoints. I ran npm run check, a constants assertion, and the setup help smoke test. |
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: Add MiniMax provider to the AI provider registry, auto-detection cascade, and model configuration\n\n## Changes\n\n- Add minimax-provider.ts implementing the AIProvider interface against the MiniMax Anthropic-compatible endpoint (default model MiniMax-M3, default base URL https://api.minimax.io/anthropic, China region https://api.minimaxi.com/anthropic)\n- Register MiniMax in provider-factory.ts: import, ProviderName type, PROVIDER_CREATORS map, and the auto-detection cascade (MINIMAX_API_KEY)\n- Update the provider enumeration in setup.ts (VALID_PROVIDERS, help text, validateProvider, interactive choices)\n- Document MiniMax in the providers README.md (table, architecture diagram, auto-detection list), root README.md, .env.example, hooks .env.example, CONFIG.md, CLAUDE_INTEGRATION_GUIDE.md, and the skill-activation-prompt.ts header comment\n\n## Verification\n\n- npx tsc --noEmit in .claude/hooks passes with no errors