Skip to content

Conversation

@hksdpc255
Copy link
Contributor

@hksdpc255 hksdpc255 commented Nov 19, 2025

Kimi-K2 still appears to have issues with tool-call parsing.

However, the model is too large to run on my hardware, even with the most aggressive quantization, so I’m currently unable to reproduce or test the problem myself.

This PR is therefore left as a draft to collect community bug reports and reproduction cases.
I will work on fixing all parser-related issues as soon as actionable information becomes available.

Closes #17155.

@github-actions github-actions bot added the testing Everything test related label Nov 19, 2025
@hksdpc255 hksdpc255 changed the title Fix Kimi-K2 tool-call parsing issues (community investigation needed) Fix Kimi-K2 tool-call parsing issues (help wanted) Nov 20, 2025
@fernandaspets
Copy link

seems to work. i've been using the copy of this PR in ik_llama.cpp and it solved the problems I was having with Roo Code not working after they hardcoded openai compatible endpoints to use native tool calling instead of XML style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Kimi-K2-Thinking reasoning and tool calling support

2 participants