Remove Custom System Prompt ๐
Cleaning up saved LLM system prompts
- success
- log
This is a housekeeping node, not a generation one - it exists to delete a saved custom system prompt, not to write or use one. If you've been experimenting with the LLM-connector side of this pack and saved a handful of custom system prompts to reuse across workflows, this is how you clear one out again once it's outdated or you got the wording wrong.
How it's built to work. The node has exactly one input, preset_name, presented as a dropdown rather than free text. On a fresh install with nothing saved, that dropdown is empty - there's simply nothing to remove yet. It only fills in once you've saved at least one custom system prompt through whatever companion node in this pack handles the saving side (not covered in this write-up, since it isn't among the nodes reviewed here - look for something like a "Set Custom System Prompt" node in the same Prompt Generator category if you're trying to create one to delete). Once you've picked a saved name from the dropdown and run the node, it deletes that entry and reports back whether it worked.
Outputs. Two: success (BOOLEAN) tells you whether the delete actually happened, and log (STRING) carries whatever message the node generated about it - worth wiring into a display node while you're getting a feel for how this works, since a delete operation with no visible confirmation is easy to misjudge.
Installing. ComfyUI Manager: search ComfyUI_MieNodes and install. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/MieMieeeee/ComfyUI-MieNodes, then restart ComfyUI. No models or extra dependencies - this is local bookkeeping against whatever config file the pack uses to persist saved prompts.
Be aware going in: this specific node isn't documented anywhere in the pack's README, and it doesn't show up in any of the example workflow screenshots either. Every one of the README's LLM-connector workflow diagrams uses default or inline prompts, not saved custom system prompts by name, so there's no confirmed reference for exactly which upstream node populates this dropdown or where the saved prompts actually live on disk. Everything above is the reasonable reading of the schema - an empty-until-populated preset dropdown plus a delete action - not confirmed author documentation.
Troubleshooting.
- Dropdown is empty and there's nothing to select. Expected on a clean install, or if you haven't saved any custom system prompts yet through whichever node handles that. There's nothing broken here - just nothing to delete.
successcomes backfalse. Checklogfor the actual reason; a common cause for this kind of node is trying to remove something that was already deleted, or a permissions issue writing to whatever file backs the saved presets.- A prompt you expected to see in the dropdown isn't there. If you saved it in one ComfyUI instance or install and are trying to delete it from another, the underlying config file the presets live in is probably specific to the install where you saved it - check you're running the same ComfyUI instance and the same working directory.
- You deleted the wrong preset by accident. There's no undo implied by the schema here - treat this like any other delete action and double-check
preset_namebefore running the node, especially if you've got several similarly-named prompts saved.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| preset_name | COMBO | 0 options: |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| success | BOOLEAN | โ |
| log | STRING | โ |