Closed allenporter closed 1 month ago
Upgrading may resolve the problem:
pip install -U google-generativeai
This issue(see https://github.com/google-gemini/generative-ai-python/issues/559)) is fixed in v0.8.3.
Thanks, I thought I was on latest but must have been mistaken, and didn't see that in an issue search, thanks.
Description of the bug:
When calling
.text
on the response it may fail with anAttributeError
:Actual vs expected behavior:
No response
Any other information you'd like to share?
This appears to be lines recently changed in https://github.com/google-gemini/generative-ai-python/pull/527