librechat: add searxng #84
2 changed files with 44 additions and 11 deletions
|
|
@ -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}" = {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue