AgentCardResolver
public interface AgentCardResolver
源码Source
io/agentscope/core/a2a/agent/card/AgentCardResolver.java:24–33A2A的解析器用于 AgentCard。位于 io.agentscope.core.a2a.agent.card 包。核心成员包括 getAgentCard。
The Resolver for AgentCard of A2A.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public AgentCard getAgentCard(String agentName) | 获取智能体卡片。 Produce AgentCard for target agent name. |
方法详情Method Detail
getAgentCard
public AgentCard getAgentCard(String agentName)
获取智能体卡片。
Produce AgentCard for target agent name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentName | String | 智能体的名称。name of agent |
AgentCard返回AgentCard。`AgentCard`
源码Source
io/agentscope/core/a2a/agent/card/AgentCardResolver.java:32