fix: normalize Kimi anthropic tool payloads#59440
Conversation
Greptile SummaryThis PR fixes Kimi and Kimi Coding being incorrectly treated as native Anthropic tool-payload providers. It adds Confidence Score: 5/5
Reviews (1): Last reviewed commit: "fix: normalize kimi anthropic tool paylo..." | Re-trigger Greptile |
|
Manual check: validated against a live Kimi Coding plan account. Ran a small |
625b38c to
e4839d5
Compare
e4839d5 to
f7e4317
Compare
|
My PR #54491 fixed an issue where Kimi tool calls could return empty parameters, and it was merged into main in release v2026.3.31 . After upgrading OpenClaw to v2026.4.2 , I’m hitting a new issue: Kimi no longer works correctly — tool calling doesn’t execute, and the agent replies with the tool call content directly instead of actually running the tool. |
the same issue with v2026.4.2 and kimi/kimi-coding api |
|
@yuanaichi @dorbodwolf I have a follow-up PR up for this fix in #60051 |
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (#59440)
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
|
Can confirm that v2026.3.13 works fine for Kimi Coding tool calling, while 2026.3.7+ and 2026.4.2 still have the regression where tool calls are printed as text instead of being executed. It would be great if this fix could also address the response parsing side, since the current half-fix in 2026.4.2 doesn't fully resolve the issue. |
|
This was fixed on So the regression reported here is not still open on |
|
Thanks for the quick fix and the clarification! Looking forward to the next release. 🦞 |
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
* fix: normalize kimi anthropic tool payloads * fix: normalize kimi anthropic tool payloads (openclaw#59440)
Summary
Fixes #59327
Fixes #54442
Fixes #58817
Fixes #53747
Fixes #56916