fix: Disable tool model by default in various model components (#5989)

* fix: Disable tool model by default in various model components

Update multiple model components to set the `tool_model_enabled` parameter to `False` by default, ensuring a more conservative initial configuration for tool-based models across Anthropic, Google Generative AI, Groq, NVIDIA, and Ollama components.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-01-28 22:23:30 -03:00 committed by GitHub
commit 9966f887dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 5 deletions

View file

@ -63,7 +63,7 @@ class AnthropicModelComponent(LCModelComponent):
"Select if you want to use models that can work with tools. If yes, only those models will be shown."
),
advanced=False,
value=True,
value=False,
real_time_refresh=True,
),
MessageTextInput(

View file

@ -70,6 +70,7 @@ class GoogleGenerativeAIComponent(LCModelComponent):
name="tool_model_enabled",
display_name="Tool Model Enabled",
info="Whether to use the tool model.",
value=False,
),
]

View file

@ -70,7 +70,7 @@ class GroqModel(LCModelComponent):
"Select if you want to use models that can work with tools. If yes, only those models will be shown."
),
advanced=False,
value=True,
value=False,
real_time_refresh=True,
),
]

View file

@ -43,7 +43,7 @@ class NVIDIAModelComponent(LCModelComponent):
"Select if you want to use models that can work with tools. If yes, only those models will be shown."
),
advanced=False,
value=True,
value=False,
real_time_refresh=True,
),
SecretStrInput(

View file

@ -118,7 +118,7 @@ class ChatOllamaComponent(LCModelComponent):
name="tool_model_enabled",
display_name="Tool Model Enabled",
info="Whether to enable tool calling in the model.",
value=True,
value=False,
real_time_refresh=True,
),
MessageTextInput(

File diff suppressed because one or more lines are too long