Skip to content

Fix/text input model nodes to expand to model nodes#203

Open
iammojogo-sudo wants to merge 4 commits into
lightningpixel:devfrom
iammojogo-sudo:fix/text-input-model-nodes
Open

Fix/text input model nodes to expand to model nodes#203
iammojogo-sudo wants to merge 4 commits into
lightningpixel:devfrom
iammojogo-sudo:fix/text-input-model-nodes

Conversation

@iammojogo-sudo

Copy link
Copy Markdown
Contributor

The Text node has been in the node palette for a while and stores text output fine, but model-type extensions (like my HunyuanDiT t2i) never actually received that text — the runner only sent images. If you wired a Text node into a model it would just throw "No input image selected" and never run.

This PR:

Checks the extension's declared input type — if it's "text", skip the image requirement and send a minimal placeholder instead (the extension ignores it anyway).
Passes the text from any connected source into params["prompt"] so the API gets the prompt.
The multi-input handle routing (input-0, input-1, etc.) that was already in place now also captures nodeInputText from connected sources, so this works for both single and multi-input model nodes.
NOTE: Includes changes also from #193

@iammojogo-sudo iammojogo-sudo changed the base branch from main to dev June 23, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant