google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.62k stars 322 forks source link

Fix default_metadata for files API. #548

Closed MarkDaoust closed 2 months ago

MarkDaoust commented 2 months ago

Fix files client to handle metadata and default_metadata.

MarkDaoust commented 2 months ago

@psbang

MarkDaoust commented 2 months ago

I got a confirmation from psbang that this solves their issues on kaggle.

@shilpakancharla could I get a quick review? I'd like to submit this ad release a 0.81 today.