After overriding OpenAI api Composer does not work

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I changed open ai model to mine opeai compatible model and strangely composer stopped working

Steps to Reproduce

  1. Set custom api key in settings and override api link
  2. Type somethin in chat

Expected Behavior

Composer works correctly

Operating System

Windows 10/11

Version Information

Version: 3.0.16 (user setup)
VSCode Version: 1.105.1
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50
Date: 2026-04-09T05:33:51.767Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Composer 2

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue. When a custom OpenAI API Key is enabled (or Override OpenAI Base URL), those credentials are mistakenly applied to all models, including Composer 2, which should always run through Cursor servers.

Workaround: turn off the OpenAI API Key before using Composer 2, then turn it back on for your custom model. You can toggle it quickly with Ctrl+Shift+0.

More details: Composer 2 broken when custom OpenAI API Key is enabled

The team is aware, but there’s no ETA yet. Your report helps with prioritization.