Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Send websocket message with list of cached nodes right before execution.

comfyanonymous3a7c3acc7243
diff --git a/execution.py b/execution.py
index 7ee038975..7d18d3b65 100644
--- a/execution.py
+++ b/execution.py
@@ -169,6 +169,8 @@ class PromptExecutor:
recursive_output_delete_if_changed(prompt, self.old_prompt, self.outputs, x)
current_outputs = set(self.outputs.keys())
+ if self.server.client_id is not None:
+ self.server.send_sync("execution_cached", { "nodes": list(current_outputs) }, self.server.client_id)
executed = set()
try:
to_execute = []