Agent constructor

Agent({
  1. List<Callback>? afterAgentCallbacks,
  2. List<Callback>? afterModelCallbacks,
  3. List<Callback>? afterToolCallbacks,
  4. List<Callback>? beforeAgentCallbacks,
  5. List<Callback>? beforeModelCallbacks,
  6. List<Callback>? beforeToolCallbacks,
  7. List<String>? childAgents,
  8. String? createTime,
  9. String? description,
  10. String? displayName,
  11. String? etag,
  12. String? generatedSummary,
  13. List<String>? guardrails,
  14. String? instruction,
  15. AgentLlmAgent? llmAgent,
  16. ModelSettings? modelSettings,
  17. String? name,
  18. AgentRemoteDialogflowAgent? remoteDialogflowAgent,
  19. List<String>? tools,
  20. List<AgentAgentToolset>? toolsets,
  21. List<TransferRule>? transferRules,
  22. String? updateTime,
  23. 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,
});