librechat: add config file
This commit is contained in:
parent
e988008e97
commit
d051ec20c3
3 changed files with 32 additions and 4 deletions
|
|
@ -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