haiku.rag/docs
Yiorgis Gozadinos c137305468
Scope the limit notice and spend the cite window on own turns only
The request-limit notice said only the cite tool remained available, but
chat registers rag and analysis in one agent, so exhausting analysis
claimed rag_search was gone too. Scoped to the capability's own tools.

The cite window was counted over every model request once loaded, so
turns spent on another capability expired it before the model was ever
placed where citing was the obvious move. Count only requests whose
preceding response called one of this capability's tools; engagement is
also the only thing that can loop, which is all the bound guards against.

Also: _count_tool_traffic returns a named tuple rather than four bare
ints, and counts failures only for this capability's tools, so host-tool
retries and output-validation retries no longer read as its failures.
2026-07-30 19:14:14 +03:00
..
capabilities Scope the limit notice and spend the cite window on own turns only 2026-07-30 19:14:14 +03:00
configuration Document the real max_searches default 2026-07-30 14:56:17 +03:00
img Add ingester screenshot 2026-05-27 15:53:01 +03:00
stylesheets Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
apps.md Bind app example backend to loopback and document its lack of auth 2026-07-08 11:37:03 +03:00
benchmarks.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
changelog.md Improve documentation 2025-11-28 13:10:03 +02:00
chat.md Add image attachment to the chat TUI 2026-07-25 10:58:08 +03:00
cli.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
custom-pipelines.md Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
development.md Docs 2026-04-24 14:42:52 +03:00
index.md Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
ingester.md Add Logfire debugging skills and worker-breaker event 2026-07-10 13:23:17 +03:00
installation.md Fix packaging and settings facts in the docs 2026-07-28 18:22:05 +03:00
mcp.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
overview.md fix capability execution limits and chat loading 2026-07-24 15:26:17 +03:00
python.md Accept images on ask/analyze 2026-07-25 10:23:55 +03:00
remote-processing.md Store docling-serve chunk bodies via raw_text 2026-06-23 16:35:21 +03:00
tools.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
tuning.md Fix packaging and settings facts in the docs 2026-07-28 18:22:05 +03:00
tutorial.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00