GptRun constructor
GptRun({
- required String id,
- String object = "thread.run",
- required String threadId,
- required String assistantId,
- required int createdAt,
- required List<
String> fileIds, - required Map<
String, dynamic> metadata, - GptRunRequiredAction? requiredAction,
- required String instructions,
- required String model,
- required GptRunStatus status,
- int? cancelledAt,
- int? completedAt,
- int? expiresAt,
- int? failedAt,
- GptRunError? lastError,
- int? startedAt,
- required List<
AssistantTool> tools,
Implementation
GptRun({ required this.id, this.object = "thread.run", required this.threadId, required this.assistantId, required this.createdAt, required this.fileIds, required this.metadata, this.requiredAction, required this.instructions, required this.model, required this.status, this.cancelledAt, this.completedAt, this.expiresAt, this.failedAt, this.lastError, this.startedAt, required this.tools});