Fix comprehensive system issues and implement proper vector database backend selection

- Fix reflection memory spam despite zero active characters in scheduler.py
- Add character enable/disable functionality to admin interface
- Fix Docker configuration with proper network setup and service dependencies
- Resolve admin interface JavaScript errors and login issues
- Fix MCP import paths for updated package structure
- Add comprehensive character management with audit logging
- Implement proper character state management and persistence
- Fix database connectivity and initialization issues
- Add missing audit service for admin operations
- Complete Docker stack integration with all required services

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
matt
2025-07-06 19:54:49 -07:00
parent 5480219901
commit 004f0325ec
37 changed files with 6037 additions and 185 deletions

View File

@@ -1,20 +1,65 @@
# Discord Configuration
DISCORD_BOT_TOKEN=your_bot_token_here
# Discord Fishbowl Environment Configuration
# Copy this file to .env and fill in your actual values
# NEVER commit .env files to version control
# Discord Bot Configuration
DISCORD_BOT_TOKEN=your_discord_bot_token_here
DISCORD_GUILD_ID=your_guild_id_here
DISCORD_CHANNEL_ID=your_channel_id_here
# Database Configuration
# Database Configuration (matches current working setup)
DB_TYPE=postgresql
DB_HOST=localhost
DB_PORT=5432
DB_PORT=15432
DB_NAME=discord_fishbowl
DB_USER=postgres
DB_PASSWORD=your_password_here
DB_PASSWORD=fishbowl_password
DATABASE_URL=postgresql+asyncpg://postgres:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}
# Redis Configuration
# Redis Configuration (matches current working setup)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password_here
REDIS_PASSWORD=redis_password
REDIS_DB=0
# Vector Database Configuration
VECTOR_DB_TYPE=qdrant
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_COLLECTION=fishbowl_memories
# LLM Configuration
LLM_BASE_URL=http://localhost:11434
LLM_MODEL=llama2
LLM_BASE_URL=http://192.168.1.200:5005/v1
LLM_MODEL=koboldcpp/Broken-Tutu-24B-Transgression-v2.0.i1-Q4_K_M
LLM_API_KEY=x
LLM_TIMEOUT=300
LLM_MAX_TOKENS=2000
LLM_TEMPERATURE=0.8
LLM_MAX_PROMPT_LENGTH=6000
LLM_MAX_HISTORY_MESSAGES=5
LLM_MAX_MEMORIES=5
# Admin Interface Configuration (matches current working setup)
ADMIN_HOST=0.0.0.0
ADMIN_PORT=8294
ADMIN_USERNAME=admin
ADMIN_PASSWORD=FIre!@34
SECRET_KEY=CAKUZ5ds49B1PUEWDWt07TdgxjTtDvvxOOkvOOfbnDE
# System Configuration
CONVERSATION_FREQUENCY=0.5
RESPONSE_DELAY_MIN=1.0
RESPONSE_DELAY_MAX=5.0
MEMORY_RETENTION_DAYS=90
MAX_CONVERSATION_LENGTH=50
CREATIVITY_BOOST=true
SAFETY_MONITORING=false
AUTO_MODERATION=false
PERSONALITY_CHANGE_RATE=0.1
# Logging Configuration
LOG_LEVEL=INFO
ENVIRONMENT=development
# Optional Services (for development)
PGADMIN_PASSWORD=generate_secure_pgadmin_password_here