clear description
Cannot verify the DeepSeek OpenAI key successfully because the “model” is always set to “default” instead of a custom model.
reproduce the bug
-
Uncheck all models and add a new model named “deepseek-chat”.
-
using valid key and base url according deepseek document
-
click verify and fail because the ‘model’ didnot change
command: noted that ** "model": "default" **
curl https://api.deepseek.com//chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-fcd75ssssssssssssssss1e40f22c438d" -d "{ \"messages\": [ { \"role\": \"system\", \"content\": \"You are a test assistant.\" }, { \"role\": \"user\", \"content\": \"Testing. Just say hi and nothing else.\" } ], \"model\": \"default\" }"
error message:
{"error":{"message":"Model Not Exist","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
Cursor version
Version: 0.46.8 (user setup)
VSCode Version: 1.96.2
Commit: be4f0962469499f009005e66867c8402202ff0b0
Date: 2025-02-28T19:42:31.633Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100