agentscope-ai / agentscope-ai/agentscope-java
[Feature]: Message and Status Delivery when using agent as a tool
未关闭
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 还没有评估数据。