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}";
environmentFile = config.sops.templates.librechat-env-file.path;
# environment = {
# ALLOW_REGISTRATION = "true";
# };
environment = {
# ALLOW_REGISTRATION = "true";
SEARXNG_INSTANCE_URL = "https://searxng.website/";
};
};
services.nginx.virtualHosts."${fqdn}" = {

View file

@ -2,6 +2,7 @@ version: 1.3.11
cache: true
interface:
customWelcome: "Such compose. Much yaml. Wow"
modelSelect: true
parameters: true
presets: true
@ -11,17 +12,48 @@ 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"