类:BaseAgentConfig.AgentRefConfig
java.lang.Object
com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- Enclosing class:
BaseAgentConfig
用于引用其他代理(子代理)的配置信息。支持两种引用方式:基于配置文件的引用(YAML 文件)以及通过代码注册表进行的程序化引用。
-
构造函数概述
Constructors -
方法概述
-
构造函数详细信息
-
AgentRefConfig
public AgentRefConfig() -
AgentRefConfig
用于基于配置的代理引用的构造函数。- Parameters:
configPath- The path to the subagent's config file
-
-
方法详细信息(Method Details)
-
configPath
-
setConfigPath
-
code
-
setCode
-