Huginn/crates/huginn-daemon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 01925b829f Bound the query embed by the search deadline; one check-then-embed for search and flush
Embedder::embed takes the bound it must answer within. The query embed gets
QUERY_EMBED_TIMEOUT, derived from SEARCH_DEADLINE, which is also the serve
loop's default search timeout. The bulk flush embed keeps 300 s
(BULK_EMBED_TIMEOUT); it does not block serving.

Projector::embed_verified reads the model identity and the collection label,
embeds, re-reads the identity and refuses on change. Search and flush both use
it; the inline copies and step()'s separate identity read are gone. Flush now
also refuses a collection that is no longer this mind's.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 17:50:34 +02:00
..
src Bound the query embed by the search deadline; one check-then-embed for search and flush 2026-09-29 17:50:34 +02:00
tests Cut 11b: the semantic read, joined back through the mind 2026-09-29 13:37:01 +02:00
Cargo.toml Cut 11a: the index write side 2026-09-29 08:05:26 +02:00