类的用途(Uses of the Class)
com.google.adk.agents.BaseAgentConfig
Packages that use BaseAgentConfig
-
**用途:** BaseAgentConfig 在……里面;处于……状态 com.google.adk.agents
Subclasses of BaseAgentConfig in com.google.adk.agentsModifier and TypeClassDescriptionclassLlmAgent 的配置信息。classLoopAgent 的配置信息。classParallelAgent 的配置信息。classSequentialAgent 的配置信息。Methods in com.google.adk.agents with parameters of type BaseAgentConfigModifier and TypeMethodDescriptionstatic BaseAgentBaseAgent.fromConfig(BaseAgentConfig config, String configAbsPath) 根据一个配置对象创建一个新的代理实例。static voidConfigAgentUtils.resolveAndSetCommonAgentFields(BaseAgent.Builder<?> builder, BaseAgentConfig config, String configAbsPath) 根据配置文件来设置代理构建器(agent builder)的通用属性。static voidConfigAgentUtils.setBaseAgentCallbacks(BaseAgentConfig config, Consumer<com.google.common.collect.ImmutableList<com.google.adk.agents.Callbacks.BeforeAgentCallbackBase>> beforeSetter, Consumer<com.google.common.collect.ImmutableList<com.google.adk.agents.Callbacks.AfterAgentCallbackBase>> afterSetter) 将配置文件中定义的通用代理回调函数(代理执行前/执行后的回调函数)设置到构建器的相应设置项中。