ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Add context windows callback for custom cond handling

Open drozbay opened this issue 2 weeks ago • 1 comments

Add a callback handler for the resize_cond_item function that can be used to perform custom slicing of any conditioning item for proper use in context windows.

drozbay avatar Dec 09 '25 14:12 drozbay

An example implementation of the use of these hooks can be found in my nodes ComfyUI-WanVaceAdvanced.

Find the workflow itself here

https://github.com/user-attachments/assets/077fb98f-5926-4867-8c21-6393c5d78e75

drozbay avatar Dec 12 '25 21:12 drozbay