From 90a77c6466f8b1182c9ed2d866bc2ec338e1cd85 Mon Sep 17 00:00:00 2001 From: Chesars Date: Tue, 10 Mar 2026 19:30:20 -0300 Subject: [PATCH] fix(providers): correct perplexity base_url to include /v1 The dynamic responses config appends /responses to base_url, so it must end with /v1 to produce the correct endpoint URL. --- litellm/llms/openai_like/providers.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/openai_like/providers.json b/litellm/llms/openai_like/providers.json index 75418f7b55..d9f3749fd1 100644 --- a/litellm/llms/openai_like/providers.json +++ b/litellm/llms/openai_like/providers.json @@ -81,7 +81,7 @@ "api_key_env": "GMI_API_KEY" }, "perplexity": { - "base_url": "https://api.perplexity.ai", + "base_url": "https://api.perplexity.ai/v1", "api_key_env": "PERPLEXITYAI_API_KEY", "supported_endpoints": ["/v1/chat/completions", "/v1/responses"] },