mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-15 18:24:07 +00:00
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.
This commit is contained in:
@@ -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"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user