ComfyUI can pass any of a node's schema inputs to validate_inputs by
name, depending on the schema version. The current signature only
accepts server_url, timeout_seconds, and max_tokens, so extra inputs
(api_token, model, reasoning_enabled, ...) would raise TypeError before
validation ever runs.
Add **_: Any to absorb any additional inputs ComfyUI provides while
keeping the existing validation logic intact.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
connect_node.py
- Fix UI label typo: "Enable Reasonning" → "Enable Reasoning"
- Use normalize_api_key() instead of an inline (api_token or "-").strip()
expression; the helper also checks DEFAULT_API_KEY_PLACEHOLDER so both
code paths now agree on the canonical fallback value
client.py
- Remove build_responses_input_with_image(): dead code; image_to_text_node
builds its own multi-image payload directly in _responses_kwargs() and
this function was never imported or called
routes.py
- _test_handler default timeout: 600 s → 15 s, consistent with
_models_handler. Both handlers probe connectivity identically; a 10-min
default on a "Test Connection" button is a foot-gun when called without
a timeout_seconds query param.
- Drop now-unused DEFAULT_TIMEOUT_SECONDS import
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>