fabro/docs/reference
Bryan Helmkamp b91ae3df47
Add #[source] error chaining to SdkError and tool_type field to ToolCall
Preserve original error chains (reqwest, serde_json, etc.) in SdkError
via Arc<dyn Error>-backed #[source] fields on Network, RequestTimeout,
Stream, and Configuration variants. This makes production debugging of
network/TLS/DNS issues easier since error reporters can now walk the
full chain. Serde-compatible via #[serde(skip)] — message string still
carries the text for serialized forms.

Also add a `type` field to ToolCall (defaulting to "function") so
non-function tool types from providers won't be silently mishandled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 15:38:00 -04:00
..
acknowledgements.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00
architecture.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00
cli-configuration.mdx Docs updates: reorder nav, rename DOT Language, simplify dark factory, add fork/upgrade/asset docs 2026-03-15 20:13:23 -04:00
cli.mdx Extract fabro resume subcommand (#137) 2026-03-22 13:45:06 -04:00
dot-language.mdx Attractor spec hunks 14 & 16: remove error_policy and k_of_n/quorum from parallel handler 2026-03-23 14:59:35 -04:00
run-directory.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00
sdk.mdx Add #[source] error chaining to SdkError and tool_type field to ToolCall 2026-03-23 15:38:00 -04:00