toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "tool_outputs": List<dynamic>.from(toolOutputs.map((x) => x)),
  "run_id": runId,
  "thread_id": threadId,
};