Skip to content

Releases: askui/python-sdk

v0.14.0

26 Aug 12:55

Choose a tag to compare

What's Changed

🚀 Features

  • Controller Arguments Support: Enhanced controller functionality with configurable arguments support, providing better flexibility and control over AskUI Controller, e.g., showing/hiding overlay

🚨 Breaking Changes

  • AskUI Hub/Workspaces API Removal: Completely removed the unused AskUI Hub and Workspaces API client (~25k lines of code) that led to problems with long paths on Windows
    • Removed AskUIHub class and all workspace-related APIs
    • Removed hub property from AgentToolbox class in src/askui/tools/toolbox.py:33
    • Removed all AskUI workspaces exceptions from src/askui/tools/askui/exceptions.py

Full Changelog: v0.13.0...v0.14.0

v0.13.0

22 Aug 16:11

Choose a tag to compare

What's Changed

🚀 Features

  • Office Document Support: Excel and Word: Pass .xlsx, .xls, .docx, .doc files to <Agent>.get() as string (path) or pathlib.Path
  • MCP (Model Context Protocol) Tool Support:
    • Pass fastmcp.Client to ToolCollection and ToolCollection to <Agent>.act() to use MCP tools
    • Use MCP config endpoints of Chat API to configure MCP servers to be used by agents within chat (for now, no filtering of servers or tools, unavailable servers are ignored)
  • Chat:
    • Start agent run / conversation with single create_thread_and_run endpoint to create a thread (conversation) and execute an agent to continue the thread (conversation)
    • Add Files API for managing files referenced from within chat messages
    • Scope resources to workspaces instead of sharing them across all workspaces (with exception of assistants/agents)

🐛 Bug Fixes

  • Chat
    • Consistent encoding of files used for storage of resources (UTF-8)
    • Resource ID generation and ordering of resources when listing them

Other

  • Unified input source types: Replaced various type definitions (Img, Excel, Pdf) with standardized InputSource type
  • Improved documentation: Extracted documentation from README to dedicated /docs folder
  • Chat message storage optimization: Changed from single JSONL file to individual files for better scalability
  • Async/await: Switch to async/await under the hood and for creating a run for supporting async-first fastmcp framework and improving performance
  • New documentation: Added detailed guides for MCP, extracting data, chat API, and more

🚨 Breaking Changes

  • ActModel.act(): The tools parameter is now a ToolCollection instead of a list of Tool
  • Chat: You are going to loose all your chats when upgrading to this version as we changed how we store them

Full Changelog: v0.12.1...v0.13.0

v0.12.1

15 Aug 13:54

Choose a tag to compare

What's Changed

🚀 Features

  • feat: AgentBase.locate_all() to locate (points) of all element matching a locator by @mlikasam-askui in #118

🐛 Bug Fixes

Full Changelog: v0.12.0...v0.12.1

v0.12.0

15 Aug 09:20

Choose a tag to compare

What's Changed

🚀 Features

  • feat(get): support PDF processing and refactor image handling by @danyalxahid-askui in #115
    • Updated the get method to accept both images and PDFs as sources (size up to 20MB)
    • Renamed the image parameter to source for clarity
    • Added support for PDF processing in ASKUI-hosted gemini models (default)

🐛 Bug Fixes

  • fix: change ModelName to a regular class so that constants can be used like regular strings in Python >3.10 by @adi-wan-askui in #116
    • Fixes issues with using Gemini where "ModelName.GEMINI__2_5__FLASH" was passed as model id instead of "gemini-2.5-flash"
  • fix: encoding issue by @mlikasam-askui in #117

🚨 Breaking Changes

  • Renamed parameter of AgentBase.get() method from image to source
  • Data URL (source of AgentBase.get()) now requires the mimetype to be specified (e.g., "data:application/pdf;base64,JVBERi...")

Full Changelog: v0.11.0...v0.12.0

v0.11.0

11 Aug 09:11
7ef6439

Choose a tag to compare

What's Changed

• Re release of the previous release 0.10.5 as a major upgrade because of breaking changes

Full Changelog: v0.10.5...v0.11.0

v0.10.5

11 Aug 08:17

Choose a tag to compare

What's Changed

🐞 Bug Fixes

  • Issue with Tars Model Initialization

🚨 Breaking Changes

  • UI-TARS: If you want to use UI-TARS, it is from now on required to provide a model name using the env variable TARS_MODEL_NAME.

Full Changelog: v0.10.4...v0.10.5

v0.10.4

07 Aug 09:28
18f7bd2

Choose a tag to compare

What's Changed

🐞 Bug Fixes

Full Changelog: v0.10.3...v0.10.4

v0.10.3

01 Aug 09:45

Choose a tag to compare

What's Changed

  • refactor(gemini): retry on more error codes & interpret retry-after header by @adi-wan-askui in #112

Full Changelog: v0.10.2...v0.10.3

v0.10.2

31 Jul 16:34

Choose a tag to compare

🐞 Bug Fixes

  • Optional dependencies (regression): Fixed that importing VisionAgent failed when installing askui via pip install askui as optional dependencies were imported although not available (made fastapi a required dependency as some tools require it)

Full Changelog: v0.10.1...v0.10.2

v0.10.1

31 Jul 16:20

Choose a tag to compare

What's Changed

🐞 Bug Fixes

  • Optional dependencies: Fixed that importing VisionAgent failed when installing askui via pip install askui as optional dependencies were imported although not available
  • Stability: Made AskUI model usage more stable, 502 errors from API are now also retried and retry logic is improved with it so we retry 3 times (30, 60, 120 s)

Full Changelog: v0.10.0...v0.10.1