fix: fixes model refresh issues conflicting with build config updates, setting real time fresh false to persist model selection (#5868)

* add combobox and set realtime refresh to false

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Edwin Jose 2025-01-22 14:04:28 -05:00 committed by GitHub
commit cfe265337a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 4 deletions

View file

@ -32,6 +32,7 @@ class AnthropicModelComponent(LCModelComponent):
options=ANTHROPIC_MODELS,
refresh_button=True,
value=ANTHROPIC_MODELS[0],
combobox=True,
),
SecretStrInput(
name="api_key",

View file

@ -61,7 +61,7 @@ class GroqModel(LCModelComponent):
options=GROQ_MODELS,
value=GROQ_MODELS[0],
refresh_button=True,
real_time_refresh=True,
combobox=True,
),
BoolInput(
name="tool_model_enabled",

View file

@ -25,8 +25,8 @@ class NVIDIAModelComponent(LCModelComponent):
display_name="Model Name",
advanced=False,
options=[],
real_time_refresh=True,
refresh_button=True,
combobox=True,
),
MessageTextInput(
name="base_url",

File diff suppressed because one or more lines are too long