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
I'm encountering intermittent errors when using context caching with the gemini-1.5-pro-002 model or another in the generative-ai-go library. The errors include TLS handshake timeouts and API error 400 responses.
Here are some examples of the errors I encountered:
Description of the bug:
I'm encountering intermittent errors when using context caching with the gemini-1.5-pro-002 model or another in the generative-ai-go library. The errors include TLS handshake timeouts and API error 400 responses.
Here are some examples of the errors I encountered:
Code to Reproduce
Here is the relevant part of my implementation:
Actual vs expected behavior:
I should receive the response
Any other information you'd like to share?
I'm using the latest version of the SDK.
I've already set my json credentials and Gemini API KEY.
The text was updated successfully, but these errors were encountered: