The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove auth tokens from history storage (#8889)
Christian Byrne480375f3495e
diff --git a/execution.py b/execution.pyindex 90cefc023..bd638afba 100644--- a/execution.py+++ b/execution.py@@ -1045,6 +1045,12 @@ class PromptQueue:if status is not None:status_dict = copy.deepcopy(status._asdict())+ # Remove auth tokens from extra_data before storing in history+ if "auth_token_comfy_org" in prompt[3]:+ del prompt[3]["auth_token_comfy_org"]+ if "api_key_comfy_org" in prompt[3]:+ del prompt[3]["api_key_comfy_org"]+self.history[prompt[1]] = {"prompt": prompt,"outputs": {},