Self-hosted
LibreChat
A self-hosted multi-model chat UI. Add LuxeChain as a custom endpoint.
Step by step
01
Edit librechat.yaml
Add the custom endpoint below.
02
Set the env
Export LUXECHAIN_KEY with your lxc_live_ key.
03
Restart LibreChat
Restart the container; the endpoint appears in the model selector.
Copy this
librechat
# 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
Keep the API key in an environment variable and reference it from the config, never hardcode it in the YAML.