Compare commits

...

2 commits

Author SHA1 Message Date
sid
18e8558ded 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
2026-05-19 22:32:04 +02:00
sid
d051ec20c3 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
2026-05-19 22:30:25 +02:00
3 changed files with 32 additions and 4 deletions

8
flake.lock generated
View file

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

View file

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