v0.31.0
v0.31.0
🎉 Overview
v0.31.0 substantially improves the memory efficiency of askui. The SimpleHtmlReporter has been rearchitected to stream message rows (including base64-encoded screenshots) to a temporary file on disk instead of accumulating them in memory, significantly reducing memory usage during long-running sessions. Further, reporters are now wrapped with automatic error handling so that a failure in one reporter no longer crashes the agent.
✨ New Features
ReporterErrorHandler— a decorator that wraps anyReporterwith try/except error handling; on first failure the reporter is disabled for the rest of the session, preventing reporting errors from interrupting agent execution by @mlikasam-askui in #258
🔧 Improvements
SimpleHtmlReporternow streams HTML message rows to a temporary file as they arrive instead of holding all base64 image data in memory, reducing peak memory usage for screenshot-heavy sessions by @mlikasam-askui in #258CompositeReporternow automatically wraps all reporters inReporterErrorHandler, making error resilience the default behavior by @mlikasam-askui in #258
Full Changelog: v0.30.0...v0.31.0