You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The issue of execution being interrupted when integrating with Trae and other development tools. #2200
Sometimes, after a few rounds of tool_call, it just stops. Strata doesn't take any action, and the IDE doesn't take any action either. I suspect it's a problem with tool_call.
I saw this project: https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates
Could it be that the official Jinja template isn't robust enough?
changed the title [-]接入Trae等开发工具执行中断的问题[/-][+]The issue of execution being interrupted when integrating with Trae and other development tools.[/+]on Oct 13, 2026
Thanks @lonestonewy and @chanverlao. To tell what stops, we need the server's log of one such turn (the terminal output, or strata-<model>.log next to the config) and the Strata version. Two known causes of "it just stops after some tool calls" are close to this:
A reply that ends inside its thinking with no answer or call. The log then shows ended_inside_thinking.
On the template: Strata does not use the GGUF's own Jinja template. The server ships its own (serve/chat_template.jinja), and the fixes in the repository you link are already in it or do not apply. If the log shows the model writing a call in another form (JSON, or a call without <tool_call>), try "tool_call_recovery": true in strata-<model>.json.
Activity
[-]接入Trae等开发工具执行中断的问题[/-][+]The issue of execution being interrupted when integrating with Trae and other development tools.[/+]chanverlao commentedon Oct 13, 2026
我也碰到同样的问题
lonestonewy commentedon Oct 13, 2026
替换这个模板后,效果很好了
Niko1221 commentedon Oct 13, 2026
Thanks @lonestonewy and @chanverlao. To tell what stops, we need the server's log of one such turn (the terminal output, or
strata-<model>.lognext to the config) and the Strata version. Two known causes of "it just stops after some tool calls" are close to this:<tool_call>,</tool_call>,<tool_response>or</tool_response>used to reach the model as the real special tokens. The model could then end its turn early with an empty reply (Strata v0.1.43 returns an empty final response when a specific string appears in the model's thinking output #2026). 0.1.43.1 fixed</tool_call>; 0.1.44 covers the other three too.ended_inside_thinking.On the template: Strata does not use the GGUF's own Jinja template. The server ships its own (
serve/chat_template.jinja), and the fixes in the repository you link are already in it or do not apply. If the log shows the model writing a call in another form (JSON, or a call without<tool_call>), try"tool_call_recovery": trueinstrata-<model>.json.