FixedAgentCardProducerBuilder
public static class FixedAgentCardProducerBuilder
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:41–53Fixed 智能体卡片生产者构建器,用于构建并配置目标实例。位于 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.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public FixedAgentCardProducerBuilder agentCard(AgentCard agentCard) | 设置智能体卡片。 Performs the agent card operation. |
public FixedAgentCardResolver build() | 构建并返回最终实例。 Creates and returns an instance. |
方法详情Method Detail
agentCard
public FixedAgentCardProducerBuilder agentCard(AgentCard agentCard)
设置智能体卡片。
Performs the agent card operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentCard | AgentCard | 智能体卡片(类型 `AgentCard`)。The agent card. |
FixedAgentCardProducerBuilder返回FixedAgentCardProducerBuilder。Returns fixed agent card producer builder.
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:45–48build
public FixedAgentCardResolver build()
构建并返回最终实例。
Creates and returns an instance.
FixedAgentCardResolver返回FixedAgentCardResolver。Returns fixed agent card resolver.
源码Source
io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:50–52