Skip to content

v0.39.0

Latest

Choose a tag to compare

@philipph-askui philipph-askui released this 16 Jul 11:21
8049b7d

v0.39.0

🎉 Overview

v0.39.0 adds support for the latest Anthropic models via adaptive thinking, so agents automatically use the right thinking configuration (budget_tokens vs. {"type": "adaptive"} + effort) for whichever model generation they run on — including Sonnet 5, Opus 4.6/4.7/4.8, and Fable 5. WebAgent gains multi-tab support with tools to list, switch, and close tabs plus configurable auto-following of newly opened tabs, and browser downloads are now reliably completed before teardown. The release also trims several unused runtime dependencies to slim the installation.

✨ New Features

  • Adaptive thinking support for the latest Anthropic models — make_thinking_settings() picks the correct thinking configuration per model generation, using a fixed budget_tokens for older models (Sonnet 4/4.5, Opus 4.1/4.5, Haiku 4.5) and {"type": "adaptive"} with an effort setting for newer ones (Sonnet 4.6/5, Opus 4.6/4.7/4.8, Fable 5); agents enable thinking by default without needing to know which generation they run on by @philipph-askui in #292
  • Multi-tab support for WebAgent — new list_tabs, switch_tab, and close_tab tools let act() manage browser tabs, and the new auto_follow_new_tab parameter (default True) controls whether tabs opened via target="_blank" / window.open() automatically become active; agent.os.switch_tab() allows manual switching by @philipph-askui in #294
  • WebAgent.wait_until_downloads_complete() — blocks until all downloads started so far are fully saved to download_dir and returns their absolute paths, raising DownloadError if any could not be saved by @philipph-askui in #293

🐛 Bug Fixes

  • Browser downloads are now completed before browser teardown instead of being truncated, so files triggered late in a run are saved intact by @philipph-askui in #293
  • Reliably flushed new-tab events before taking a screenshot and corrected auto-follow-new-tab behavior for the Playwright sync API by @philipph-askui in #294

🔧 Improvements

  • Removed unused runtime dependencies (apscheduler, sqlalchemy, aiofiles, requests, python-dateutil) and their dev type stubs to slim the installation by @philipph-askui in #294

Full Changelog: v0.38.0...v0.39.0