librechat: add config file
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 21s
Flake check / flake-check (pull_request) Successful in 20s

This commit is contained in:
sid 2026-05-19 22:30:25 +02:00
parent e988008e97
commit d051ec20c3
3 changed files with 32 additions and 4 deletions

View file

@ -17,6 +17,7 @@ in
services.librechat-oci = {
enable = true;
inherit port;
configFile = ./librechat.yaml;
externalUrl = "https://${fqdn}";
environmentFile = config.sops.templates.librechat-env-file.path;

View file

@ -0,0 +1,27 @@
version: 1.3.11
cache: true
interface:
modelSelect: true
parameters: true
presets: true
prompts:
use: true
create: true
bookmarks: true
multiConvo: true
endpoints:
custom:
- name: 'OpenRouter'
apiKey: '${OPENROUTER_KEY}'
baseURL: 'https://openrouter.ai/api/v1'
headers:
x-librechat-body-parentmessageid: '{{LIBRECHAT_BODY_PARENTMESSAGEID}}'
models:
default: ['deepseek/deepseek-v4-flash']
fetch: true
titleConvo: true
titleModel: 'deepseek/deepseek-v4-flash'
dropParams: ['stop']
modelDisplayLabel: 'OpenRouter'