AgentCardConfiguration
@Configuration public class AgentCardConfiguration
源码Source
io/agentscope/runtime/protocol/a2a/configuration/AgentCardConfiguration.java:45–82智能体卡片配置,保存相关配置项。位于 io.agentscope.runtime.protocol.a2a.configuration 包。核心成员包括 agentCard。
AgentCard Configuration.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public AgentCard agentCard(DeployProperties deployProperties, ObjectProvider<ProtocolConfig> protocolConfigs, Runner runner) | 执行智能体卡片相关操作。 Performs the agent card operation. |
方法详情Method Detail
agentCard
public AgentCard agentCard(DeployProperties deployProperties, ObjectProvider<ProtocolConfig> protocolConfigs, Runner runner)
执行智能体卡片相关操作。
Performs the agent card operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
deployProperties | DeployProperties | 部署属性(类型 `DeployProperties`)。The deploy properties. |
protocolConfigs | ObjectProvider<ProtocolConfig> | 协议 Configs(类型 `ObjectProvider`)。The protocol configs. |
runner | Runner | 运行器(类型 `Runner`)。The runner. |
AgentCard返回AgentCard。Returns agent card.
源码Source
io/agentscope/runtime/protocol/a2a/configuration/AgentCardConfiguration.java:48–53