Files
bradsec-ComfyUI_LLMSetRole/pyproject.toml
T
BRADSEC 734c8cc160 Self-contained increment/random modes; bump 1.3.1
increment now steps to the next role alphabetically on its own (per-node
counter, wraps start..end) and random picks fresh each generation. Removes
the value INT and its control_after_generate, which made increment behave
randomly because the companion widget defaults to randomize. Mode now drives
selection directly; increment/random force a re-run via NaN fingerprint while
fixed still caches on file mtime. Per-node state keyed by hidden unique_id.
2026-06-28 12:12:47 +10:00

17 lines
769 B
TOML

[project]
name = "comfyui_llmsetrole"
description = "Pick an LLM role (system prompt) from a dropdown and output it as a STRING for an LLM node's system_prompt. Modes: fixed (use the dropdown), increment (step to the next role alphabetically each generation), or random (a fresh pick each generation), over a start..end slice. Roles are plain Markdown files in roles/; add a .md file and restart to add a role. Node name: Set Role. Located under Add Node > LLM."
version = "1.3.1"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = []
[project.urls]
Repository = "https://github.com/bradsec/ComfyUI_LLMSetRole"
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "bradsec"
DisplayName = "ComfyUI_LLMSetRole"
Icon = ""