AgentNotFoundException
public static class AgentNotFoundException extends AguiException
源码Source
io/agentscope/core/agui/AguiException.java:45–55智能体未找到异常,表示执行过程中的错误。位于 io.agentscope.core.agui 包,继承自 AguiException。核心成员包括 AgentNotFoundException。
Exception thrown when an agent is not found in the registry.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentNotFoundException(String agentId) | 创建新的AgentNotFoundException。 Creates a new AgentNotFoundException. |
构造器详情Constructor Detail
AgentNotFoundException
public AgentNotFoundException(String agentId)
创建新的AgentNotFoundException。
Creates a new AgentNotFoundException.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentId | String | 智能体标识(类型 `String`)。The agent ID that was not found |
源码Source
io/agentscope/core/agui/AguiException.java:52–54