Skip to content

[Feature]: Message and Status Delivery when using agent as a tool #818

@StevenZhang2002

Description

@StevenZhang2002

This problem is discovered when I try to implement HITL within the subagent.
The way I handle it is to stop the agent and throw an exception when marked tools is about to use.
The exception is a signal to remind the frontend to have corresponding action.
However, the exception would not be correctly forward to the supervisor agent thus couldn't be handled by the exception handler.
One of the potential solution for now could be using both orchestration agent framework to do the handoff and use AgentScope to implement the subagent. But this doesn't seem to be an efficient way.
Hence, I am wondering if there's way to handle this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions