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.19k stars 227 forks source link

Add request options to chat. #341

Closed MarkDaoust closed 1 month ago

MarkDaoust commented 1 month ago

Needs tests.

Fixes: https://github.com/google-gemini/generative-ai-python/issues/335

aidoskanapyanov commented 1 month ago

Hi, @MarkDaoust ! It seems like missed a couple of methods in my original #204 PR 😅 Do need a hand w/ adding unit tests for these?

MarkDaoust commented 1 month ago

Hey @aidoskanapyanov, thanks again for the help!

I think this one is a simple fix.