Skip to content
Changelog

Consistent error handling for async tools improves reliability

Agno Team

January 21, 20261 min read

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.

Shipped around the same time