v0.12.0
What's Changed
- fix encoding issue by @mlikasam-askui in #117
- fix: change
ModelNameto a regular class so that (class) constants can be used like regular strings in Python >3.10 by @adi-wan-askui in #116 - feat(get): support PDF processing and refactor image handling by @danyalxahid-askui in #115
🚀 Features
- feat(get): support PDF processing and refactor image handling by @danyalxahid-askui in #115
- Updated the
getmethod to accept both images and PDFs as sources (size up to 20MB) - Renamed the
imageparameter tosourcefor clarity - Added support for PDF processing in ASKUI-hosted gemini models (default)
- Updated the
🐛 Bug Fixes
- fix: change
ModelNameto 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"
- Fixes issues with using Gemini where
- fix: encoding issue by @mlikasam-askui in #117
🚨 Breaking Changes
- Renamed parameter of
AgentBase.get()method fromimagetosource - Data URL (
sourceofAgentBase.get()) now requires the mimetype to be specified (e.g.,"data:application/pdf;base64,JVBERi...")
Full Changelog: v0.11.0...v0.12.0