Nodes/ComfyUI-RvTools_v2/Conditioning Switch
ComfyUI Node

Conditioning Switch

Pick between two prompt encodings without rewiring

By r-vage·Created about a year ago·Updated 5 months ago· 23
Conditioning Switch
  • input1
  • input2
  • c
â—„Input1â–ş

Conditioning Switch [RvTools] is a two-input switch for CONDITIONING data - the tensors that come out of CLIP Text Encode and go into the sampler. Select 1 or 2, and the matching conditioning flows to your KSampler. It exists because conditioning is the single most-switched thing in real workflows: you want to A/B two prompts, swap positive text per group, or toggle between a styled prompt and a plain one without unplugging a single wire.

Why you'd reach for it

Prompts are where you iterate, so prompt swapping is where switches earn their keep. Rather than duplicating an entire sampler chain for two variants, you encode both prompts and let this node pick which one reaches the sampler. Combined with the pack's group-bypass style - build a group per variant, bypass what you're not using - you get a workflow where "which prompt ran" is a single switch position.

The README spells out the behavior that makes it workflow-friendly: bypassed, the node sends input1; enabled, it sends input2. So you can mute the switch to force variant 1 and un-mute for variant 2. That's the same semantics as the other RvTools switches, which keeps muscle memory consistent across the pack.

How it works

Trivial selection: Input is an INT that can be 1 or 2; the node returns input1 or input2 accordingly. Both sockets are typed CONDITIONING, so only the output of a text encoder (or a conditioning combine) will connect. The output is a single CONDITIONING value ready for a KSampler's positive or negative input.

Inputs: Input (1 or 2), input1 and input2 (CONDITIONING, optional).

Output: c - the selected conditioning.

Install

Standard RvTools install:

  • ComfyUI Manager → search "RvTools" → install ComfyUI-RvTools_v2 → restart.
  • Or: cd ComfyUI/custom_nodes && git clone https://github.com/r-vage/ComfyUI-RvTools_v2, then restart.

No models or downloads; pack-wide deps (OpenCV, pilgram) install with it regardless.

Gotchas

A couple of things trip people up. First, an unconnected input returns None, and feeding None into a sampler errors - the switch does not fall back to anything. If you're mid-edit and the graph breaks, the missing wire is usually it. Second, the switch is a fork of the Comfyroll switch design, so if a workflow you grabbed came from Comfyroll conventions, the Input numbering matches.

And the standing pack caveat applies here too: RvTools v1 vanished from GitHub in early 2025, breaking saved graphs and sending people hunting for the folder on Mega to copy between installs. v2 is the renamed re-release (all node names changed - that's the entire point of the v2 version). The pack is now deprecated in favor of ComfyUI_Eclipse. A conditioning switch is a ten-second remap, but old workflows won't do it for you.

Category🫦 RvTools II/ Switches

Inputs (3)

NameTypeDefaultDescription
InputINT11–2—
input1optCONDITIONING—
input2optCONDITIONING—

Outputs (1)

NameTypeDescription
cCONDITIONING—