Repository navigation
Conversation
Add the new MiniMax M2.5-Omni model which combines reasoning capabilities with multimodal input (text + image). This model supersedes MiniMax-VL-01 for vision tasks when available, offering both image understanding and thinking token support. Changes: - Add MiniMax-M2.5-Omni to minimax and minimax-portal provider definitions - Add M2.5-Omni to the MINIMAX_MODEL_CATALOG for auto-discovery - Update image tool to prefer M2.5-Omni over VL-01 for MiniMax users - Add tests for M2.5 reasoning and M2.5-Omni multimodal input
Contributor
Additional Comments (1)
Prompt To Fix With AIThis is a comment left during a code review.
Path: src/commands/onboard-auth.models.ts
Line: 99:116
Comment:
**Omni not marked multimodal**
`buildMinimaxModelDefinition` currently hardcodes `input: ["text"]`, so `applyMinimaxApiConfig({}, "MiniMax-M2.5-Omni")` will add a model definition for Omni that is *not* image-capable. This contradicts the intent of the PR and causes the new test (`onboard-auth.test.ts`) to fail because `omniModel.input` will never contain `"image"`.
How can I resolve this? If you propose a fix, please make it concise. |
Add the new MiniMax M2.5-Omni model which combines reasoning capabilities with multimodal input (text + image). This model supersedes MiniMax-VL-01 for vision tasks when available, offering both image understanding and thinking token support. Changes: - Add MiniMax-M2.5-Omni to minimax and minimax-portal provider definitions - Add multimodal flag to MINIMAX_MODEL_CATALOG for proper input handling - Update buildMinimaxModelDefinition to set input: [text, image] for Omni - Update image tool to prefer M2.5-Omni over VL-01 for MiniMax users - Update tests to expect M2.5-Omni as primary vision model
3 tasks done
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
This PR adds support for the newly released MiniMax M2.5-Omni model, a multimodal variant of the M2.5 series that supports both text and image inputs while retaining reasoning/thinking token capabilities.
Motivation
MiniMax recently released M2.5-Omni, which combines the reasoning capabilities of M2.5 with vision support. Previously, MiniMax users had to choose between:
M2.5-Omni provides both in a single model, making it the preferred choice for MiniMax users who need multimodal capabilities.
Changes
src/agents/models-config.providers.tsbuildMinimaxProvider()andbuildMinimaxPortalProvider()withinput: ["text", "image"]andreasoning: truesrc/commands/onboard-auth.models.tsMINIMAX_MODEL_CATALOGsrc/agents/tools/image-tool.tssrc/agents/tools/image-tool.helpers.tsresolveProviderVisionModelFromConfig()to prioritize M2.5-Omnisrc/commands/onboard-auth.test.tsModel Specifications
MiniMax-M2.5-OmniUsage
Testing
Breaking Changes
None. This is a purely additive change. Existing MiniMax configurations continue to work unchanged.
Greptile Overview
Greptile Summary
This PR adds the MiniMax
MiniMax-M2.5-Omnimodel across provider catalogs, updates image-tool model selection to prefer it for MiniMax vision tasks, and extends onboarding tests.The main functional issue is in the onboarding model definition path:
buildMinimaxModelDefinitioncurrently hardcodes MiniMax models as text-only input, which preventsMiniMax-M2.5-Omnifrom being treated as multimodal when generated viaapplyMinimaxApiConfig.Confidence Score: 2/5
input: ["text"]unconditionally, which breaks the intended multimodal support forMiniMax-M2.5-Omniand makes the added unit test expectation incorrect (or reveals a real behavior bug).Last reviewed commit: 5adf1cd
(2/5) Greptile learns from your feedback when you react with thumbs up/down!