Getting "Unauthorized User API key" for valid credentials against a self-hosted LLM

@condor In case it helps isolate the issue:

I haven’t noticed any changes when using my proxy which also implements the OpenAI API, with the only difference that it uses model names like gpt-[high/medium/low/minimal] instead of the reported gpt-4o.

I’ve checked with 1.7.44 and 1.7.46, and Cursor keeps doing the same POST /chat/completions requests as usual and it works with ask/agent/custom, which makes me think the issue is more related with the proxy.

@syllil Are you using a closed source proxy, or is it something you can share?