Merge pull request 'librechat: add config file' (#83) from develop into master
All checks were successful
Deploy configs / deploy-configs (push) Successful in 27s

Reviewed-on: #83
This commit is contained in:
sid 2026-05-19 22:32:04 +02:00
commit 18e8558ded
3 changed files with 32 additions and 4 deletions

8
flake.lock generated
View file

@ -5199,11 +5199,11 @@
"stylix": "stylix_6"
},
"locked": {
"lastModified": 1779218747,
"narHash": "sha256-KCQ0m93bGGfH4/cyfIshTqllSPIqb/dJLVgRf3iUS68=",
"lastModified": 1779222589,
"narHash": "sha256-pFlaPXus8e+mY9C7/xQhBwux6tPk5P30K2uaN2Qluh0=",
"ref": "release-25.11",
"rev": "b6546f3ab00ffa8ab39631a76644c718f4fafe6d",
"revCount": 94,
"rev": "1ab817090ff5989578caefd8786e9450b37e3da5",
"revCount": 96,
"type": "git",
"url": "https://git.sid.ovh/sid/synix.git"
},

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'