haiku.rag/docs
Yiorgis Gozadinos 221c90af72
Bound a compute-only call at code_timeout
The pool watchdog counts only the time a worker spends running code, so a read
that blocks the worker never trips it. The margin above code_timeout therefore
guarded a race that cannot happen, and only bought a runaway call 90s where 60s
was configured. Pass code_timeout straight through. The two limits are disjoint:
the watchdog bounds a call that computes, and the read deadline bounds a call
that reads.

Drop the ordering test, which was true for any positive margin. The containment
test no longer sets code_timeout to zero, because that value now also disables
the watchdog and kills the worker before the read guard can refuse. It patches
the guard instead.

Monty 0.0.19 runs a plain class and a class with __enter__ and __exit__. Only
inheritance and metaclasses raise. Say that in the instructions.

MemoryFile is no longer constructed, so drop the import, the annotation, and the
stale references in the sandbox docstring and CLAUDE.md. That CLAUDE.md line
also still claimed a ThreadPoolExecutor, _run_async, and a fresh interpreter per
call.
2026-07-28 19:11:19 +03:00
..
capabilities Document vision flag in create_capability 2026-07-24 16:37:39 +03:00
configuration Bound a compute-only call at code_timeout 2026-07-28 19:11:19 +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