MiniMax-M3 emits truncated tool-call JSON (error 2013) and destroys resumable session
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- ai, backend-api-design
調査の方向性
永続セッションとツール呼び出しランタイムのパスから始め、保持されている実行アーティファクトとサニタイズ済みのプロバイダーエラーを再現の入口として使用します。MiniMax-M3で記載された再現手順に従い、ツールの使用を明示的に禁止した場合の挙動と比較します。ツール呼び出しの不正なJSONが処理され、セッションが恒久的に再開不能にならず、プロバイダーエラーパスのカバレッジが確保されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
While using MiniMax-M3 through a persistent Codex/fast-subagent session, the model attempted an unrequested tool call whose arguments were truncated. The provider returned error 2013 (invalid_prompt), and the persistent session became structurally non-resumable.
Environment
- Date: 2026-08-09
- OS: Windows
- Model:
MiniMax-M3 - Reasoning effort:
high - Runtime transport: Codex session wrapped by a local MCP supervisor
- MiniMax CLI was not used for the failing run
Sanitized failure
ERROR codex_core::tools::router: failed to parse function arguments:
EOF while parsing a string at line 1 column 260
provider response:
invalid params, invalid function arguments json string
code: invalid_prompt
numeric code: 2013
The last textual output before failure said the agent was going to write a research document, even though the requested outcome was a textual research list and no file write was requested.
A subsequent attempt to add a message to the same persistent session returned:
SESSION_NOT_RESUMABLE
Session cannot resume after structural failure in the previous run
Steps to reproduce
- Start a persistent session with
MiniMax-M3and tool calling available. - Ask for a structured research response containing multiple candidates and URLs.
- Let the model decide whether to invoke a tool.
- In the observed run, the model emitted malformed/truncated JSON for a tool call.
- Attempt to continue the same session.
I could not reproduce the malformed call in a clean second session after explicitly forbidding all tool use; that session completed normally. The original failure and non-resumable state are persisted and reproducible from its run artifact.
Expected behavior
- Tool-call arguments should always be valid complete JSON.
- If generation of a tool call fails, the provider/runtime should ideally return a recoverable turn error or allow the persistent session to continue.
- A malformed assistant tool call should not permanently destroy otherwise valid conversation state.
Actual behavior
- The turn exits with code 1 / provider error 2013.
- No token usage is returned for the failed run.
- The persistent session becomes structurally non-resumable.
No credentials, prompts containing personal data, or private file contents are included in this report.
- 主要言語
- TypeScript
- スター
- 2.2k
- フォーク
- 181
- 平均マージ
- 9時間 4分
- マージ済み PR(30日)
- 13
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MiniMax-AI/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MiniMax-AI/cli#259 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MiniMax-AI/cli#258 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
MiniMax-AI/cli#265 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MiniMax-AI/cli#260 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
MiniMax-AI/cli#257 · コメント 1 件 ·
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TanStack/tanstack.com#1293 ·