SaladCloud api_base change

This commit is contained in:
gorkii 2026-04-13 10:06:23 -04:00
parent 9b7f4db2d3
commit cf77c636f7
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
| Description | SaladCloud AI Gateway is an OpenAI-compatible LLM API service powered by distributed GPU infrastructure. |
| Provider Route on LiteLLM | `salad_cloud/` |
| Link to Provider Doc | [SaladCloud AI Gateway ↗](https://docs.salad.com/ai-gateway/explanation/overview) |
| Base URL | `https://ai.salad.cloud:40404/v1` |
| Base URL | `https://ai.salad.cloud/v1` |
## Required Variables

View file

@ -103,7 +103,7 @@
}
},
"salad_cloud": {
"base_url": "https://ai.salad.cloud:40404/v1",
"base_url": "https://ai.salad.cloud/v1",
"api_key_env": "SALAD_API_KEY"
}
}

View file

@ -34,7 +34,7 @@ class TestSaladCloudProviderConfig:
salad_cloud = JSONProviderRegistry.get("salad_cloud")
assert salad_cloud is not None
assert salad_cloud.base_url == "https://ai.salad.cloud:40404/v1"
assert salad_cloud.base_url == "https://ai.salad.cloud/v1"
assert salad_cloud.api_key_env == "SALAD_API_KEY"
def test_salad_cloud_provider_resolution(self):
@ -50,7 +50,7 @@ class TestSaladCloudProviderConfig:
assert model == "qwen3.5-35b-a3b"
assert provider == "salad_cloud"
assert api_base == "https://ai.salad.cloud:40404/v1"
assert api_base == "https://ai.salad.cloud/v1"
def test_salad_cloud_router_config(self):
"""Test that salad_cloud can be used in Router configuration"""