From 70e8a67113c48a6e0ca2241e66730f41b4ea4499 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 23 Feb 2026 23:12:06 +0100 Subject: [PATCH] feat: fuck freja --- .env.example | 2 +- docker-compose.yml | 12 ++++++++++++ src/core/config.ts | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 docker-compose.yml diff --git a/.env.example b/.env.example index 54ac2d3..8d9d4b8 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ HF_TOKEN="" OPENAI_API_KEY="" OPENROUTER_API_KEY="" AI_CLASSIFICATION_MODEL="google/gemma-3-12b-it:free" -AI_CLASSIFICATION_FALLBACK_MODELS="qwen/qwen-2.5-7b-instruct:free,mistralai/mistral-7b-instruct:free" +AI_CLASSIFICATION_FALLBACK_MODELS="meta-llama/llama-3.3-70b-instruct:free,mistralai/mistral-small-3.1-24b-instruct:free" REPLICATE_API_TOKEN="" ELEVENLABS_API_KEY="" ELEVENLABS_VOICE_ID="" diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0ce3c9b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: '3.8' + +services: + joel-bot: + build: . + container_name: joel-bot + restart: unless-stopped + volumes: + # Maps the local ./data folder to the container's /data folder + - ./data:/data + env_file: + - .env diff --git a/src/core/config.ts b/src/core/config.ts index babf2d7..c02377a 100644 --- a/src/core/config.ts +++ b/src/core/config.ts @@ -105,8 +105,8 @@ export const config: BotConfig = { "google/gemma-3-12b-it:free" ), classificationFallbackModels: getCsvEnvOrDefault("AI_CLASSIFICATION_FALLBACK_MODELS", [ - "qwen/qwen-2.5-7b-instruct:free", - "mistralai/mistral-7b-instruct:free", + "meta-llama/llama-3.3-70b-instruct:free", + "mistralai/mistral-small-3.1-24b-instruct:free", ]), maxTokens: parseInt(getEnvOrDefault("AI_MAX_TOKENS", "500")), temperature: parseFloat(getEnvOrDefault("AI_TEMPERATURE", "1.2")),