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

Reviewed-on: #84
This commit is contained in:
sid 2026-05-19 22:49:02 +02:00
commit 155d976048
2 changed files with 44 additions and 11 deletions

View file

@ -21,9 +21,10 @@ in
externalUrl = "https://${fqdn}"; externalUrl = "https://${fqdn}";
environmentFile = config.sops.templates.librechat-env-file.path; environmentFile = config.sops.templates.librechat-env-file.path;
# environment = { environment = {
# ALLOW_REGISTRATION = "true"; # ALLOW_REGISTRATION = "true";
# }; SEARXNG_INSTANCE_URL = "https://searxng.website/";
};
}; };
services.nginx.virtualHosts."${fqdn}" = { services.nginx.virtualHosts."${fqdn}" = {

View file

@ -2,6 +2,7 @@ version: 1.3.11
cache: true cache: true
interface: interface:
customWelcome: "Such compose. Much yaml. Wow"
modelSelect: true modelSelect: true
parameters: true parameters: true
presets: true presets: true
@ -11,17 +12,48 @@ interface:
bookmarks: true bookmarks: true
multiConvo: true multiConvo: true
agents: true
fileSearch: true
webSearch: true
webSearch:
searchProvider: "searxng"
searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}"
rerankerType: "none" # TODO: add cohere rerank
endpoints: 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: custom:
- name: 'OpenRouter' - name: "OpenRouter"
apiKey: '${OPENROUTER_KEY}' apiKey: "${OPENROUTER_KEY}"
baseURL: 'https://openrouter.ai/api/v1' baseURL: "https://openrouter.ai/api/v1"
headers: headers:
x-librechat-body-parentmessageid: '{{LIBRECHAT_BODY_PARENTMESSAGEID}}' x-librechat-body-parentmessageid: "{{LIBRECHAT_BODY_PARENTMESSAGEID}}"
models: models:
default: ['deepseek/deepseek-v4-flash'] default: ["deepseek/deepseek-v4-flash"]
fetch: true fetch: true
titleConvo: true titleConvo: true
titleModel: 'deepseek/deepseek-v4-flash' titleModel: "deepseek/deepseek-v4-flash"
dropParams: ['stop'] dropParams: ["stop"]
modelDisplayLabel: 'OpenRouter' modelDisplayLabel: "OpenRouter"