Skip to content

Qwen3 Coder on OpenCode Zen: Tool call metadata being printed to chat instead of actually being called #10855

Closed

Description

@jeremyakers

Description

This might be a duplicate of: #10673 and/or #9674

But the first issue wasn't very clear and the second issue looks more like an issue around prompting the user to answer a question. My issue is just basic file edits are failing:

Image

It's completely stuck here. Every time I try to re-prompt it to try again it fails in the same way.

I'm not sure if the issue is with the Qwen3 model or OpenCode Zen: Once I switching from "Qwen3 Coder on OpenCode Zen" to using "GLM 4.7 via OpenRouter" - the issue stopped occurring.

Plugins

None

OpenCode version

1.1.36

Steps to reproduce

  1. Connect to Qwen3 model on OpenCode Zen
  2. Send any prompt needing to read or edit a file.

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

Gnome Terminal

Activity

  1. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. bi-kai commented on Jan 29, 2026

    @bi-kai

    same issue, with GLM 4.7, this issue comes up quite frequently.

  3. lee-b commented on Jan 30, 2026

    @lee-b

    Yes, it happens with nemotron 3 nano too. I note that, if a tool call attempt is made with invalid parameters, then opencode tells the model that it made a mistake in the tool call, asks it to retry. I believe it should do the same if XML-style tool call attempts are detected.

  4. Mattwmaster58 commented on Feb 1, 2026

    @Mattwmaster58

    Getting this with GLM-4.7 as well. I was on 1.1.28 previous, now on 1.1.48. What I suspect the issue was with continuing a conversation created with an old version. I haven't been able to repro the issue since creating a new conversation

  5. RawthiL commented on Feb 3, 2026

    @RawthiL

    any chance this is related to this vLLM issue? vllm-project/vllm#22975

    I facing this when running a local instance of vLLM and Qwen3-30B and qwen3_xml tool parset. The model just prints the xml of the tool call.

  6. github-actions commented on Apr 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingzenRelates to Zen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions