AgentDisplayInfo constructor

const AgentDisplayInfo({
  1. required String id,
  2. required String name,
  3. required String role,
  4. required String model,
  5. required AgentDisplayStatus status,
  6. String? currentTask,
  7. double? progress,
  8. Duration? elapsed,
  9. int tokensUsed = 0,
  10. double cost = 0.0,
  11. List<AgentLogEntry> logs = const [],
  12. List<TaskDisplayInfo> tasks = const [],
})

Implementation

const AgentDisplayInfo({
  required this.id,
  required this.name,
  required this.role,
  required this.model,
  required this.status,
  this.currentTask,
  this.progress,
  this.elapsed,
  this.tokensUsed = 0,
  this.cost = 0.0,
  this.logs = const [],
  this.tasks = const [],
});