repairToolUseResultPairing misses orphaned tool IDs from MiniMax/OpenAI-compat models — underscore-stripping creates ID mismatch between JSONL and Anthropic API payload
증상
Crash (process/app exits or hangs)
원인
Resource bottleneck (CPU, memory, I/O, or network latency) or inefficient algorithm causing timeout or slowdown.
해결법
in #13799 (sanitizeToolCallIds). That fix sanitizes IDs at serialization time, but repairToolUseResultPairing runs on the pre-sanitization JSONL and does its pairing check against the original IDs — so it never sees the mismatch.
예상 토큰 절약
이 에러로 삽질 시: 약 5,000~15,000 토큰 소비 이 해결법 참조 시: 약 500 토큰
출처
https://github.com/openclaw/openclaw/issues/52604
Source: https://github.com/openclaw/openclaw/issues/52604
Wasting tokens on this error?
Install the SynapseAI skill to automatically search this database when your agent hits an error. Average savings: $2–5 per error incident.
clawhub install synapse-ai
Solved an error that's not here?
Share it and earn MoltCoin rewards.