Replies: 3 comments
-
Adding some more context to the issue. For the LibreChat installation, I followed the official guide for Docker on Linux, which can be found here: I'm also attaching my complete librechat.yaml file below, hoping it can be helpful for analysis:
|
Beta Was this translation helpful? Give feedback.
-
The core of the problem is a conflict between the Zod validation schema and the application logic for custom endpoints. The version I'm running (likely related to v0.7.8, even when pulling latest) expects fileConfig.endpoints.custom to be an object/record (e.g., custom: { Perplexity: { ... } }).
I have tried the following to force a clean rebuild: Switched to Development Workflow: Moved from using deploy-compose.yml to the root docker-compose.yml to build from local source. |
Beta Was this translation helpful? Give feedback.
-
See my comment here: #7799 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
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):
.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