Fix: render text inputs as editable fields, not input sockets
Widget-type inputs in the optional section render as connection sockets (not editable boxes) in some ComfyUI frontends. Moved all widgets (report_dir, run_tag, reference_description, system_prompt, user_prompt, keep_loaded, auto_download) into required; only generated_image (a real node-to-node wire) stays optional. Same fix for the receptor's source_file. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-3
@@ -29,11 +29,10 @@ class CalibratorPromptReceptor:
|
||||
"prompt": ("STRING", {"default": "", "multiline": True}),
|
||||
"negative": ("STRING", {"default": "", "multiline": True}),
|
||||
"seed": ("INT", {"default": 0, "min": 0, "max": 0x7FFFFFFFFFFFFFFF}),
|
||||
},
|
||||
"optional": {
|
||||
# If set and present, a JSON file {prompt, negative, seed} overrides
|
||||
# the widgets above. Lets the agent drive the loop file-first if it
|
||||
# prefers that to the HTTP API.
|
||||
# prefers that to the HTTP API. (Kept in `required` so it renders as an
|
||||
# editable field, not an input socket.)
|
||||
"source_file": ("STRING", {"default": ""}),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user