Files
glonlas-comfyUI-LMStudio-nodes/tests
Gérald LONLASandClaude Opus 4.7 848ef8fa1c fix: accept extra kwargs in LMStudioConnect.validate_inputs (#6)
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>
2026-05-19 00:49:04 +08:00
..