You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you try to use rest_asyncio for the transport parameter? That worked for me. I guess the asyncio implementation is required when using the model with the asyncio functions (e.g. astream).
I am getting this error with Gemini API and proxy endpoint as per my company endpoint:
object GenerateContentResponse can't be used in 'await' expression
This the code, how can make this works?
The text was updated successfully, but these errors were encountered: