Skip to content

[BUG] MiniMax-M2 from Minimax minimax.com provider Unexpected API Response. The language model did not provide any assistant messages #9100

@richtong

Description

@richtong

Problem (one or two sentences)

Trying to use MiniMax-M2, I get the message after the API request

Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output.

Context (who is affected and when)

Any user who tries to use Minimax-m2 directly from the Minimax provider. But this does work with using OpenRouter to access

Reproduction steps

  1. Got to Settings > Providers > Minimax > Minimax-M2 selected
  2. Try to run a query
  3. Get the message above

Expected result

The llm call should return

Actual result

Get an API eror with

Variations tried (optional)

No response

App Version

0.30.2

API Provider (optional)

Not Applicable / Other

Model Used (optional)

Minimax-m2

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions