haiku.rag/haiku_rag_slim/haiku/rag/client
Yiorgis Gozadinos 2fef67d9fd
Name the databases before the model runs
`ask(sources=["typo"])` reached the model, which discovered the name only if it
searched: requests spent on a selection that could never answer, and a run that
never searched answered anyway.

Checked by name, not by opening: a client covering a set opens a database when a
query reaches it, and validating by opening would open every one of them before
any search, letting a database nobody asked about fail the run.
2026-08-27 17:07:41 +03:00
..
__init__.py Name the databases before the model runs 2026-08-27 17:07:41 +03:00
agents.py Name the databases before the model runs 2026-08-27 17:07:41 +03:00
documents.py Type writing against one database 2026-08-25 10:09:23 +03:00
downloads.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
exceptions.py typed UnsupportedSourceError replaces pipeline string-marker matching 2026-05-26 11:44:46 +03:00
processing.py Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
rebuild.py Type writing against one database 2026-08-25 10:09:23 +03:00
scope.py Trim the comments to what a reader needs 2026-08-26 13:29:00 +03:00
search.py Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00
session.py Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
titles.py Extract title generation into client/titles.py 2026-04-24 14:42:53 +03:00