From 7b77a0d305c522d72138db929f6c9236d487ec7e Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Tue, 4 Nov 2025 16:58:34 -0800 Subject: [PATCH] Add workaround in validation.py for V3 Combo outputs not working as Combo inputs --- comfy_execution/validation.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/comfy_execution/validation.py b/comfy_execution/validation.py index cec105fc9..1cd73f0ca 100644 --- a/comfy_execution/validation.py +++ b/comfy_execution/validation.py @@ -23,6 +23,13 @@ def validate_node_input( if not received_type != input_type: return True + # If input_type is a Combo, frontend permits a Combo output to be connected, + # but it is defined as a tuple of values with V3 schema. + # This probably should be dealt with sending one thing to the frontend and another to the backend, + # but this will do for now. + if input_type == "COMBO" and isinstance(received_type, tuple): + return True + # Not equal, and not strings if not isinstance(received_type, str) or not isinstance(input_type, str): return False