Skip to content

Commit 136c93c

Browse files
Fix bug with workflow not registering change.
There was an issue when only the class type of a node changed with all the inputs staying the same.
1 parent 1305fb2 commit 136c93c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

execution.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ def recursive_output_delete_if_changed(prompt, old_prompt, outputs, current_item
247247
to_delete = True
248248
elif unique_id not in old_prompt:
249249
to_delete = True
250+
elif class_type != old_prompt[unique_id]['class_type']:
251+
to_delete = True
250252
elif inputs == old_prompt[unique_id]['inputs']:
251253
for x in inputs:
252254
input_data = inputs[x]

0 commit comments

Comments
 (0)