diff --git a/litellm/types/utils.py b/litellm/types/utils.py index 3f6e6e5aa5a..d2d67c40834 100644 --- a/litellm/types/utils.py +++ b/litellm/types/utils.py @@ -3219,6 +3219,7 @@ class LlmProviders(str, Enum): DASHSCOPE = "dashscope" MOONSHOT = "moonshot" PUBLICAI = "publicai" + SALAD_CLOUD = "salad_cloud" V0 = "v0" MORPH = "morph" LAMBDA_AI = "lambda_ai" diff --git a/tests/test_litellm/llms/openai_like/test_salad_cloud.py b/tests/test_litellm/llms/openai_like/test_salad_cloud.py index 6d9475f40d7..fb2a069f00b 100644 --- a/tests/test_litellm/llms/openai_like/test_salad_cloud.py +++ b/tests/test_litellm/llms/openai_like/test_salad_cloud.py @@ -19,6 +19,13 @@ import litellm class TestSaladCloudProviderConfig: """Test SaladCloud provider configuration""" + def test_salad_cloud_in_provider_list(self): + """Test that salad_cloud is in the provider list via LlmProviders enum""" + from litellm import LlmProviders + + assert LlmProviders.SALAD_CLOUD.value == "salad_cloud" + assert "salad_cloud" in litellm.provider_list + def test_salad_cloud_json_config_exists(self): """Test that salad_cloud is configured in providers.json""" from litellm.llms.openai_like.json_loader import JSONProviderRegistry