Selected work / Case 03

ThinkingLLM

Local multimodal LLM nodes for ComfyUI

An open-source node pack that makes local language-model behavior more controllable and observable inside visual AI workflows.

Type
Public ComfyUI node pack
Focus
Local multimodal LLMs
Role
Maintainer · Product layer
License
GPL-3.0 fork lineage

01 Problem

Local models are powerful, but their behavior can be difficult to see.

Inside a long visual workflow, a language model can appear frozen, expose reasoning where it should not, lose the raw generation trace, or imply support for inputs its selected model cannot actually handle. Debugging becomes guesswork when the interface hides those distinctions.

02 System

Model guidance and runtime visibility built into the nodes.

ThinkingLLM wraps Qwen, Gemma, and Whisper workflows behind a cleaner family of ComfyUI nodes. The interface separates normal and advanced use, provides curated model guidance, and preserves both a cleaned response and the raw generation stream.

01ComfyUI node interface
02Transformers / HF
03GGUF / llama.cpp
04Vision + audio inputs
05Streaming + raw trace
  • 01
    Thinking is an explicit controlEvery language-model node exposes an enable/disable choice instead of making reasoning behavior an undocumented side effect.
  • 02
    Clean output and raw trace stay separateDownstream nodes receive the useful answer while developers can still inspect the original stream for debugging.
  • 03
    Capability labels stay honestDedicated audio nodes and model guidance warn when a selected model is not known to support the connected input.
  • 04
    Decision routing stays configurableName each route and describe what belongs in it; image and text inputs can then select a workflow branch without a stack of conditional nodes.

03 Role

Turning an inherited tool into a more usable maintained product.

I developed the control and guidance layer, expanded model coverage, added streaming and trace behavior, improved platform setup, and documented practical workflows. The repository preserves and names its GPL-3.0 fork lineage from Deaquay, huchukato, and 1038lab rather than presenting inherited work as original.

04 Decision Router

Let a local model route the workflow.

Give the router an image or text input, name each route, and describe what belongs there. A local decision model chooses the matching ComfyUI branch, so only the selected route continues through the workflow.

Supports Clef-Flash 9B, Clef 27B, and OpenJev 27B, with typed Boolean and Integer outputs for downstream logic.

Read the release discussion ↗
ComfyUI capture · Image input → named route

05 Evidence

Real nodes used inside real multimodal workflows.

The public package supports Transformers and GGUF paths, Qwen and Gemma model families, vision inputs, dedicated Gemma audio handling, Whisper transcription, prompt enhancement, live terminal streaming, and raw trace outputs.

ThinkingLLM nodes showing model controls, streaming, and raw trace outputs
Actual ComfyUI workflow with ThinkingLLM standard, advanced, and prompt-enhancer nodes.
Next case studyComfy Rail