Repository navigation
Description
First of all, thank you for this great agent system.
heres my issue:
I have often encountered the problem that codeBuff simply crashes shortly after starting the task. I don't know what the cause is, but this should be addressed with better error messages. I suspect that it is either incorrect syntax that terminates codeBuff, or error messages from openrouter that trigger an internal error. I only use noneFree openrouter Models
(please first see the attachment file structur for my .agents)
Here's an excerpt from the CLI console
[checkpoint #1 saved]Codebuff:
I need to find LLM benchmarks for “text->text” models from models-list.json. The plan is:
....
- First, read the relevant files (models-list.json, benchmarks.json, etc.)
- Extract the text->text models and collect them in a lean JSON
- Use the web-researcher agent for each model benchmark search
- Save the results in benchmarkResults.json
....
I first read the important files to understand the structure.
....
[Read Files]
models-list.json
benchmarks.json
models-list-slim.json
....
[Read Files]
benchmarks.json
Lassen Sie mich die models-list-slim.json lesen, um die strukturierten
Daten zu sehen:
<codebuff_tool_call>
{
"cb_tool_name": "read_files",
"paths": [
"models-list-slim.json"
],
8 credits used for this request.
###FINSISHED ???
please first see the attachment file structur
.agents.zip
Activity
charleslien commentedon Nov 14, 2025
This is most likely an issue with
handleSteps. You can add logging in handleSteps with theloggerparameter.For example:
dazzafact7 commentedon Nov 15, 2025
ok, thanks. heres the results with logger. It just didn't finish anything; shortly after the thinking process, it closes (see credits result).
terminal logs
dazzafact7 commentedon Nov 15, 2025
Here is another attempt. Could it be that the JSON is repeatedly being truncated at the end??
terminal logs
dazzafact7 commentedon Nov 15, 2025
Okay, I finally figured out that the model “moonshotai/kimi-k2-thinking” was the problem. I replaced it, and now it works!
Please test this, there seems to be a problem with the model!!! Is it because of the “thinking mod”?
jahooma commentedon Mar 21, 2026
Interesting, thanks for working on a PR!
It seems the underlying problem that kimi-k2 is generating tool calls incorrectly? This is common for a lot of smaller models, but especially if the provider is not good. Open router is doing more now to automatically route you to providers that have lower rates of tool call errors.
That said, your change could help in these cases, so I will reply on the PR.
codebuff-team commentedon Aug 22, 2026
Marking this stale - there has been no activity here for 153 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
codebuff-team commentedon Sep 1, 2026
Marking this stale - there has been no activity here for 163 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
11 remaining items
codebuff-team commentedon Oct 19, 2026
Marking this stale - there has been no activity here for 211 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
codebuff-team commentedon Oct 29, 2026
Marking this stale - there has been no activity here for 221 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
codebuff-team commentedon Nov 7, 2026
Marking this stale - there has been no activity here for 230 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
codebuff-team commentedon Nov 17, 2026
Marking this stale - there has been no activity here for 240 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
codebuff-team commentedon Nov 27, 2026
Marking this stale - there has been no activity here for 250 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.