feat: fuck freja

This commit is contained in:
eric
2026-02-23 23:12:06 +01:00
parent ae6ff0c228
commit 70e8a67113
3 changed files with 15 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ HF_TOKEN=""
OPENAI_API_KEY="" OPENAI_API_KEY=""
OPENROUTER_API_KEY="" OPENROUTER_API_KEY=""
AI_CLASSIFICATION_MODEL="google/gemma-3-12b-it:free" 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="" REPLICATE_API_TOKEN=""
ELEVENLABS_API_KEY="" ELEVENLABS_API_KEY=""
ELEVENLABS_VOICE_ID="" ELEVENLABS_VOICE_ID=""

12
docker-compose.yml Normal file
View File

@@ -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

View File

@@ -105,8 +105,8 @@ export const config: BotConfig = {
"google/gemma-3-12b-it:free" "google/gemma-3-12b-it:free"
), ),
classificationFallbackModels: getCsvEnvOrDefault("AI_CLASSIFICATION_FALLBACK_MODELS", [ classificationFallbackModels: getCsvEnvOrDefault("AI_CLASSIFICATION_FALLBACK_MODELS", [
"qwen/qwen-2.5-7b-instruct:free", "meta-llama/llama-3.3-70b-instruct:free",
"mistralai/mistral-7b-instruct:free", "mistralai/mistral-small-3.1-24b-instruct:free",
]), ]),
maxTokens: parseInt(getEnvOrDefault("AI_MAX_TOKENS", "500")), maxTokens: parseInt(getEnvOrDefault("AI_MAX_TOKENS", "500")),
temperature: parseFloat(getEnvOrDefault("AI_TEMPERATURE", "1.2")), temperature: parseFloat(getEnvOrDefault("AI_TEMPERATURE", "1.2")),