Skip to content

qwen-code finishes session abruptly after trying to call a tool #2449

@nae104150

Description

@nae104150

What happened?

A session with any model finishes abruptly after trying to call a tool. I tried several models from different providers like qwen/qwen3-coder-plus from Alibaba, qwen/qwen3-coder-next and from DeepInfra, and finally moonshotai/kimi-k2.5. The behaviour is same. Please, take a look at the screenshot

Image

What did you expect to happen?

The session doesn't finish abruptly and the agent continues to call tools.

Client information

Qwen Code: 0.12.6 (ac30c98)
Runtime: Node.js v22.18.0 / npm 10.9.3
OS: linux x64 (6.17.0-14-generic)
Auth: API Key - openai
Base URL: https://openrouter.ai/api/v1
Model: moonshotai/kimi-k2.5
Session ID: 266edd6d-2fdd-400f-af10-668b9f028f74
Sandbox: no sandbox
Proxy: no proxy
Memory Usage: 254.2 MB

Login information

No response

Anything else we need to know?

The behaviour is the same on Ubuntu and MacOS.
A couple of days earlier the agent worked without any issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions