Still working on web search

This commit is contained in:
2025-07-25 22:08:45 +01:00
parent d2540d2b05
commit f776320efb
3 changed files with 34 additions and 23 deletions

View File

@@ -54,6 +54,7 @@ LIBRECHAT_JWT_SECRET=
LIBRECHAT_JWT_REFRESH_SECRET= LIBRECHAT_JWT_REFRESH_SECRET=
OPENROUTER_KEY= OPENROUTER_KEY=
AIHUBMIX_KEY= AIHUBMIX_KEY=
JINA_API_KEY=
# #
# Meilisearch settings # Meilisearch settings

View File

@@ -207,6 +207,7 @@ services:
- OPENROUTER_KEY=${OPENROUTER_KEY} - OPENROUTER_KEY=${OPENROUTER_KEY}
- IMAGE_GEN_OAI_API_KEY=${AIHUBMIX_KEY} - IMAGE_GEN_OAI_API_KEY=${AIHUBMIX_KEY}
- IMAGE_GEN_OAI_MODEL=gpt-image-1 - IMAGE_GEN_OAI_MODEL=gpt-image-1
- JINA_API_KEY=${JINA_API_KEY}
volumes: volumes:
- type: bind - type: bind
source: ./librechat/librechat.yaml source: ./librechat/librechat.yaml
@@ -691,14 +692,20 @@ services:
environment: environment:
<<: *firecrawl-env <<: *firecrawl-env
HOST: "0.0.0.0" HOST: "0.0.0.0"
PORT: ${INTERNAL_PORT:-3002} PORT: 3002
FLY_PROCESS_GROUP: app FLY_PROCESS_GROUP: app
ENV: local ENV: local
VIRTUAL_HOST: scraper.${DOMAIN}
CERT_NAME: ${DOMAIN}
VIRTUAL_PORT: 3002
depends_on: depends_on:
- redis - redis
- playwright - playwright
ports: ports:
- "3002:3002" - "3002:3002"
networks:
- redis
- playwright
command: [ "pnpm", "run", "start:production" ] command: [ "pnpm", "run", "start:production" ]
firecrawl-worker: firecrawl-worker:
@@ -707,6 +714,9 @@ services:
environment: environment:
<<: *firecrawl-env <<: *firecrawl-env
FLY_PROCESS_GROUP: worker FLY_PROCESS_GROUP: worker
networks:
- redis
- playwright
depends_on: depends_on:
- redis - redis
- playwright - playwright

View File

@@ -136,7 +136,7 @@ endpoints:
- 'openai/o3' - 'openai/o3'
fetch: true fetch: true
titleConvo: true titleConvo: true
titleModel: 'meta-llama/llama-3-70b-instruct' titleModel: 'moonshotai/kimi-k2:free'
dropParams: ['stop'] dropParams: ['stop']
modelDisplayLabel: 'OpenRouter' modelDisplayLabel: 'OpenRouter'
@@ -150,7 +150,7 @@ endpoints:
- 'deepseek/deepseek-r1-0528:free' - 'deepseek/deepseek-r1-0528:free'
fetch: true fetch: true
titleConvo: true titleConvo: true
titleModel: 'meta-llama/llama-3-70b-instruct' titleModel: 'gpt-4o-mini'
dropParams: ['stop'] dropParams: ['stop']
modelDisplayLabel: 'OpenRouter' modelDisplayLabel: 'OpenRouter'
@@ -183,23 +183,23 @@ fileConfig:
quality: 0.92 quality: 0.92
# Memory configuration for user memories # Memory configuration for user memories
memory: # memory:
# (optional) Disable memory functionality # # (optional) Disable memory functionality
disabled: false # disabled: false
# (optional) Restrict memory keys to specific values to limit memory storage and improve consistency # # (optional) Restrict memory keys to specific values to limit memory storage and improve consistency
validKeys: ["preferences", "work_info", "personal_info", "skills", "interests", "context"] # validKeys: ["preferences", "work_info", "personal_info", "skills", "interests", "context"]
# (optional) Maximum token limit for memory storage (not yet implemented for token counting) # # (optional) Maximum token limit for memory storage (not yet implemented for token counting)
tokenLimit: 10000 # tokenLimit: 10000
# (optional) Enable personalization features (defaults to true if memory is configured) # # (optional) Enable personalization features (defaults to true if memory is configured)
# When false, users will not see the Personalization tab in settings # # When false, users will not see the Personalization tab in settings
personalize: true # personalize: true
# Memory agent configuration - either use an existing agent by ID or define inline # # Memory agent configuration - either use an existing agent by ID or define inline
agent: # agent:
# Option 1: Use existing agent by ID # # Option 1: Use existing agent by ID
# id: "your-memory-agent-id" # # id: "your-memory-agent-id"
# Option 2: Define agent inline # # Option 2: Define agent inline
provider: "openrouter" # provider: "openrouter"
model: "openai/gpt-4o-mini" # model: "openai/gpt-4o-mini"
instructions: "You are a memory management assistant. Store and manage user information accurately." # instructions: "You are a memory management assistant. Store and manage user information accurately."
model_parameters: # model_parameters:
temperature: 0.1 # temperature: 0.1