From f776320efb641e1d5f921e3403ca0e76f66a74fe Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 25 Jul 2025 22:08:45 +0100 Subject: [PATCH] Still working on web search --- .env.example | 1 + docker-compose.yml | 12 ++++++++++- librechat/librechat.yaml | 44 ++++++++++++++++++++-------------------- 3 files changed, 34 insertions(+), 23 deletions(-) diff --git a/.env.example b/.env.example index 8252e4b..f2c5ef3 100644 --- a/.env.example +++ b/.env.example @@ -54,6 +54,7 @@ LIBRECHAT_JWT_SECRET= LIBRECHAT_JWT_REFRESH_SECRET= OPENROUTER_KEY= AIHUBMIX_KEY= +JINA_API_KEY= # # Meilisearch settings diff --git a/docker-compose.yml b/docker-compose.yml index c5dcd27..db5dc46 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -207,6 +207,7 @@ services: - OPENROUTER_KEY=${OPENROUTER_KEY} - IMAGE_GEN_OAI_API_KEY=${AIHUBMIX_KEY} - IMAGE_GEN_OAI_MODEL=gpt-image-1 + - JINA_API_KEY=${JINA_API_KEY} volumes: - type: bind source: ./librechat/librechat.yaml @@ -691,14 +692,20 @@ services: environment: <<: *firecrawl-env HOST: "0.0.0.0" - PORT: ${INTERNAL_PORT:-3002} + PORT: 3002 FLY_PROCESS_GROUP: app ENV: local + VIRTUAL_HOST: scraper.${DOMAIN} + CERT_NAME: ${DOMAIN} + VIRTUAL_PORT: 3002 depends_on: - redis - playwright ports: - "3002:3002" + networks: + - redis + - playwright command: [ "pnpm", "run", "start:production" ] firecrawl-worker: @@ -707,6 +714,9 @@ services: environment: <<: *firecrawl-env FLY_PROCESS_GROUP: worker + networks: + - redis + - playwright depends_on: - redis - playwright diff --git a/librechat/librechat.yaml b/librechat/librechat.yaml index 8eaeb52..425a091 100644 --- a/librechat/librechat.yaml +++ b/librechat/librechat.yaml @@ -136,7 +136,7 @@ endpoints: - 'openai/o3' fetch: true titleConvo: true - titleModel: 'meta-llama/llama-3-70b-instruct' + titleModel: 'moonshotai/kimi-k2:free' dropParams: ['stop'] modelDisplayLabel: 'OpenRouter' @@ -150,7 +150,7 @@ endpoints: - 'deepseek/deepseek-r1-0528:free' fetch: true titleConvo: true - titleModel: 'meta-llama/llama-3-70b-instruct' + titleModel: 'gpt-4o-mini' dropParams: ['stop'] modelDisplayLabel: 'OpenRouter' @@ -183,23 +183,23 @@ fileConfig: quality: 0.92 # Memory configuration for user memories -memory: - # (optional) Disable memory functionality - disabled: false - # (optional) Restrict memory keys to specific values to limit memory storage and improve consistency - validKeys: ["preferences", "work_info", "personal_info", "skills", "interests", "context"] - # (optional) Maximum token limit for memory storage (not yet implemented for token counting) - tokenLimit: 10000 - # (optional) Enable personalization features (defaults to true if memory is configured) - # When false, users will not see the Personalization tab in settings - personalize: true - # Memory agent configuration - either use an existing agent by ID or define inline - agent: - # Option 1: Use existing agent by ID - # id: "your-memory-agent-id" - # Option 2: Define agent inline - provider: "openrouter" - model: "openai/gpt-4o-mini" - instructions: "You are a memory management assistant. Store and manage user information accurately." - model_parameters: - temperature: 0.1 +# memory: +# # (optional) Disable memory functionality +# disabled: false +# # (optional) Restrict memory keys to specific values to limit memory storage and improve consistency +# validKeys: ["preferences", "work_info", "personal_info", "skills", "interests", "context"] +# # (optional) Maximum token limit for memory storage (not yet implemented for token counting) +# tokenLimit: 10000 +# # (optional) Enable personalization features (defaults to true if memory is configured) +# # When false, users will not see the Personalization tab in settings +# personalize: true +# # Memory agent configuration - either use an existing agent by ID or define inline +# agent: +# # Option 1: Use existing agent by ID +# # id: "your-memory-agent-id" +# # Option 2: Define agent inline +# provider: "openrouter" +# model: "openai/gpt-4o-mini" +# instructions: "You are a memory management assistant. Store and manage user information accurately." +# model_parameters: +# temperature: 0.1