v2.4.1
January 21, 2026
Consistent error handling for async tools improves reliability
Async generator tools now capture and surface errors on the tool call —matching synchronous behavior — instead of re-raising exceptions. This delivers more predictable orchestration and fewer unexpected failures in long-running or streaming tool workflows. If your implementation relied on exceptions being thrown, update handlers accordingly.
Details
- Aligns async error handling with sync tools for consistent behavior
- Reduces unexpected cancellations caused by unhandled async exceptions
- Improves reliability in streaming and long-running workflows
Who this is for: Teams building automation with async or streaming tools.
