Commit graph

2 commits

Author SHA1 Message Date
b2cb85651a feat: Implement hybrid model management with multi-source fallbacks
- Add HybridModelManager with singleton pattern to prevent duplicate model loads
- Implement triple-fallback model downloading (CDN → GitHub → Hugging Face)
- Fix soft-delete filtering to only apply when metadata filters are present
- Enhance model initialization with environment-specific optimizations
- Fix vitest configuration to use correct setup file
- Ensure consistent 384-dimensional embeddings across all operations

This release combines the best of both approaches:
- Singleton pattern prevents multiple ONNX model loads in memory
- Multi-source fallback ensures model availability even if CDN is down
- Soft deletes work correctly without breaking pure vector searches
- All core functionality preserved with enhanced reliability
2025-08-19 13:13:37 -07:00
3d80df1726 fix: Resolve soft delete and add encrypted config support
- Fix soft delete functionality by filtering out deleted items in search results
- Add support for encrypted configuration storage and retrieval
- Copy test suite and vitest config to ensure all functionality works
- Maintain all core brainy functionality during repository cleanup
2025-08-18 17:49:57 -07:00