AgentDisplayInfo constructor
const
AgentDisplayInfo({
- required String id,
- required String name,
- required String role,
- required String model,
- required AgentDisplayStatus status,
- String? currentTask,
- double? progress,
- Duration? elapsed,
- int tokensUsed = 0,
- double cost = 0.0,
- List<
AgentLogEntry> logs = const [], - 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 [],
});