AI_InvalidToolInputError: Invalid input for tool glob for kimi k2 #789

Closed
opened 2026-02-16 17:28:19 -05:00 by yindo · 4 comments
Owner

Originally created by @hujianxin on GitHub (Jul 18, 2025).

Originally assigned to: @thdxr on GitHub.

Image
Originally created by @hujianxin on GitHub (Jul 18, 2025). Originally assigned to: @thdxr on GitHub. <img width="2688" height="1560" alt="Image" src="https://github.com/user-attachments/assets/1eb31994-f682-47cd-8c6e-afb434ba144c" />
yindo closed this issue 2026-02-16 17:28:19 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 18, 2025):

k2 sometimes generates invalid params to tool calls - here it sent things as a string, some of these models do not reliably produce json

@thdxr commented on GitHub (Jul 18, 2025): k2 sometimes generates invalid params to tool calls - here it sent things as a string, some of these models do not reliably produce json
Author
Owner

@hujianxin commented on GitHub (Jul 18, 2025):

@thdxr It's weird that the kimi from moonshot works like a charm but kimi from openrouter or siliconflow have lots of problem

@hujianxin commented on GitHub (Jul 18, 2025): @thdxr It's weird that the kimi from moonshot works like a charm but kimi from openrouter or siliconflow have lots of problem
Author
Owner

@hujianxin commented on GitHub (Jul 18, 2025):

@thdxr I buy lots of token from siliconflow, now I can only use it in RooCode, because RooCode doesn't use function calling

@hujianxin commented on GitHub (Jul 18, 2025): @thdxr I buy lots of token from siliconflow, now I can only use it in RooCode, because RooCode doesn't use function calling
Author
Owner

@lucyfer81 commented on GitHub (Aug 2, 2025):

@hujianxin , can you help me to configure ciliconflow ? it always prompt says error 400 , with model not exists, which I believe I used the correct one.

@lucyfer81 commented on GitHub (Aug 2, 2025): @hujianxin , can you help me to configure ciliconflow ? it always prompt says error 400 , with model not exists, which I believe I used the correct one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#789