agentscope-ai / agentscope-ai/agentscope-java

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

未关闭
#818 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/core/agent enhancement
主要语言
Java
星标
5.6k
派生
1.3k
平均合并
4 天 12 小时
30 天内合并 PR
77

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。