Files
comfyui_o1key/docs/decisions/0013-remove-batch-nano-random-image-selection.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.2 KiB

0013: Remove batch Nano Banana random image selection

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

Context

The batch Nano Banana path selector exposed 图片随机抽取. A selected path became a random image pool instead of participating in ordinary image pairing. Removing the control changes both serialized dynamic widgets and task assembly.

Decision

Remove the random-selection widget and its pool-loading and image-draw logic. All filled folder paths now participate in the selected pairing mode. Keep the node ID, path selector, pairing choices, fixed references, save controls, and seed.

Compatibility

The frontend drops the former widget value after applying older layout migrations. It removes a connected random-selection input and its graph link and shifts later target slot indices. API workflows that still send the retired value have it ignored. An old workflow with multiple paths and 不配对 must select a pairing mode before running; the node reports this rather than silently choosing one.

Validation

Offline node tests cover schema and execution forwarding. Frontend tests cover saved one-path and multi-path widget arrays, idempotence, and connected-input link cleanup.