Files
discord-fishbowl/.env.docker
root 10563900a3 Implement comprehensive LLM provider system with global cost protection
- Add multi-provider LLM architecture supporting OpenRouter, OpenAI, Gemini, and custom providers
- Implement global LLM on/off switch with default DISABLED state for cost protection
- Add per-character LLM configuration with provider-specific models and settings
- Create performance-optimized caching system for LLM enabled status checks
- Add API key validation before enabling LLM providers to prevent broken configurations
- Implement audit logging for all LLM enable/disable actions for cost accountability
- Create comprehensive admin UI with prominent cost warnings and confirmation dialogs
- Add visual indicators in character list for custom AI model configurations
- Build character-specific LLM client system with global fallback mechanism
- Add database schema support for per-character LLM settings
- Implement graceful fallback responses when LLM is globally disabled
- Create provider testing and validation system for reliable connections
2025-07-08 07:35:48 -07:00

42 lines
966 B
Docker

# Docker Compose Environment Variables
# Generated by Discord Fishbowl setup script
# Database
DB_PASSWORD=fishbowl_password
# Redis
REDIS_PASSWORD=redis_password
# Discord Bot
DISCORD_BOT_TOKEN=MTM5MDkxODI2MDc5NDU5MzM0NQ.GVlKpo.TrF51dlBv-3uJcscrK9xzs0CLqvakKePCCU350
DISCORD_GUILD_ID=110670463348260864
DISCORD_CHANNEL_ID=1391280548059811900
# LLM Configuration
LLM_BASE_URL=http://192.168.1.200:5005/v1
LLM_MODEL=koboldcpp/Broken-Tutu-24B-Transgression-v2.0.i1-Q4_K_M
LLM_TIMEOUT=300
LLM_MAX_TOKENS=2000
LLM_TEMPERATURE=0.8
LLM_MAX_PROMPT_LENGTH=16000
LLM_MAX_HISTORY_MESSAGES=5
LLM_MAX_MEMORIES=5
# Admin Interface
ADMIN_PORT=8294
SECRET_KEY=stable-secret-key-for-jwt-tokens-fishbowl-2025
ADMIN_USERNAME=admin
ADMIN_PASSWORD=FIre!@34
# Optional PgAdmin credentials (if using --profile admin)
PGADMIN_PASSWORD=admin123
# Vector Database
VECTOR_DB_TYPE=qdrant
QDRANT_HOST=qdrant
QDRANT_PORT=6333
QDRANT_COLLECTION=fishbowl_memories
# Logging
LOG_LEVEL=INFO