mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2200] The issue of execution being interrupted when integrating with Trae and other development tools. #877
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#877
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lonestonewy on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/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?
@chanverlao commented on GitHub (Oct 13, 2026):
我也碰到同样的问题
@lonestonewy commented on GitHub (Oct 13, 2026):
替换这个模板后,效果很好了
@Niko1221 commented on GitHub (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 (#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.