openclaw - 💡(How to fix) Fix [Bug]: Duplication of messages with minmax 2.7 [1 comments, 2 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#72429Fetched 2026-04-27 05:30:13
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×2closed ×1commented ×1

"When using MiniMax-M2.7 directly, the model immediately loops, hallucinating both questions and answers. Switching to gemini fixes it instantly, so it seems like OpenClaw is missing the proper stop tokens or stop sequences for the MiniMax provider."

Root Cause

"When using MiniMax-M2.7 directly, the model immediately loops, hallucinating both questions and answers. Switching to gemini fixes it instantly, so it seems like OpenClaw is missing the proper stop tokens or stop sequences for the MiniMax provider."

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

"When using MiniMax-M2.7 directly, the model immediately loops, hallucinating both questions and answers. Switching to gemini fixes it instantly, so it seems like OpenClaw is missing the proper stop tokens or stop sequences for the MiniMax provider."

Steps to reproduce

type any message in OpenClaw CLI

<img width="1126" height="434" alt="Image" src="https://github.com/user-attachments/assets/a85a5254-17d8-4c1e-81aa-e7893f5def9a" />

Expected behavior

no repetition of messages

Actual behavior

repeating the command and the reply

OpenClaw version

latest

Operating system

macos catalina

Install method

No response

Model

MiniMax-M2.7

Provider / routing chain

minmax

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 resolved by configuring OpenClaw to use the proper stop tokens or stop sequences for the MiniMax-M2.7 provider.

Guidance

  • Verify that the MiniMax-M2.7 provider is correctly configured in OpenClaw, checking for any missing or incorrect stop tokens or sequences.
  • Compare the configuration of the MiniMax-M2.7 provider with the gemini provider, which is known to work correctly, to identify any differences.
  • Check the OpenClaw documentation for any specific requirements or recommendations for configuring the MiniMax-M2.7 provider.
  • Test the MiniMax-M2.7 provider with a minimal input to see if the issue is specific to certain types of input or if it's a general problem.

Example

No code example is provided as the issue does not include specific code details.

Notes

The issue seems to be specific to the MiniMax-M2.7 provider and OpenClaw, and switching to the gemini provider resolves the issue. The exact cause of the problem is not clear, but it appears to be related to the configuration of the provider.

Recommendation

Apply workaround: Configure OpenClaw to use the proper stop tokens or stop sequences for the MiniMax-M2.7 provider, as this is likely to resolve the issue.

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…

FAQ

Expected behavior

no repetition of messages

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]: Duplication of messages with minmax 2.7 [1 comments, 2 participants]