Image Pipeline Playground
feat(backend/engine): add duration_ms to execution events
Mohammad Rajaeiaaea27b042fb
diff --git a/backend/app/models/graph.py b/backend/app/models/graph.pyindex b802699..0fe61e5 100644--- a/backend/app/models/graph.py+++ b/backend/app/models/graph.py@@ -67,6 +67,7 @@ class ExecutionEvent(BaseModel):image_b64: str | None = Nonesample_index: int | None = Nonecache_hit: bool | None = None+ duration_ms: float | None = Nonedata: dict[str, Any] | None = Nonediff --git a/frontend/src/types/graph.ts b/frontend/src/types/graph.tsindex c1dd27f..ccbd99b 100644--- a/frontend/src/types/graph.ts+++ b/frontend/src/types/graph.ts@@ -71,4 +71,5 @@ export interface ExecutionEvent {image_b64?: string | nullsample_index?: number | nullcache_hit?: boolean | null+ duration_ms?: number | null}