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:
parent
79844fc54b
commit
cfe265337a
4 changed files with 5 additions and 4 deletions
|
|
@ -32,6 +32,7 @@ class AnthropicModelComponent(LCModelComponent):
|
|||
options=ANTHROPIC_MODELS,
|
||||
refresh_button=True,
|
||||
value=ANTHROPIC_MODELS[0],
|
||||
combobox=True,
|
||||
),
|
||||
SecretStrInput(
|
||||
name="api_key",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue