Private
Public Access
0
0

fix(test+rag): clean chroma cache pre-test + add INVESTIGATE stderr for RAG init

This commit is contained in:
2026-06-10 17:20:57 -04:00
parent a3abe49ca9
commit 5a9b8d6891
2 changed files with 22 additions and 2 deletions
+3 -1
View File
@@ -1489,8 +1489,10 @@ class AppController:
else:
self._set_rag_status("ready")
except Exception as e:
import traceback as _tb_investigate
self._set_rag_status(f"error: {e}")
sys.stderr.write(f"[DEBUG RAG] Failed to sync engine: {e}\n")
sys.stderr.write(f"[RAG_INVESTIGATE] exception type={type(e).__name__}, module={type(e).__module__}, str={str(e)!r}\n")
sys.stderr.write(f"[RAG_INVESTIGATE] traceback:\n{_tb_investigate.format_exc()}\n")
sys.stderr.flush()
with self._rag_sync_lock:
if not self._rag_sync_dirty: