Skip to content

v0.12.0

Choose a tag to compare

@adi-wan-askui adi-wan-askui released this 15 Aug 09:20
· 649 commits to main since this release

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