[GoogleGenerativeAI Error]
TryHarder13 opened this issue · comments
What version are you using?
v0.2.0
What happened?
[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent?key=APIKEY: [400 Bad Request] User location is not supported for the API use.
Steps to reproduce
1. use fluttergpt create code from description
Supporting info to reproduce
No response
Relevant log output
[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent?key=APIKEY: [400 Bad Request] User location is not supported for the API use.
@TryHarder13 The error happens for regions not supported for Gemini yet. Check available regions.
There is no clear indication from Google yet on when do they plan to extend the support but we're hoping soon.
@TryHarder13 check this issue, it can help in this situation.
Thanks for your answer
Closing this.