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,
|
options=ANTHROPIC_MODELS,
|
||||||
refresh_button=True,
|
refresh_button=True,
|
||||||
value=ANTHROPIC_MODELS[0],
|
value=ANTHROPIC_MODELS[0],
|
||||||
|
combobox=True,
|
||||||
),
|
),
|
||||||
SecretStrInput(
|
SecretStrInput(
|
||||||
name="api_key",
|
name="api_key",
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class GroqModel(LCModelComponent):
|
||||||
options=GROQ_MODELS,
|
options=GROQ_MODELS,
|
||||||
value=GROQ_MODELS[0],
|
value=GROQ_MODELS[0],
|
||||||
refresh_button=True,
|
refresh_button=True,
|
||||||
real_time_refresh=True,
|
combobox=True,
|
||||||
),
|
),
|
||||||
BoolInput(
|
BoolInput(
|
||||||
name="tool_model_enabled",
|
name="tool_model_enabled",
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ class NVIDIAModelComponent(LCModelComponent):
|
||||||
display_name="Model Name",
|
display_name="Model Name",
|
||||||
advanced=False,
|
advanced=False,
|
||||||
options=[],
|
options=[],
|
||||||
real_time_refresh=True,
|
|
||||||
refresh_button=True,
|
refresh_button=True,
|
||||||
|
combobox=True,
|
||||||
),
|
),
|
||||||
MessageTextInput(
|
MessageTextInput(
|
||||||
name="base_url",
|
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