Skip to content

Subagent tool doesn't report error message to the main agent #13597

Description

@Lancelotbronner

What happened?

The subagent failed due to the time limit on execution but the main agent only received "subagent execution failed", leading it to test the tool and keep retrying rather than increasing the runtime limit of the agent.

What did you expect to happen?

The main agent should receive the actual error message rather than a general "execution failed".

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

Qwen Code
0.25.0
Runtime
Node.js v22.20.0
OS
darwin arm64 (27.2.0)
Auth
API Key - openai
Base URL
http://localhost:1236/v1
Model
mtplx-qwen38-27b-optimized-speed(openai)
Fast Model
openai:systemhttp://localhost:1976/v1
Sandbox
no sandbox
Proxy
no proxy
Memory Usage
151.0 MB

Login information

No response

Anything else we need to know?

No response

Activity

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

Metadata

Metadata

Assignees

Labels

category/coreCore engine and logicpriority/P2Medium - Moderately impactful, noticeable problemroadmap/subagents-toolsRoadmap: Subagents and tool systemscope/coretype/bugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions