Composer not works with custom model

Describe the Bug

I use DeepSeek model deepseek-chat with Base URL https://api.deepseek.com
It works nice. But it’s not working in Composer mode.

If I enable both OpenAI and Anthropic API keys and try to use deepseek-chat model, Composer not working and show an error: The model deepseek-chat does not work with your current plan or api key

Also even if I want to use sonnet model in Composer while I set custom OpenAI model and disable Athropic Key I get an error: “Unable to reach Anthropic”

Steps to Reproduce

Add own OpenAI compatible API key and base url (e.g. DeepSeek)
Try to use Composer

Expected Behavior

Composer should work with OpenAI compatible models

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0

Additional Information

DeepSeek v3 is great model and works as good as Sonnet. But unfortunately could’t be used with Composer mode.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, the composer doesn’t work with your API keys, this feature only functions in chat. As for the Anthropic error, you need to disable your API key whenever you want to use the model from your Pro subscription. You can also use the shortcut Cmd + Shift + 0 to quickly enable or disable the API key.