FixedAgentCardResolver
public class FixedAgentCardResolver implements AgentCardResolver
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:24–54Fixed 智能体卡片解析器,支持智能体之间的发现、委派与协作。位于 io.agentscope.core.a2a.agent.card 包,实现 AgentCardResolver。核心成员包括 getAgentCard、builder。
Agent Card Producer for Fixed AgentCard.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
FixedAgentCardProducerBuilder | 类class | Fixed 智能体卡片生产者构建器,用于构建并配置目标实例。 A class in io.agentscope.core.a2a.agent.card that supports discovery, delegation and collaboration between agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public AgentCard getAgentCard(String agentName) | 获取智能体卡片。 Returns the agent card. |
public static FixedAgentCardProducerBuilder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
getAgentCard
public AgentCard getAgentCard(String agentName)
获取智能体卡片。
Returns the agent card.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentName | String | 智能体名称(类型 `String`)。The agent name. |
AgentCard返回AgentCard。Returns agent card.
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:32–35builder
public static FixedAgentCardProducerBuilder builder()
static
返回构建器实例。
Returns the builder.
FixedAgentCardProducerBuilder返回FixedAgentCardProducerBuilder。Returns fixed agent card producer builder.
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:37–39嵌套类详情Nested Class Detail
FixedAgentCardProducerBuilder
public static class FixedAgentCardProducerBuilderFixed 智能体卡片生产者构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.agent.card 包。核心成员包括 agentCard、build。
A class in io.agentscope.core.a2a.agent.card that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.agent.card.