Nodes/ComfyUI-Session-Memory/πŸ—‘οΈ (DEPRECATED) Session ID Selector
ComfyUI Node

πŸ—‘οΈ (DEPRECATED) Session ID Selector

You can skip this one β€” it's the deprecated session picker

By LatentnautΒ·Created 5 months agoΒ·Updated 5 months agoΒ· 0
πŸ—‘οΈ (DEPRECATED) Session ID Selector
    • session_id
    β—„existing_sessiondefaultβ–Ί
    β—„new_session_namenew_sessionβ–Ί

    The display name says it all: πŸ—‘οΈ (DEPRECATED) Session ID Selector. This is the pack's original session-picker node, and in current builds you should almost certainly not use it. It still ships because removing a node breaks every saved workflow that references it, but it's a legacy artifact - a leftover from before the Session Memory Reader grew the same functionality built in.

    If you're on a fresh workflow, that's the whole article: skip it, use the Reader's dropdown instead, and save yourself a node and a wire.

    What it does

    In its day it was simple: a dropdown listing every session already on disk plus a [CREATE NEW] option, and a text box for the new session's name. Pick one and it output a session_id string you could feed into the Reader and Writer so all three nodes agreed on which session file to use. That's a genuinely useful job - mismatched session ids are the classic way to write memory into one file and read from another.

    But the Reader now embeds the exact same two inputs - existing_session and new_session_name - and it also outputs session_id as one of its three outputs. The picker's whole reason to exist got absorbed. Adding a SessionIDSelector to a modern graph means one more node, one more wire, and zero new capability.

    Inputs and output

    • existing_session - dropdown of existing sessions, with [CREATE NEW] at the top. Populated when the node loads, so newly created sessions appear after a reload.
    • new_session_name - used if you picked [CREATE NEW]; becomes the session id.

    The single output, session_id (STRING), is the chosen id, sanitized to safe filename characters. It's a plain string output, so technically you could use it to pick a session for anything that accepts a string - but don't build around it.

    Installing it

    It ships inside Latentnaut/ComfyUI-Session-Memory, so installing the pack for the Reader/Writer/Feedback Editor brings this along whether you want it or not.

    cd ComfyUI/custom_nodes
    git clone https://github.com/Latentnaut/ComfyUI-Session-Memory
    

    Restart ComfyUI, or use ComfyUI Manager (search Session Memory). No models, no extra dependencies - the whole pack is one Python file plus a frontend script.

    The one case where it's relevant

    If you're loading an older workflow that already contains a SessionIDSelector, it still works - the node class is registered and functional, not stubbed out. Leave it in place rather than ripping it out and rewiring, because that's a working graph. Just know that when you build your next workflow from scratch, the Reader's built-in selector is the same thing without the extra node.

    Category🧠 Memory

    Inputs (2)

    NameTypeDefaultDescription
    existing_sessionCOMBOdefaultSelect an existing session, or [CREATE NEW] to use the text box below.
    new_session_nameSTRINGnew_sessionIf [CREATE NEW] is selected above, this will be your new session_id.

    Outputs (1)

    NameTypeDescription
    session_idSTRINGβ€”