librechat: add searxng
This commit is contained in:
parent
d051ec20c3
commit
974f11c881
2 changed files with 44 additions and 11 deletions
|
|
@ -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}" = {
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue