fix: nvidia model component refresh behavior (#7203)

Fix nvidia model component refresh behavior
This commit is contained in:
Jordan Frazier 2025-03-20 16:38:58 -07:00 • committed by GitHub
commit 7c99bc0d64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",