From 1b27d246ac2bdbcdc33e232cf08f285e6821a95c Mon Sep 17 00:00:00 2001 From: silveroxides Date: Sat, 10 Oct 2026 16:31:28 +0200 Subject: [PATCH] schema(interactions) modified delaults in inputs schema --- interactions_nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interactions_nodes.py b/interactions_nodes.py index c37e554..2596088 100644 --- a/interactions_nodes.py +++ b/interactions_nodes.py @@ -222,9 +222,9 @@ class SSL_GeminiInteractionsTextPrompt(IO.ComfyNode): IO.Int.Input("seed", default=0, min=0, max=2147483647), IO.Int.Input("timeout", default=30, min=15, max=300, step=15), IO.Boolean.Input("include_thoughts", default=False), - IO.Combo.Input("thinking_level", options=["None", "minimal", "low", "medium", "high"], default="None", tooltip="Thinking level for reasoning models."), + IO.Combo.Input("thinking_level", options=["None", "minimal", "low", "medium", "high"], default="low", tooltip="Thinking level for reasoning models."), IO.Combo.Input("media_resolution", options=["unspecified", "low", "medium", "high", "ultra_high"], default="unspecified", tooltip="Set input media resolution for image, video and pdf."), - IO.String.Input("retry_pattern", default="", optional=True, multiline=False, tooltip="Regex pattern to match in response text. If matched, retry with new seed. Leave empty to disable."), + IO.String.Input("retry_pattern", default="(PROHIBITED_CONTENT|UNAVAILABLE|request/processing|RESOURCE_EXHAUSTED)", optional=True, multiline=False, tooltip="Regex pattern to match in response text. If matched, retry with new seed. Leave empty to disable."), IO.Int.Input("max_retries", default=3, min=0, max=10, step=1, tooltip="Maximum number of retry attempts when pattern matches. 0 disables retry."), IO.String.Input("timeout_fallback_text", default="", optional=True, multiline=True, tooltip="Text returned when the Gemini request times out. Leave empty to return the standard timeout message."), IO.Combo.Input("image_size", options=["None", "512", "1K", "2K", "4K"], default="None", optional=True, tooltip="Generated image resolution. Gemini 3.1 Flash Lite Image supports only 1K; 512 is supported only by Gemini 3.1 Flash Image."),