Commit graph

3 commits

Author SHA1 Message Date
Bob Roberts
8e696f0323 Code cleanup still and all tests passing now 2025-12-02 15:28:25 -06:00
Bob Roberts
8d38791b03 Project cleanup 2025-10-31 16:54:28 -05:00
Bob Roberts
cc02d7b7f2 test(core): Fix test suite and improve core configuration
Replace PostgreSQL with SQLite for testing and add comprehensive test fixtures.
Update core configuration with missing attributes and getter methods.
Improve regex patterns in conversation watcher for accurate trigger detection.
Add __str__ method to AgentOSContentType enum for better string representation.

Changes:
- Rewrite conftest.py to use SQLite instead of PostgreSQL
- Add CONFIG attributes: EMBEDDING_MODEL, LLM_MODEL, MAX_CONTEXT_LENGTH, etc.
- Add getter methods with environment variable support and validation
- Implement ConfigMeta metaclass to prevent configuration modification
- Fix conversation_watcher trigger patterns with improved lookahead assertions
- Add __str__ method to AgentOSContentType enum
- Update health.py with backwards-compatible function naming
- Add test files: test_config.py, test_agent_os.py, test_conversation_watcher.py, test_health.py

All changes are backwards compatible and verified safe for production.
Test suite now has 92+ passing tests with proper SQLite integration.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 21:52:46 -05:00