Skip to content

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

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

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

Conversation

@iammojogo-sudo

@iammojogo-sudo iammojogo-sudo commented Jun 23, 2026

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.

@iammojogo-sudo iammojogo-sudo changed the base branch from main to dev June 23, 2026 00:31
@iammojogo-sudo iammojogo-sudo changed the title Fix/text input model nodes to expand to model nodes Fix/text input node output to expand to model nodes Jun 23, 2026
@iammojogo-sudo iammojogo-sudo force-pushed the fix/text-input-model-nodes branch from 4b59454 to b07b694 Compare June 24, 2026 18:17
@iammojogo-sudo iammojogo-sudo force-pushed the fix/text-input-model-nodes branch from b07b694 to e89bb23 Compare June 24, 2026 18:41
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