fix: nvidia model component refresh behavior (#7203)
Fix nvidia model component refresh behavior
This commit is contained in:
parent
44254206b8
commit
7c99bc0d64
1 changed files with 1 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ class NVIDIAModelComponent(LCModelComponent):
|
||||||
value=None,
|
value=None,
|
||||||
options=[model.id for model in all_models],
|
options=[model.id for model in all_models],
|
||||||
combobox=True,
|
combobox=True,
|
||||||
real_time_refresh=True,
|
refresh_button=True,
|
||||||
),
|
),
|
||||||
BoolInput(
|
BoolInput(
|
||||||
name="detailed_thinking",
|
name="detailed_thinking",
|
||||||
|
|
@ -58,7 +58,6 @@ class NVIDIAModelComponent(LCModelComponent):
|
||||||
display_name="NVIDIA Base URL",
|
display_name="NVIDIA Base URL",
|
||||||
value="https://integrate.api.nvidia.com/v1",
|
value="https://integrate.api.nvidia.com/v1",
|
||||||
info="The base URL of the NVIDIA API. Defaults to https://integrate.api.nvidia.com/v1.",
|
info="The base URL of the NVIDIA API. Defaults to https://integrate.api.nvidia.com/v1.",
|
||||||
real_time_refresh=True,
|
|
||||||
),
|
),
|
||||||
SecretStrInput(
|
SecretStrInput(
|
||||||
name="api_key",
|
name="api_key",
|
||||||
|
|
@ -66,7 +65,6 @@ class NVIDIAModelComponent(LCModelComponent):
|
||||||
info="The NVIDIA API Key.",
|
info="The NVIDIA API Key.",
|
||||||
advanced=False,
|
advanced=False,
|
||||||
value="NVIDIA_API_KEY",
|
value="NVIDIA_API_KEY",
|
||||||
real_time_refresh=True,
|
|
||||||
),
|
),
|
||||||
SliderInput(
|
SliderInput(
|
||||||
name="temperature",
|
name="temperature",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue