|
|
970f2437d4
|
test: fix brain.add() return type usage in VFS tests
Fixed tests to correctly use brain.add() return value:
- brain.add() returns string (entity ID), not Entity object
- Updated tests to use knowledgeId instead of knowledgeEntity.id
- Simple VFS filter test now passing (demonstrates filtering works)
- 3/5 integration tests passing
Verified working:
✅ brain.find() excludes VFS by default
✅ brain.find({ includeVFS: true }) includes VFS
✅ Type queries (Document, Collection) filter correctly
✅ Where clause with isVFS works
✅ VFS-knowledge relationships work
Note: Semantic search tests still failing (Buffer embedding issue)
|
2025-10-24 11:50:36 -07:00 |
|