Files
comfyui_o1key/docs/decisions/0009-remove-unified-image-external-prompt.md
Jony ba920f2b66 Publish current ComfyUI O1Key code baseline
Replace the prior release tree with the current plugin, frontend, tests, and documentation. Document retired node IDs and the public Gitea update source.
2026-09-24 19:56:48 +08:00

1.5 KiB

0009: Remove the unified image generator's external prompt input

  • Status: Accepted
  • Date: 2026-09-24
  • Owners: Maintainers

Context

O1keyImageGenerator offered both an in-panel prompt editor and a separate external_prompt STRING socket. The socket added a second prompt source, changed panel behavior when connected, and required a separate execution path when the panel button was used. The requested node interaction uses the in-panel editor only.

Decision

Keep the serialized prompt widget and its existing index. Remove external_prompt from the V3 schema, execution signature, and frontend panel behavior. On workflow load, remove an old external_prompt input and its specific graph link while retaining the saved in-panel prompt and unrelated links.

Consequences

Older workflows that relied on an upstream STRING value must place their prompt text in the panel. The upstream node remains in the graph, and any other connections from it remain intact. Standard ComfyUI execution and panel jobs now read the same prompt widget.

Alternatives considered

Hiding the socket while retaining the backend override would leave an invisible second prompt source in saved workflows. Keeping the socket solely for old workflows would preserve the interaction the user requested to remove.

Validation

The image generator schema and execution tests verify the single prompt source. Frontend tests verify empty-prompt validation and idempotent removal of old socket links while preserving unrelated graph links.