A2aAgentConfig
public record A2aAgentConfig( @SuppressWarnings("rawtypes") Map<Class, ClientTransportConfig> clientTransports, ClientConfig clientConfig)
源码Source
io/agentscope/core/a2a/agent/A2aAgentConfig.java:28–82A2A 智能体的配置。位于 io.agentscope.core.a2a.agent 包。核心成员包括 clientTransports、clientConfig、builder。
Config of A2A Agent.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
clientTransports | Map<Class, ClientTransportConfig> | 执行 `clientTransports` 方法。 Performs the client transports operation. |
clientConfig | ClientConfig | 执行客户端配置相关操作。 Performs the client config operation. |
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
A2aAgentConfigBuilder | 类class | A 2 a 智能体配置构建器,用于构建并配置目标实例。 A class in io.agentscope.core.a2a.agent that supports discovery, delegation and collaboration between agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static A2aAgentConfigBuilder builder()static | 创建新的构建器实例用于 A2aAgentConfig。 Create a new builder instance for A2aAgentConfig. |
记录组件详情Record Component Detail
clientTransports
Map<Class, ClientTransportConfig> clientTransports执行 clientTransports 方法。
Performs the client transports operation.
源码Source
io/agentscope/core/a2a/agent/A2aAgentConfig.java:28–82clientConfig
ClientConfig clientConfig执行客户端配置相关操作。
Performs the client config operation.
源码Source
io/agentscope/core/a2a/agent/A2aAgentConfig.java:28–82方法详情Method Detail
builder
public static A2aAgentConfigBuilder builder()
static
创建新的构建器实例用于 A2aAgentConfig。
Create a new builder instance for A2aAgentConfig.
A2aAgentConfigBuilder返回A2aAgentConfigBuilder。new builder instance
源码Source
io/agentscope/core/a2a/agent/A2aAgentConfig.java:37–39嵌套类详情Nested Class Detail
A2aAgentConfigBuilder
public static class A2aAgentConfigBuilderA 2 a 智能体配置构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.agent 包。核心成员包括 withTransport、clientConfig、build、A2aAgentConfigBuilder。
A class in io.agentscope.core.a2a.agent that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.agent.