extensions
extensions copied to clipboard
I have added the api key but none [Google Gemini] ...
Extension
https://www.raycast.com/EvanZhouDev/raycast-gemini
Raycast Version
1.75.1
macOS Version
12.4.1
Description
Description
I have tried everything and followed the steps to set up the API key, and all I get when I try any command is the following...
Could not access Gemini. This may be because Gemini has decided that your prompt did not comply with its regulations. Please try another prompt, and if it still does not work, create an issue on GitHub.
this issue is for any prompt I try in any app.
Steps To Reproduce
- get api key
- paste api key into raycast gemini app
- select text on figma
- choose a command from raycast
- get error modal
Current Behaviour
Nothing happens
Expected Behaviour
results
Thank you for opening this issue!
🔔 @EvanZhouDev you might want to have a look.
💡 Author and Contributors commands
The author and contributors of EvanZhouDev/raycast-gemini can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.
Same issue...
I have the same issue...
Also the same issue on my end. Any possibility @EvanZhouDev you can check it, please?
It works for me, but a more descriptive error would be great!
Same for me
Anyone going to fix this?
Does this issue occur in other commands as well? does AI Chat or Ask AI work properly?
If the issue is identified I can help to fix this.
In my case it happens in all Gemini commands.
In my case it happens in all Gemini commands.
Thanks for the prompt reply! Just got a fresh install of the extension, and it works for me.
Could you check if your Gemini API key is valid, by running the following in terminal
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=GEMINI_API_KEY" \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"contents": [{
"parts":[{
"text": "Hello? Who are you?"}]}]}'
(replacing GEMINI_API_KEY with your API Key)?
Also please check if Gemini is available in your region by opening the Web UI https://gemini.google.com/.
Thanks! @XInTheDark that helped! It turned out Free Tier is not available in my country/location. I just had to set billing. It works now:)
Thanks! @XInTheDark that helped! It turned out Free Tier is not available in my country/location. I just had to set billing. It works now:)
This also fixed it for me many thanks @XInTheDark
I have the free tier available but I get this error all the time
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.
same issue!