haiku.rag/docs
Yiorgis Gozadinos 2a6d72171d
Make MCP failures errors on the wire
FastMCP masks unexpected exceptions and logs the traceback server-side,
so paths and provider URLs never cross the transport. Expected failures
raise ToolError with a message: unknown document, unknown collection,
invalid filter, invalid base64, and agent failures naming only the
exception type. No tool returns an empty value or an error string on
failure any more.

A filter is validated on its own before the read that would use it, with
a filtered count on one of the selected databases: that is the query
engine rejecting the filter and nothing else, so its message (columns and
the statement) can be forwarded, while a ValueError raised later in the
read stays masked and no database outside the selection is opened.

Refs #599
2026-09-04 13:00:15 +03:00
..
capabilities Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
configuration Cover the configured database set from the MCP server 2026-09-04 13:00:14 +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 Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
benchmarks.md Document vector index state and measured cost 2026-09-01 15:19:13 +03:00
changelog.md Improve documentation 2025-11-28 13:10:03 +02:00
chat.md Update caps documentation 2026-08-13 14:08:14 +03:00
cli.md Cover the configured database set from the MCP server 2026-09-04 13:00:14 +03:00
custom-pipelines.md Linting, doc edits 2026-08-18 12:18:10 +02:00
development.md Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
index.md Give the docs an architecture page and one extras list 2026-08-20 15:07:06 +03:00
ingester.md Give the docs an architecture page and one extras list 2026-08-20 15:07:06 +03:00
installation.md Give the docs an architecture page and one extras list 2026-08-20 15:07:06 +03:00
mcp.md Make MCP failures errors on the wire 2026-09-04 13:00:15 +03:00
overview.md One reference and one placement for a database 2026-09-03 15:12:08 +03:00
python.md Name the remedy for a missing configured database and list the databases an unknown name could have meant 2026-09-03 15:26:42 +03:00
remote-processing.md Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
tools.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
tuning.md Remove the wix evaluation dataset 2026-08-14 14:46:51 +03:00
tutorial.md Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00