AS AgentScopeAPI 手册 / API Reference

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
agentIdString智能体标识(类型 `String`)。The agent ID that was not found
源码Source io/agentscope/core/agui/AguiException.java:52–54
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.