From 0c874e604ce5e715e0ceac53c58cf8d4be5f7628 Mon Sep 17 00:00:00 2001 From: ssit Date: Mon, 12 Jun 2023 17:16:03 -0400 Subject: [PATCH] Fix unhandled message "execution_cached" --- web/scripts/api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/scripts/api.js b/web/scripts/api.js index 8313f1ab..d7d28fbe 100644 --- a/web/scripts/api.js +++ b/web/scripts/api.js @@ -120,6 +120,9 @@ class ComfyApi extends EventTarget { case "execution_error": this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data })); break; + case "execution_cached": + this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data })); + break; default: if (this.#registered.has(msg.type)) { this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));