fix: split Chroma embedding lanes (#3046)

This commit is contained in:
Nicholai
2026-06-06 03:17:19 -06:00
committed by GitHub
parent 463713c2c6
commit 86abcb75d0
6 changed files with 1995 additions and 294 deletions
+20
View File
@@ -316,6 +316,16 @@ def setup_embedding_routes():
reset_http_embed_state()
except Exception:
pass
try:
from src.embedding_lanes import reset_embedding_lane_state
reset_embedding_lane_state()
except Exception:
pass
try:
from src.tool_index import reset_tool_index
reset_tool_index()
except Exception:
pass
# Reset ChromaDB client (collections will be recreated with new embeddings)
try:
@@ -347,6 +357,16 @@ def setup_embedding_routes():
reset_http_embed_state()
except Exception:
pass
try:
from src.embedding_lanes import reset_embedding_lane_state
reset_embedding_lane_state()
except Exception:
pass
try:
from src.tool_index import reset_tool_index
reset_tool_index()
except Exception:
pass
# Reset ChromaDB client
try: