librechat: add config file
This commit is contained in:
parent
e988008e97
commit
d051ec20c3
3 changed files with 32 additions and 4 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
27
hosts/rx4/services/librechat.yaml
Normal file
27
hosts/rx4/services/librechat.yaml
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue