Agent constructor
Agent({
- List<
Callback> ? afterAgentCallbacks, - List<
Callback> ? afterModelCallbacks, - List<
Callback> ? afterToolCallbacks, - List<
Callback> ? beforeAgentCallbacks, - List<
Callback> ? beforeModelCallbacks, - List<
Callback> ? beforeToolCallbacks, - List<
String> ? childAgents, - String? createTime,
- String? description,
- String? displayName,
- String? etag,
- String? generatedSummary,
- List<
String> ? guardrails, - String? instruction,
- AgentLlmAgent? llmAgent,
- ModelSettings? modelSettings,
- String? name,
- AgentRemoteDialogflowAgent? remoteDialogflowAgent,
- List<
String> ? tools, - List<
AgentAgentToolset> ? toolsets, - List<
TransferRule> ? transferRules, - String? updateTime,
- List<
String> ? validationErrors,
Implementation
Agent({
this.afterAgentCallbacks,
this.afterModelCallbacks,
this.afterToolCallbacks,
this.beforeAgentCallbacks,
this.beforeModelCallbacks,
this.beforeToolCallbacks,
this.childAgents,
this.createTime,
this.description,
this.displayName,
this.etag,
this.generatedSummary,
this.guardrails,
this.instruction,
this.llmAgent,
this.modelSettings,
this.name,
this.remoteDialogflowAgent,
this.tools,
this.toolsets,
this.transferRules,
this.updateTime,
this.validationErrors,
});