Integrations / LibreChat
L
LibreChat
Self-hosted · Verified setup guide
A self-hosted multi-model chat UI. Add LuxeChain as a custom endpoint.
Setup steps
- 1Edit librechat.yamlAdd the custom endpoint below.
- 2Set the envExport LUXECHAIN_KEY with your lxc_live_ key.
- 3Restart LibreChatRestart the container; the endpoint appears in the model selector.
Configuration example
yaml
# librechat.yaml
version: 1.2.1
endpoints:
custom:
- name: "LuxeChain"
apiKey: "${LUXECHAIN_KEY}" # export LUXECHAIN_KEY=lxc_live_...
baseURL: "https://api.luxechain.si/v1"
models:
default: ["YOUR_MODEL_ID"] # any model id from the /models page
fetch: true
Replace YOUR_MODEL_ID with any model from the catalogue. Never paste a real API key into a shared document.
Troubleshooting
Keep the API key in an environment variable and reference it from the config, never hardcode it in the YAML.
If the tool rejects the endpoint, confirm the base URL exactly matches the value on the right, and that the key is active in your account.