fix: Make tests pass and update documentation
- Fix config.py to ignore extra environment variables (docker-compose compatibility) - Create PortableJSON type for SQLite/PostgreSQL compatibility in tests - Replace JSONB and ARRAY types with PortableJSON in models - Add ensure_utc() helper to handle timezone-naive datetimes from SQLite - Fix timezone issues in mood_service, relationship_service, and self_awareness_service - Fix duplicate code in test_providers.py - Update CLAUDE.md with comprehensive Living AI documentation - Add testing section with commands and setup details - All 112 tests now pass successfully
This commit is contained in:
@@ -23,7 +23,7 @@ GEMINI_API_KEY=xxx
|
||||
AI_MAX_TOKENS=1024
|
||||
|
||||
# AI creativity/randomness (0.0 = deterministic, 2.0 = very creative)
|
||||
AI_TEMPERATURE=0.7
|
||||
AI_TEMPERATURE=1
|
||||
|
||||
# ===========================================
|
||||
# Bot Identity & Personality
|
||||
@@ -62,6 +62,8 @@ CONVERSATION_TIMEOUT_MINUTES=60
|
||||
|
||||
# Password for PostgreSQL when using docker-compose
|
||||
POSTGRES_PASSWORD=daemon
|
||||
POSTGRES_USER=daemon
|
||||
POSTGRES_DB=daemon_boyfriend
|
||||
|
||||
# Echo SQL statements for debugging (true/false)
|
||||
DATABASE_ECHO=false
|
||||
|
||||
Reference in New Issue
Block a user