chore: archive deprecated chromadb and migration scripts

This commit is contained in:
2026-04-28 00:15:46 +00:00
parent d5b5c2ec14
commit 037d747573
10 changed files with 486 additions and 11 deletions
+3
View File
@@ -565,6 +565,7 @@ async def get_status(auth: str = Depends(require_auth)):
# Watcher status
watcher_running = False
watcher_ingestion = {"status": "idle", "message": "", "file_count": 0}
last_indexed = "Unknown"
try:
import time as _time, json as _json
@@ -573,6 +574,7 @@ async def get_status(auth: str = Depends(require_auth)):
_s = _json.loads(_sp.read_text())
_age = _time.time() - _s.get("timestamp", 0)
watcher_running = _s.get("running", False) and _age < 30
watcher_ingestion = _s.get("ingestion", watcher_ingestion)
except:
pass
@@ -613,6 +615,7 @@ async def get_status(auth: str = Depends(require_auth)):
return JSONResponse({
"aaron_ai": "running",
"watcher": "running" if watcher_running else "stopped",
"watcher_ingestion": watcher_ingestion,
"chunk_count": chunk_count,
"file_count": file_count,
"last_indexed": last_indexed,