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:
parent
dcc63712fb
commit
9966f887dc
6 changed files with 6 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
),
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue