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
asyncTaskMain(){varmodel=newGenerativeModel(apiKey:Util.GetPassword("GEMINI_API_KEY"),model:Model.GeminiPro);varprompt="I love Taipei.";varresponse=awaitmodel.GenerateContent(prompt);response.Text.Dump();}
I know the limitation of the 60 QPM. The point is that, I am NOT request that much at that moment. The Google AI Gemini API will returned HTTP 429 from time to time. Unknown reason! Don't you met that before?
Hardly.
However, that's an external issue which I cannot control in the package itself. That's probably something that could be handled by a Retry pattern/approach. There are times when Google AI has too many loads and rejects calls even though you might be below the 60 QPMs. It's discussed among other developers, too.
Here is my code:
LINQPad Query: https://share.linqpad.net/s5ftv46u.linq
Screenshot:
The text was updated successfully, but these errors were encountered: