feat: Add database setup guide and local configuration files
- Added DATABASE_SETUP.md with comprehensive guide for PostgreSQL and Redis installation on Windows - Created .claude/settings.local.json with permission settings for pytest and database fix scripts - Updated .gitignore to exclude .env.backup file - Included database connection test utilities in lyra/database_setup.py - Added environment variable configuration examples for local development
This commit is contained in:
@@ -7,12 +7,10 @@ express, and remember emotions like a real person.
|
||||
|
||||
from .system import EmotionalSystem, EmotionalState, EmotionMemory
|
||||
from .expressions import EmotionalExpressionEngine
|
||||
from .responses import EmotionalResponseGenerator
|
||||
|
||||
__all__ = [
|
||||
"EmotionalSystem",
|
||||
"EmotionalState",
|
||||
"EmotionMemory",
|
||||
"EmotionalExpressionEngine",
|
||||
"EmotionalResponseGenerator"
|
||||
"EmotionalExpressionEngine"
|
||||
]
|
@@ -573,7 +573,7 @@ class EmotionalSystem(nn.Module):
|
||||
'emotional_growth': {
|
||||
'maturity': self.emotional_maturity,
|
||||
'total_experiences': self.emotional_experiences,
|
||||
'learning_rate': float(self.emotional_learning_rate)
|
||||
'learning_rate': float(self.emotional_learning_rate.detach())
|
||||
},
|
||||
'memory_system': {
|
||||
'total_memories': len(self.emotion_memories),
|
||||
|
Reference in New Issue
Block a user