getcursor / cursor

The AI Code Editor
https://cursor.com
23.27k stars 1.48k forks source link

[Feature] Support for Google's Gemini! #1176

Open danimesq opened 8 months ago

danimesq commented 8 months ago

Add a GPT <-> Gemini switch, ranging from Pro to Ultra (as there's GPT 3.5 and 4).

Can use the already available API for Gemini: https://ai.google.dev/

danimesq commented 1 month ago

Done, thanks!

HamedMP commented 1 month ago

I see it's closed but I still can't use it. When I dont' set the API key, it says you can't use this model (gemini-1.5-pro-001) and when I set it, I get "invalid API key" but I can successful curl it from console.

danimesq commented 1 month ago

Gemini only available in Long Context mode. True, this issue should be re-opened, that was a confusion.