feat: add MiniMax AI provider support (fixes #8818) #8819
+264
−0
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.
Description
This PR adds support for the MiniMax AI provider to RooCode, implementing the MiniMax-M2 models for coding, reasoning, and AI-assisted development tasks as requested in #8818.
Changes
Type Definitions: Added MiniMax provider type definitions with three model variants:
API Handler: Implemented extending for OpenAI-compatible API integration
Provider Configuration:
Testing: Added comprehensive test coverage with 15 test cases covering all model variants and edge cases
Testing
Related Issue
Fixes #8818
Notes
The implementation follows existing provider patterns in the codebase, particularly similar to the DeepSeek provider implementation. The MiniMax provider uses OpenAI-compatible API format, making integration straightforward.
Important
Adds support for MiniMax AI provider with model definitions, API handler, and comprehensive tests, integrating it into the existing provider framework.
MiniMaxHandlerinminimax.tsfor OpenAI-compatible API integration.https://api.minimaxi.com/v1.provider-settings.tsschema and integrates with provider factory.ProfileValidator.tsto handle MiniMax provider.minimax.spec.tswith 15 test cases covering all model variants and edge cases.index.tsfiles to exportMiniMaxHandlerand include it inbuildApiHandler().This description was created by
for 8653a05. You can customize this summary. It will automatically update as commits are pushed.