haiku.rag/haiku_rag_slim/haiku/rag
Yiorgis Gozadinos 82fd10e0ee
Migrate LanceDB to native async API
Convert all LanceDB operations from sync calls wrapped in async
functions to the native async API (connect_async, AsyncConnection,
AsyncTable, AsyncQuery). Database I/O no longer blocks the event loop.

- Store and HaikuRAG use async context managers (async with). Store
  initialization is deferred to __aenter__; direct construction
  without async with is no longer supported.
- Index creation uses config objects (FTS, BTree, IvfPq) instead of
  string-based index_type parameter.
- Upgrade callbacks are async.
- HaikuRAG tracks background vacuum tasks and awaits them in __aexit__
  and before destructive rebuild operations to avoid races with
  concurrent table mutations.
- temp_db_path fixture uses pytest's tmp_path for reliable async
  cleanup.
2026-04-24 14:42:52 +03:00
..
agents address review: top-level AnalysisRunDeps import, asserts, e2e tests 2026-04-22 15:04:24 +03:00
chat fix chat TUI citation rendering after state flattening 2026-04-24 13:48:57 +03:00
chunkers enable repeat_table_header for self-contained table chunks and docling-serve parity 2026-03-26 14:02:12 +02:00
config fix context expansion: respect section boundaries, remove max_context_items 2026-04-20 15:18:16 +03:00
converters Update docling, docling-core and move to version 1.10.0 of DoclingDocument. 2026-03-23 17:34:06 +02:00
embeddings Add batching to embeddings for huge documents 2026-04-07 12:06:28 +03:00
inspector Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
providers Extract shared DoclingServeClient for async workflow & use it for VLM support, chunking, converting 2026-01-07 11:09:23 +02:00
reranking Jina uses AutoModel not AutoModelForSequenceClassification 2026-01-21 11:26:23 +02:00
skill_generator Remove documents from state, fix tests 2026-04-20 09:48:18 +03:00
skills flatten skill state citations from list[list[str]] to list[str] 2026-04-22 16:50:13 +03:00
store Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
tools remove dead code, add tool descriptions in frontend, update changelog 2026-04-20 15:38:17 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
cli.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
client.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
context.py fix context expansion: respect section boundaries, remove max_context_items 2026-04-20 15:18:16 +03:00
logging.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
mcp.py rename RLM agent to analysis throughout the codebase 2026-04-17 18:32:01 +03:00
monitor.py Update dependencies 2026-01-19 16:23:26 +02:00
utils.py deduplicate escape_sql_string into utils 2026-04-16 12:11:53 +03:00