AiRun constructor
AiRun({})
Implementation
AiRun({
required this.id,
required this.agentName,
required this.goal,
this.userId,
this.tenantId,
this.threadId,
this.status = AiRunStatus.pending,
Map<String, dynamic>? state,
List<AiEvent>? events,
this.output,
}) : state = Map<String, dynamic>.from(state ?? const {}),
events = List<AiEvent>.from(events ?? const []);