microsoft / microsoft/PowerToys
unable to use Gemini API code.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Microsoft PowerToys version
v0.98.0
Installation method
Microsoft Store
Area(s) with issue?
Advanced Paste
Steps to reproduce
Hey, so I turned on "Paste with AI" and set the model to Gemini-1.5-pro. I put in my free API key, but when I tested it, I got an error: "an error occurred during paste operation."
I tried switching the model and restarting PowerToys, but it's still not working. All the other features are fine, though.
The whole point is to have the AI rewrite sentences for me.
Also, when I checked Google AI Studio, the usage section showed a couple of errors: "400 Bad Request" and "404 Not Found."
✔️ Expected Behavior
reformatting user's clipboard data. Use the user's instructions, and the content of their clipboard below to edit their clipboard content as they have requested it. Do not output anything else besides the reformatted clipboard content.
❌ Actual Behavior
"an error occurred during paste operation."
Upload Bug Report ZIP-file
No response
Additional Information
No response
Other Software
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Advanced Paste's "Paste with AI" flow and reproduce the Gemini-1.5-pro request using the reported API key setup. Compare the observed 400 Bad Request and 404 Not Found responses with the generic paste error; done means identifying the failing request and confirming that clipboard rewriting works or documenting the missing information needed to proceed.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100