v0.7.2 - Bugfix
What's Changed
Bugfixes
- Fix bug passing single-string safety settings. by @MarkDaoust in #417
- Fix operator conversion. by @MarkDaoust in #419
- Fix 'ResourceWarning: unclosed <ssl.SSLSocket>' by @MarkDaoust in #422
- Fix
list_models
by @rozha in #439 - Add PngImagePlugin to imports. by @mbanani in #438
- Add webp to mimetypes by @MarkDaoust in #440
Docs and Samples
- Caching samples by @shilpakancharla in #399
- Model list and get samples by @shilpakancharla in #404
- System instructions sample by @shilpakancharla in #407
- Count tokens samples by @shilpakancharla in #403
- fix genai.GenerativeModel argument name in example by @philippemiron in #394
- Adding text generation samples by @shilpakancharla in #405
- Add samples for chat by @shilpakancharla in #408
- Rename json_mode.py and create function calling sample by @shilpakancharla in #406
- Add tuned_models samples by @MarkDaoust in #409
- Add no json schema sample by @shilpakancharla in #416
- fix list initialization and redundant parentheses by @PandasPirate in #412
- Adding a note about free tier not available in Europe by @Giom-V in #401
- Update text only prompts by @shilpakancharla in #420
- Add cache_from_name and cache_chat by @shilpakancharla in #413
- Add create_audio and create_text to
samples/files.py
by @shilpakancharla in #414 - Add safety_settings sample by @shilpakancharla in #415
- Add REST sample for listing and getting models by @shilpakancharla in #421
- Cleanup samples/files.py by @MarkDaoust in #402
- format-samples by @MarkDaoust in #410
- Add model configuration sample by @shilpakancharla in #427
- move SI by @MarkDaoust in #428
- No 's' by @MarkDaoust in #431
- Fix snippet name. by @MarkDaoust in #432
- Fix snippet names + reorder. by @MarkDaoust in #435
- move tuning to tuned_models by @MarkDaoust in #436
- Fix typos by @PandasPirate in #437
- Update tuned_models.py by @MarkDaoust in #441
- Check video status. by @MarkDaoust in #442
New Contributors
- @philippemiron made their first contribution in #394
- @Giom-V made their first contribution in #401
- @rozha made their first contribution in #439
- @mbanani made their first contribution in #438
Full Changelog: v0.7.1...v0.7.2