Nodes/ComfyUI-LLM-Session/LLM Dialogue Cycle (Simple)
ComfyUI Node

LLM Dialogue Cycle (Simple)

Run a two-model dialogue cycle with minimal UI; defaults are configurable via JSON.

By kantan-kanto·Created 7 months ago·Updated about a month ago· 27
LLM Dialogue Cycle (Simple)
    • transcript_text
    initial_user_text
    system
    systemA
    systemB
    session_iddefault
    cycles1
    modelA(No GGUF models found in models/LLM/)
    modelB(No GGUF models found in models/LLM/)
    history_dir
    config_path
    force_text_onlyfalse
    reset_sessionfalse
    CategoryLLM/Session

    Inputs (12)

    NameTypeDefaultDescription
    initial_user_textSTRINGInitial user message (sent to Model A only).
    systemSTRINGShared system prompt. Leave empty to use config/default.
    systemASTRINGSystem prompt override for Model A. Leave empty to use config/default.
    systemBSTRINGSystem prompt override for Model B. Leave empty to use config/default.
    session_idSTRINGdefaultSession id. A uses {id}_A, B uses {id}_B.
    cyclesINT11–100Number of turns. 1 = A then B.
    modelACOMBO(No GGUF models found in models/LLM/)GGUF model for role A
    modelBCOMBO(No GGUF models found in models/LLM/)GGUF model for role B
    history_dirSTRINGDirectory to store histories, summaries, transcript, and session-scoped disk caches. Empty uses ComfyUI output.
    config_pathoptSTRINGOptional path to a JSON config file. If empty, uses <node_dir>/config/simple_defaults.json.
    force_text_onlyoptBOOLEANfalseDisables mmproj auto-detect. For current text-only dialogue, use True.
    reset_sessionoptBOOLEANfalseIf true, overwrite existing session history with a fresh session. Session disk cache is kept.

    Outputs (1)

    NameTypeDescription
    transcript_textSTRING