MiniMax M2.5 rejects Claude Code background structured-output requests (HTTP 400 invalid params)

オープン
#28 コメント 4 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
領域
api

調査の方向性

The issue describes failures on POST /v1/messages when requests include output_config.format with a json_schema and stream: true. Start by locating the request validation and structured-output handling for minimax-m2.5, then reproduce the sanitized request and inspect the returned validation error. Done means the request is accepted and incompatible fields receive actionable diagnostics; no source files or tests are named in the payload.

索引モデルが issue の本文から書いたものです。

説明

Hi MiniMax team,

This issue has been affecting us for more than a month, and it still appears unresolved.

minimax-m2.5 returns HTTP 400 with:

{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "invalid params"
  }
}

for a valid Claude Code background request pattern.

Important context:

  • This is not a user-typed prompt flow in the UI.
  • This is a background/service request sent by Claude Code for internal tasks (for example, background title-generation / structured-output utility calls).
  • Regular visible user chat requests can work, while these background requests fail.

This strongly suggests the API does not fully support recent Claude Code request formats.

Repro (sanitized)

  1. Send a POST /v1/messages request with model: "minimax-m2.5".
  2. Use normal messages + system.
  3. Include structured output config in Anthropic-compatible form:
{
  "output_config": {
    "effort": "medium",
    "format": {
      "type": "json_schema",
      "schema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" }
        },
        "required": ["title"],
        "additionalProperties": false
      }
    }
  },
  "stream": true
}
  1. Observe HTTP 400 invalid_request_error / invalid params.

Expected behavior

minimax-m2.5 should accept this request shape and process it, since this background flow is part of current Claude Code behavior.

Actual behavior

The request is rejected with HTTP 400, which breaks background service calls even when user-visible requests appear fine.

Impact

  • Breaks Claude Code background functionality (not visible directly in UI, but required for a complete integration).
  • Appears account-independent in our testing and affects all environments we tried.
  • Causes recurring operational errors with no actionable parameter-level diagnostics.

Request

  1. Please add support for this structured-output/background request pattern for minimax-m2.5.
  2. Please improve validation errors to identify the exact incompatible field(s), instead of generic invalid params.
  3. Please verify API monitoring/alerting for this failure class (invalid_request_error on background structured-output calls), because this has persisted for over a month.

If needed, we can provide additional sanitized traces (request IDs, timestamps, and reduced payloads) to help your team reproduce quickly.

主要言語
言語のデータがありません
スター
588
フォーク
83
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MiniMax-AI/MiniMax-M2.5 のほかの issue

MiniMax-AI/MiniMax-M2.5 の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。