haiku.rag/tests/capabilities
Yiorgis Gozadinos a79f348ac7
Recognise our own redirect by a tag, not by its wording
`_already_asked` matched the redirect's phrasing, so a question that merely contained
it read as a redirect we had sent and switched enforcement off for that question. The
redirect carries `[haiku.rag/citation-redirect]` and detection matches that, the same
way retrieved pictures are identified by a tag rather than by the prose beside them.
2026-08-13 13:39:43 +03:00
..
conftest.py replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
test_capabilities.py Let a model declare that nothing grounds its answer 2026-08-13 13:39:42 +03:00
test_citation_policy.py Recognise our own redirect by a tag, not by its wording 2026-08-13 13:39:43 +03:00
test_evidence_capsule.py Require an answer to declare what grounds it, once per question 2026-08-13 13:39:42 +03:00
test_evidence_ledger.py Enforce a declaration wherever there is something to declare 2026-08-13 13:39:42 +03:00
test_evidence_wire.py Give the capsule to one return, and the run its own copy of state 2026-08-13 13:00:02 +03:00