v0.6.0
What's Changed
Features
- Add
genai.protos
to discourage direct use of google.ai.generativelanguage by @MarkDaoust in #354 - Add video metadata and error to File by @MarkDaoust in #348
- Restrict Harm category to the subset supported by Gemini by @aertoria in #295
- Improve request_options by @MarkDaoust in #297
- Add GenerateContentResponse.to_dict() by @MarkDaoust in #337
- Quick safety filtering: Allow
safety_settings="block_none"
by @MarkDaoust in #347
Bugfixes
- Cleanup file data handling. by @MarkDaoust in #321
- Allow count_tokens with no
contents
. by @MarkDaoust in #342 - improve the no-credentials error message, fail fast for no-credentials in colab. by @MarkDaoust in #352
- Make printing less verbose. by @MarkDaoust in #340
- Add request options to chat. by @MarkDaoust in #341
- Handle image RGBA mode by @MarkDaoust in #374
Docs
- Fix bugs, improve code clarity, and enhance overall reliability across several files. by @Faisal-Alsrheed in #339
- Enhance functions Documentation and Improve Error Messages by @Faisal-Alsrheed in #350
- Fix argument description. by @MarkDaoust in #338
- Update init.py to use the latest model by @logankilpatrick in #362
New Contributors
- @Faisal-Alsrheed made their first contribution in #339
- @logankilpatrick made their first contribution in #362
Full Changelog: v0.5.4...v0.6.0