singularity-forge/docs/extending-pi/21-error-handling.md
2026-03-11 00:54:01 -06:00

8 lines
267 B
Markdown

# Error Handling
- **Extension errors** are logged but don't crash pi. The agent continues.
- **`tool_call` handler errors** block the tool (fail-safe behavior).
- **Tool `execute` errors** are reported to the LLM with `isError: true`, allowing it to recover.
---