Skip to content

feat(models): add MiniMax M2.5-Omni multimodal model support - #15420

Closed
joeVenner wants to merge 2 commits into
openclaw:mainfrom
joeVenner:feat/add_MiniMax_M2.5Omni_multimodal_model_support
Closed

joeVenner wants to merge 2 commits into
openclaw:mainfrom
joeVenner:feat/add_MiniMax_M2.5Omni_multimodal_model_support

Conversation

@joeVenner

@joeVenner joeVenner commented Feb 13, 2026 •

Copy link
Copy Markdown

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:

  • MiniMax-VL-01: Vision support, no reasoning
  • MiniMax-M2.5: Reasoning support, no vision

M2.5-Omni provides both in a single model, making it the preferred choice for MiniMax users who need multimodal capabilities.

Changes

File Change
src/agents/models-config.providers.ts Added M2.5-Omni to both buildMinimaxProvider() and buildMinimaxPortalProvider() with input: ["text", "image"] and reasoning: true
src/commands/onboard-auth.models.ts Added M2.5-Omni to MINIMAX_MODEL_CATALOG
src/agents/tools/image-tool.ts Updated to prefer M2.5-Omni over VL-01 for MiniMax vision tasks
src/agents/tools/image-tool.helpers.ts Updated resolveProviderVisionModelFromConfig() to prioritize M2.5-Omni
src/commands/onboard-auth.test.ts Added tests for M2.5 reasoning and M2.5-Omni multimodal input

Model Specifications

Property Value
Model ID MiniMax-M2.5-Omni
Reasoning ✅ Yes
Input Modalities Text, Image
Context Window 200,000 tokens
Max Output 8,192 tokens

Usage

# Select during onboarding
openclaw onboard --auth-choice minimax-api

# Switch at runtime
/model minimax/MiniMax-M2.5-Omni

Testing

  • Added unit tests for M2.5 reasoning configuration
  • Added unit tests for M2.5-Omni multimodal input support
  • Existing MiniMax integration tests continue to pass

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-Omni model 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: buildMinimaxModelDefinition currently hardcodes MiniMax models as text-only input, which prevents MiniMax-M2.5-Omni from being treated as multimodal when generated via applyMinimaxApiConfig.

Confidence Score: 2/5

  • This PR should not be merged until the MiniMax Omni model is correctly marked as image-capable in onboarding-generated model definitions.
  • While the provider catalogs and image-tool preference changes are straightforward, the onboarding path currently builds MiniMax model definitions with input: ["text"] unconditionally, which breaks the intended multimodal support for MiniMax-M2.5-Omni and makes the added unit test expectation incorrect (or reveals a real behavior bug).
  • src/commands/onboard-auth.models.ts; src/commands/onboard-auth.config-minimax.ts; src/commands/onboard-auth.test.ts

Last reviewed commit: 5adf1cd

(2/5) Greptile learns from your feedback when you react with thumbs up/down!

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
@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations agents Agent runtime and tooling size: S labels Feb 13, 2026

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@greptile-apps

greptile-apps Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor
Additional Comments (1)

src/commands/onboard-auth.models.ts
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".

Prompt To Fix With AI
This 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant