openclaw - 💡(How to fix) Fix [Bug]: Duplicate response: single user message triggers 3 API calls with different responseIds (MiniMax-M2.7) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#73254Fetched 2026-04-29 06:21:46
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Bug Description

When sending a single user message, OpenClaw generates THREE separate API calls with different responseIds. Only the last output is shown, but all three calls consume input tokens.

Steps to reproduce

Steps to Reproduce

  1. Use MiniMax-M2.7 model via minimax provider
  2. Send a question that requires reading files/docs (e.g., "check the session directory structure")
  3. The model makes 3 separate API calls instead of 1

Expected behavior

Expected Behavior

One user message = one API call = one response

Actual behavior

Actual Behavior

One user message = 3 API calls = three separate thinking+response sequences with different responseIds:

  • Call 1: starts with "好,让我去翻文档!"
  • Call 2: starts with "找到关键信息了!让我验证一下你当前的目录结构:"
  • Call 3: starts with "好的,文档读完了,目录也验证了,结论很清楚:"

All three have different responseId values in the trajectory file, confirming they are independent API calls.

OpenClaw version

2026.4.25

Operating system

macOS 13.7.8

Install method

No response

Model

MiniMax-M2.7

Provider / routing chain

minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue can be mitigated by investigating and potentially modifying the MiniMax-M2.7 model's behavior when handling user messages that require reading files or documents.

Guidance

  • Review the MiniMax-M2.7 model's implementation to understand why it generates three separate API calls for a single user message, focusing on the logic related to reading files or documents.
  • Verify if the model's behavior is intended or if it's a misconfiguration by checking the model's documentation or contacting its developers.
  • Consider implementing a workaround to merge or filter the API calls, ensuring that only one response is processed and displayed to the user.
  • Investigate the responseId values in the trajectory file to understand how they are generated and if they can be used to identify and handle duplicate or unnecessary API calls.

Example

No code snippet can be provided without more information about the model's implementation or the OpenClaw API.

Notes

The root cause of the issue is unclear, and more information about the model's behavior and the OpenClaw API is needed to provide a definitive solution. The guidance provided is based on the assumption that the model's behavior is the primary cause of the issue.

Recommendation

Apply a workaround to filter or merge the API calls, as the root cause of the issue is unclear and may require further investigation or modifications to the MiniMax-M2.7 model.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Duplicate response: single user message triggers 3 API calls with different responseIds (MiniMax-M2.7) [1 participants]