cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Override Openai base url setting Affect the google gemini

Open cl1107 opened this issue 1 year ago • 1 comments

image If I remove the override base url, it becomes available image

版本: 0.40.4 提交: 1.91.1 日期: 63dae81aea2c3fc079420fe72578a8eef26ba870 Electron: 2024-09-05T02:52:05.660Z ElectronBuildId: 29.4.0 Chromium: undefined Node.js: 122.0.6261.156 V8: 20.9.0 OS: 12.2.281.27-electron.0

芯片 Apple M3 Max 内存 48 GB macOS Sonoma 14.6.1

cl1107 avatar Sep 12 '24 06:09 cl1107

same with override api and use any models from anthropic. the problem is cursor auto redirect from "our custom api" to the anthropic api (your case is google api) so our key is invalid. (similiar issues: #1524 ) i use openrouter, so far cursor only conflict with all anthropic models. i tried gemini 1.5 flash it worked well. maybe cause the name of gemini in openrouter is google/gemini-flash-1.5 so it didnt catch by cursor as should redirected

ardhi-de avatar Sep 12 '24 14:09 ardhi-de

Duplicate of #1511

danperks avatar Sep 18 '24 14:09 danperks