Repository navigation
Conversation
…maDB On a fresh install, the preflight script used `get_or_create_collection` without specifying an embedding function. This caused ChromaDB to create the collection and permanently bind it to the `default` embedding model. A moment later, `KnowledgeOrchestrator` would try to open this newly created database using `FastEmbedEmbeddings`, crashing the server immediately with an `Embedding function conflict` error. Fixed this by passing `FastEmbedEmbeddings()` directly into the `get_or_create_collection` call in `preflight.py`. The database is now correctly stamped with the right embedding metadata from the start.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to Fresh installations no longer crash on an embedding mismatch at startup. Older installations with a mismatched index have it backed up automatically and rebuilt, so startup still completes. No blocking risk remains. Pre-merge checks |
|
Summary by CodeRabbit