Documentation
¶
Overview ¶
Example demonstrating WithErrorControl: fallback after LLM failure, one extra iteration past max-iter, and a per-tool circuit breaker.
All scenarios use stub LLM clients and a stub tool — no provider key and no extra infra. AGENT_RUNTIME=temporal or restate still works via config.RuntimeOption.
Run from examples/:
go run ./agent_with_error_control
Click to show internal directories.
Click to hide internal directories.