ComfyUI Node
LLM Route Decision (local or cloud, calls no LLM)
Scores prompt complexity (length + keywords) and returns the route 'local' or 'cloud' plus the prompt prefixed with [LOCAL] or [CLOUD]. It calls no LLM and produces no answer.
LLM Route Decision (local or cloud, calls no LLM)
- route
- tagged_prompt
◄task_prompt►
◄complexity_threshold0.50►
◄resource_guard_oktrue►
CategoryParametric/Agents
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| task_prompt | STRING | Task prompt. | |
| complexity_threshold | FLOAT | 0.500–1 | Complexity threshold. From 0 to 1. Default 0.5. |
| resource_guard_okopt | BOOLEAN | true | Resource guard ok. Default True. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| route | STRING | — |
| tagged_prompt | STRING | — |