Agent<IDENTITY extends Role> constructor

const Agent<IDENTITY extends Role>(
  1. String name, {
  2. required String id,
  3. String? allowedTools,
  4. bool yolo = true,
  5. String? model,
  6. bool headless = true,
  7. required IDENTITY identity,
  8. Workflow? workflow,
})

Implementation

const Agent(
  super.name, {
  required super.id,
  super.allowedTools,
  super.yolo = true,
  super.model,
  super.headless = true,
  required this.identity,
  this.workflow,
});