getcursor / cursor

The AI Code Editor
https://cursor.com
25.46k stars 1.58k forks source link

Azure OpenAI - Multiple Deployment/Model Support #1922

Open illgitthat opened 2 months ago

illgitthat commented 2 months ago

While initial support was added for Azure OpenAI, there are outstanding issues with the current implementation.

Currently only one deployment/model is supported.

Other related issues:

As originally requested by @danperks in https://github.com/getcursor/cursor/issues/588#issuecomment-2358634063

LukasMosser commented 1 month ago

It seems there is an issue when trying to use with a private endpoint on Azure. The application says {"error":{"code":"403","message": "Public access is disabled. Please configure private endpoint."}}

I can confirm that from the same host this endpoint is accessible and works with the same credentials.

bprussell commented 3 weeks ago

It's not working at all for me. Maybe someone can tell me what I'm doing wrong. Here's the deployment on Azure.

image

Here is the Cursor config.

image

I'm using the deployment name, not the model name. API Key is correct. In the metrics on Azure, it registers the request and the token count. As you can see on the right, Cursor says "Unauthorized User Openai API key".

HELIOPOTELICKI commented 1 week ago

I have a similar problem here, In my case, I just can't use the model views (gpt-4o)

The deployment is correct, as it is the same one I use elsewhere, and it works correctly, only in the cursor I can't send images in the context.

image