Steps to reproduce
- Use Kimi K3 as the model provider in Cline
- Ask it to review documentation in a repo (e.g., "review the documentation in this repo, and also the ~/.grok .md files")
- Model starts responding with its first thoughts, then fails
Expected behavior
The model should generate valid tool calls (read_file, list_files, etc.) and proceed with the task.
Actual behavior
The model produced three failures in sequence:
- It said: "I'll review the repo documentation and the `~/.grok` markdown files. Let me start by mapping out what exists."
Then immediately:
Invalid API Response: The provider returned an empty or unparsable response. This is a provider-side issue where the model failed to generate valid output or returned tool calls that Cline cannot process. Retrying the request may help resolve this issue. (Request ID: GthmhrqFqIrPGgpDlbKfgsOXhJrfFrwz)
Invalid API Response: The provider returned an empty or unparsable response. This is a provider-side issue where the model failed to generate valid output or returned tool calls that Cline cannot process. Retrying the request may help resolve this issue. (Request ID: WAvBUjkbMYoFhWpdaYblbIBuWjdaYxWy)
Finally:
Cline hit repeated tool call failures. Try guiding it with a new prompt
Additional context
- The response text that preceded the error was valid natural language, not tool call XML. It seems like Kimi K3 may have output text without wrapping it in the expected tool call format, or output malformed XML that Cline couldn't parse.
- The same task works fine with other models (e.g., Claude).
- This appears to be a model/provider-side issue where the model's output doesn't conform to what Cline expects, and Cline's retry mechanism also didn't recover.
Environment
- Cline extension in VS Code on Windows 11
- Model: Kimi K3
Steps to reproduce
Expected behavior
The model should generate valid tool calls (read_file, list_files, etc.) and proceed with the task.
Actual behavior
The model produced three failures in sequence:
Then immediately:
Finally:
Additional context
Environment