raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.34k stars 3.04k forks source link

[Google Gemini] "Fix spelling and Grammar" not work with some phases #14830

Open davidtranjs opened 3 weeks ago

davidtranjs commented 3 weeks ago

Extension

https://www.raycast.com/EvanZhouDev/raycast-gemini

Raycast Version

1.83.2

macOS Version

14.6.1 (23G93)

Description

I install Google Gemini, input the API, then use it with this sentences and it show error My sentences: i want to use raycast to fix my stupid english grammarly Result: 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.

Xnip2024-10-08_12-58-03

Xnip2024-10-08_12-58-15

Steps To Reproduce

  1. Select the sentence
  2. Cmd Space to trigger Raycast
  3. Type "fix" to search feature "Fix spelling and Grammar"
  4. Enter
  5. It show error

Current Behaviour

It show "Could not access Gemini"

Expected Behaviour

Show the correct grammar version of selecting sentence

raycastbot commented 3 weeks ago

Thank you for opening this issue!

🔔 @EvanZhouDev @ridemountainpig 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 issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
davidtranjs commented 3 weeks ago

I knew the reason, because my sentence has the word stupid, which led to other features like 'Explain' not working as well. It's weird that Gemini refuses to process with this word. Is there any way to customize the API to bypass this?