Files
DeepTutor/tests/services/rag
Rudy Celekli b71c2b7e3a fix(rag): count LightRAG docs from the native workspace store
The LightRAG index probe reported doc_count=None for every native-layout
index. _lightrag_doc_count read kv_store_doc_status.json from the version
root, but native LightRAG keeps its KV stores under a deeptutor_<hash>
workspace subdir; every other reader (has_output, failure_summary,
document_error) resolves that subdir via storage._store_root first.

Move the count into the storage module as a public doc_count() that
resolves the store root the same way, and have index_probe delegate to it.
A ready native index now reports its real count instead of None, so the KB
version list, last_indexed_count and linked-folder probe stop falling back
to a raw-file guess.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-01 09:10:24 -05:00
..
2026-08-19 17:34:52 +08:00
2026-08-19 17:34:52 +08:00
2026-09-06 13:46:29 +08:00
2026-08-17 11:22:26 +08:00