AS AgentScopeAPI 手册 / API Reference

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
deployPropertiesDeployProperties部署属性(类型 `DeployProperties`)。The deploy properties.
protocolConfigsObjectProvider<ProtocolConfig>协议 Configs(类型 `ObjectProvider`)。The protocol configs.
runnerRunner运行器(类型 `Runner`)。The runner.
返回Returns AgentCard
返回AgentCard。Returns agent card.
源码Source io/agentscope/runtime/protocol/a2a/configuration/AgentCardConfiguration.java:48–53
基于官方固定版本源码静态生成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.