You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue setting up a custom Perplexity endpoint in LibreChat, and despite following the documentation and troubleshooting steps, it doesn't appear in the UI.
Problem Description:
I have configured Perplexity as a custom endpoint in my librechat.yaml and enabled custom in my .env ENDPOINTS variable. The LibreChat application starts without any errors related to the librechat.yaml configuration. However, the Perplexity option does not show up in the model selection menu in the LibreChat UI.
.env (relevant snippet for ENDPOINTS):
ENDPOINTS=openAI,google,anthropic,custom,agents
Troubleshooting Steps Taken:
YAML Syntax: Confirmed the librechat.yaml syntax is correct.
.env Configuration: Ensured custom is included in ENDPOINTS.
API Key Verification: The PERPLEXITY_API_KEY is set in my .env file and verified to be correct and active by testing it directly via curl to https://api.perplexity.ai/chat/completions.
Log Analysis: Checked LibreChat Docker container logs during startup. There are no explicit error messages
Expected Behavior:
I expect "Perplexity" to appear as a selectable option in the LibreChat UI's model dropdown menu.
Actual Behavior:
The Perplexity endpoint does not appear in the UI.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm encountering an issue setting up a custom Perplexity endpoint in LibreChat, and despite following the documentation and troubleshooting steps, it doesn't appear in the UI.
Problem Description:
I have configured Perplexity as a custom endpoint in my librechat.yaml and enabled custom in my .env ENDPOINTS variable. The LibreChat application starts without any errors related to the librechat.yaml configuration. However, the Perplexity option does not show up in the model selection menu in the LibreChat UI.
My Environment:
LibreChat Version: last
Deployment Method: Docker Compose
Operating System: Debian bookworm
Configuration Details:
librechat.yaml (relevant snippet):
endpoints:
custom:
Perplexity:
apiKey: "${PERPLEXITY_API_KEY}"
baseURL: "https://api.perplexity.ai/"
models:
default: [
"sonar-deep-research",
"sonar-reasoning-pro",
"sonar-reasoning",
"sonar-pro",
"sonar",
]
fetch: false # fetching list of models is not supported
titleConvo: true
titleModel: "current_model"
forcePrompt: false
titleMessageRole: "user"
modelDisplayLabel: "Perplexity"
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
.env (relevant snippet for ENDPOINTS):
ENDPOINTS=openAI,google,anthropic,custom,agents
Troubleshooting Steps Taken:
YAML Syntax: Confirmed the librechat.yaml syntax is correct.
.env Configuration: Ensured custom is included in ENDPOINTS.
API Key Verification: The PERPLEXITY_API_KEY is set in my .env file and verified to be correct and active by testing it directly via curl to https://api.perplexity.ai/chat/completions.
Log Analysis: Checked LibreChat Docker container logs during startup. There are no explicit error messages
Expected Behavior:
I expect "Perplexity" to appear as a selectable option in the LibreChat UI's model dropdown menu.
Actual Behavior:
The Perplexity endpoint does not appear in the UI.
Beta Was this translation helpful? Give feedback.
All reactions