VykosX / ControlFlowUtils

Custom nodes for ComfyUI to enable flow control with advanced loops, conditional branching, logic operations and several other nifty utilities to enhance your ComfyUI workflows
GNU General Public License v3.0
70 stars 4 forks source link

Type mismatch on loops #5

Open rjgoif opened 1 month ago

rjgoif commented 1 month ago

I am getting a type mismatch error whenever I do a loop either using this package or a few others that offer looping:

Here is a simple Flux workflow that causes the error. Not sure why there is another type called "latent_image" when (in my experience) comfy node input/output types are all caps calls, e.g. LATENT.

loop error

VykosX commented 1 month ago

That seems like a proper ComfyUI issue if anything. Try using a Wait node with a delay of 0 or any of the other nodes in my pack that have a passthrough input/output in between the loop and the sampler and see if the TYPE_ANY cast fixes the issue.