From 742cb4fea207e25a60d258b40554954c208d39bc Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:37:36 +0300 Subject: [PATCH] fixed compatibility with some ComfyUI frontend versions (https://github.com/Comfy-Org/ComfyUI_frontend/issues/1448) Signed-off-by: Alexander Piskun --- nodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes.py b/nodes.py index 030e368..81a290b 100644 --- a/nodes.py +++ b/nodes.py @@ -18,12 +18,12 @@ class GeminiNode: "model": (["gemini-1.5-flash-002", "gemini-1.5-pro-002"],), }, "optional": { - "api_key": ("STRING",), - "proxy": ("STRING",), + "api_key": ("STRING", {}), + "proxy": ("STRING", {}), "image_1": ("IMAGE",), "image_2": ("IMAGE",), "image_3": ("IMAGE",), - "system_instruction": ("STRING",), + "system_instruction": ("STRING", {}), "error_fallback_value": ("STRING", {"lazy": True}), }, }