diff --git a/hosts/rx4/services/librechat-oci.nix b/hosts/rx4/services/librechat-oci.nix index 41c9928..02ddf20 100644 --- a/hosts/rx4/services/librechat-oci.nix +++ b/hosts/rx4/services/librechat-oci.nix @@ -21,10 +21,9 @@ in externalUrl = "https://${fqdn}"; environmentFile = config.sops.templates.librechat-env-file.path; - environment = { - # ALLOW_REGISTRATION = "true"; - SEARXNG_INSTANCE_URL = "https://searxng.website/"; - }; + # environment = { + # ALLOW_REGISTRATION = "true"; + # }; }; services.nginx.virtualHosts."${fqdn}" = { diff --git a/hosts/rx4/services/librechat.yaml b/hosts/rx4/services/librechat.yaml index d5f6d95..2459252 100644 --- a/hosts/rx4/services/librechat.yaml +++ b/hosts/rx4/services/librechat.yaml @@ -2,7 +2,6 @@ version: 1.3.11 cache: true interface: - customWelcome: "Such compose. Much yaml. Wow" modelSelect: true parameters: true presets: true @@ -12,48 +11,17 @@ interface: bookmarks: true multiConvo: true - agents: true - fileSearch: true - webSearch: true - -webSearch: - searchProvider: "searxng" - searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}" - rerankerType: "none" # TODO: add cohere rerank - endpoints: - agents: - disableBuilder: false - recursionLimit: 50 - maxRecursionLimit: 100 - - maxCitations: 30 - maxCitationsPerFile: 7 - minRelevanceScore: 0.45 - - capabilities: - - "deferred_tools" - - "execute_code" - - "file_search" - - "web_search" - - "artifacts" - - "subagents" - - "actions" - - "context" - - "skills" - - "tools" - - "chain" - custom: - - name: "OpenRouter" - apiKey: "${OPENROUTER_KEY}" - baseURL: "https://openrouter.ai/api/v1" + - name: 'OpenRouter' + apiKey: '${OPENROUTER_KEY}' + baseURL: 'https://openrouter.ai/api/v1' headers: - x-librechat-body-parentmessageid: "{{LIBRECHAT_BODY_PARENTMESSAGEID}}" + x-librechat-body-parentmessageid: '{{LIBRECHAT_BODY_PARENTMESSAGEID}}' models: - default: ["deepseek/deepseek-v4-flash"] + default: ['deepseek/deepseek-v4-flash'] fetch: true titleConvo: true - titleModel: "deepseek/deepseek-v4-flash" - dropParams: ["stop"] - modelDisplayLabel: "OpenRouter" + titleModel: 'deepseek/deepseek-v4-flash' + dropParams: ['stop'] + modelDisplayLabel: 'OpenRouter'