Nodes/ComfyUI-Agent-Bridge/Agent Variant Switch
ComfyUI Node

Agent Variant Switch

Pick one of N candidates (models, latents, images, conditionings…). Only the selected branch runs. The pick and its label are recorded for the agent.

By abuzreq·Created 3 days ago·Updated 3 days ago· 1
Agent Variant Switch
  • candidates
  • selected
  • index
  • label
◄selected1►
◄labels►
Categoryagent_bridge

Inputs (3)

NameTypeDefaultDescription
candidatesCOMFY_AUTOGROW_V3—
selectedINT11–101-based index of the connected candidate to pass on
labelsSTRINGOne label per line, in candidate order (shown as radio buttons)

Outputs (3)

NameTypeDescription
selectedCOMFY_MATCHTYPE_V3—
indexINT—
labelSTRING—