v0.33.0
v0.33.0
π Overview
v0.33.0 introduces AutomationError β a new exception type for unfixable errors that immediately terminate agent execution instead of being auto-corrected. The conversation control loop now properly cleans up via try/finally, ensuring reporters and teardown always run even when errors propagate. This release also corrects the typing speed unit documentation and fixes a bug where messages could be lost if the truncation strategy crashed.
β¨ New Features
AutomationErrorβ new exception type for unfixable errors (e.g., missing credentials, unreachable services) that propagates immediately to the caller, bypassing the agent's auto-correction retry loop. Regular exceptions remain fixable by the agent as before. by @philipph-askui in #271- Documentation for error handling in tools β added a new "Error Handling in Tools" section to the tools guide explaining the distinction between fixable errors (regular exceptions) and unfixable errors (
AutomationError) by @philipph-askui in #271
π§ Improvements
- Conversation control loop now uses
try/finallyto guarantee_on_conversation_end()and_teardown_control_loop()execute even when anAutomationErroror other exception propagates, preventing resource leaks by @philipph-askui in #271 - Messages are now reported to the reporter before being passed to the truncation strategy, preventing data loss if truncation crashes by @philipph-askui in #274
- Truncation failures are now caught, logged, and reported to the reporter with the message
"Truncation Failed with error: {e}"before re-raising, improving observability of context-window management errors by @philipph-askui in #274
π Bug Fixes
- Corrected typing speed unit in
ComputerTypeTooldescription andAgentOs.type()docstring from "characters per minute" to "characters per second" by @philipph-askui in #272
β οΈ Breaking Changes
AgentExceptionrenamed toAgentErrorβ if you were catchingAgentExceptiondirectly, update your imports to useAgentErrorfromaskui.models.shared.tools
Full Changelog: v0.32.1...v0.33.0