3 Commits

Author SHA1 Message Date
93025d22fc About to restructure voicebot to support dynamic agent loading 2025-09-03 11:19:59 -07:00
1ba48bdc79 Adding whisper 2025-09-02 14:47:31 -07:00
2908fe1ee7 Refactor: Create shared Pydantic models for API communication
- Created shared/models.py with all common Pydantic models
- Updated voicebot/main.py to use shared models and remove dd.get() calls
- Updated server/main.py to use shared models
- Fixed lobby_state message handling with proper validation
- Updated Dockerfiles to include shared/ directory
- Added comprehensive documentation and migration guide

Benefits:
- Type safety across both components
- Consistent data validation
- Eliminated unsafe dictionary access patterns
- Centralized model definitions for easier maintenance
2025-09-01 13:36:24 -07:00