Skip to content

The issue of execution being interrupted when integrating with Trae and other development tools. #2200

Closed

Description

@lonestonewy

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?

Activity

  1. changed the title [-]接入Trae等开发工具执行中断的问题[/-] [+]The issue of execution being interrupted when integrating with Trae and other development tools.[/+] on Oct 13, 2026
  2. chanverlao commented on Oct 13, 2026

    @chanverlao

    我也碰到同样的问题

  3. lonestonewy commented on Oct 13, 2026

    @lonestonewy
    Author

    替换这个模板后,效果很好了

  4. Niko1221 commented on Oct 13, 2026

    @Niko1221
    Owner

    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:

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions