feat(ui): handle enriched events

This commit is contained in:
psychedelicious
2024-05-23 15:21:01 +10:00
parent 1e622a5706
commit aa329ea811
4 changed files with 23 additions and 7 deletions

View File

@@ -116,7 +116,8 @@ export type InvocationErrorEvent = {
node: BaseNode;
source_node_id: string;
error_type: string;
error: string;
error_message: string;
error_traceback: string;
};
/**
@@ -187,7 +188,9 @@ export type QueueItemStatusChangedEvent = {
batch_id: string;
session_id: string;
status: components['schemas']['SessionQueueItemDTO']['status'];
error: string | undefined;
error_type?: string | null;
error_message?: string | null;
error_traceback?: string | null;
created_at: string;
updated_at: string;
started_at: string | undefined;