BYOK, can't add custom model

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hi there, I got this problem adding a custom model.
I tried with OpenAI Url override and not.
This is the error
It says invalid model name for Composer Fast.

workbench.desktop.main.js:41105 [transport] Connect error in unary AI connect ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129) {arch: ‘arm64’, platform: ‘darwin’, channel: ‘stable’, client_version: ‘3.1.14’, layout: ‘unifiedAgent’, …}
error @ workbench.desktop.main.js:41105
t @ workbench.desktop.main.js:38248
await in t
(anonymous) @ workbench.desktop.main.js:38248
xVh @ workbench.desktop.main.js:62
Kwe @ workbench.desktop.main.js:62
unary @ workbench.desktop.main.js:38248
(anonymous) @ workbench.desktop.main.js:28688
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.desktop.main.js:41117 Error refreshing default models: ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129)
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.desktop.main.js:41105 [transport] Connect error in unary AI connect ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129) {arch: ‘arm64’, platform: ‘darwin’, channel: ‘stable’, client_version: ‘3.1.14’, layout: ‘unifiedAgent’, …}arch: “arm64"causeCode: undefinedcauseErrno: undefinedcauseSyscall: undefinedchannel: “stable"client_version: “3.1.14"code: 5error: {message: ‘Error’, stack: ‘ConnectError: [not_found] Error\n at t (vscode-f…/workbench/workbench.desktop.main.js:42861:71129)’, kind: ‘ConnectError’, code: 5}errorDetails: [{…}]errorDetailsDebug: “{"error":"ERROR_BAD_MODEL_NAME","details":{"title":"AI Model Not Found","detail":"Unknown model ID: composer-2-fast","isRetryable":false,"showRequestId":false},"isExpected":true}“errorMessage: undefinederrorName: “ConnectError"layout: “unifiedAgent"method: “AvailableModels"platform: “darwin"requestId: “b51bdfc6-93cf-4f4f-85ad-3b809fbfa176"service: “aiserver.v1.AiService"timeoutMs: “undefined”[[Prototype]]: Object
error @ workbench.desktop.main.js:41105
t @ workbench.desktop.main.js:38248
await in t
(anonymous) @ workbench.desktop.main.js:38248
xVh @ workbench.desktop.main.js:62
Kwe @ workbench.desktop.main.js:62
unary @ workbench.desktop.main.js:38248
(anonymous) @ workbench.desktop.main.js:28688
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.desktop.main.js:41117 Error refreshing default models: ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129)
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.html:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at Accessible Rich Internet Applications (WAI-ARIA) 1.3.
Element with focus: <button.ui-toggle>
Ancestor with aria-hidden: <button.ui-toggle> <button type=​"button” role=​"switch” aria-checked=​"true” aria-hidden=​"true” tabindex=​”-1” class=​"ui-toggle” data-size=​"xs” data-checked=​"true”>​…​​flex
workbench.html:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at Accessible Rich Internet Applications (WAI-ARIA) 1.3.
Element with focus: <button.ui-toggle>
Ancestor with aria-hidden: <button.ui-toggle> <button type=​"button” role=​"switch” aria-checked=​"true" aria-hidden=​"true" tabindex=​"-1" class=​"ui-toggle" data-size=​"xs" data-checked=​"true">​…​​flex
workbench.desktop.main.js:41105 [transport] Connect error in unary AI connect ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129) {arch: ‘arm64’, platform: ‘darwin’, channel: ‘stable’, client_version: ‘3.1.14’, layout: ‘unifiedAgent’, …}
error @ workbench.desktop.main.js:41105
t @ workbench.desktop.main.js:38248
await in t
(anonymous) @ workbench.desktop.main.js:38248
xVh @ workbench.desktop.main.js:62
Kwe @ workbench.desktop.main.js:62
unary @ workbench.desktop.main.js:38248
(anonymous) @ workbench.desktop.main.js:28688
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.desktop.main.js:41117 Error refreshing default models: ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
at async HTMLDivElement. (workbench.desktop.main.js:42861:71129)
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
(anonymous) @ workbench.desktop.main.js:42861
workbench.desktop.main.js:41105 [transport] Connect error in unary AI connect ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108) {arch: ‘arm64’, platform: ‘darwin’, channel: ‘stable’, client_version: ‘3.1.14’, layout: ‘unifiedAgent’, …}
error @ workbench.desktop.main.js:41105
t @ workbench.desktop.main.js:38248
await in t
(anonymous) @ workbench.desktop.main.js:38248
xVh @ workbench.desktop.main.js:62
Kwe @ workbench.desktop.main.js:62
unary @ workbench.desktop.main.js:38248
(anonymous) @ workbench.desktop.main.js:28688
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
z @ workbench.desktop.main.js:42861
(anonymous) @ workbench.desktop.main.js:29211
workbench.desktop.main.js:41117 Error refreshing default models: ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
z @ workbench.desktop.main.js:42861
(anonymous) @ workbench.desktop.main.js:29211
workbench.desktop.main.js:41105 [transport] Connect error in unary AI connect ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108) {arch: ‘arm64’, platform: ‘darwin’, channel: ‘stable’, client_version: ‘3.1.14’, layout: ‘unifiedAgent’, …}arch: "arm64"causeCode: undefinedcauseErrno: undefinedcauseSyscall: undefinedchannel: "stable"client_version: "3.1.14"code: 5error: {message: ‘Error’, stack: ‘ConnectError: [not_found] Error\n at t (vscode-f…/workbench/workbench.desktop.main.js:41117:11108)’, kind: ‘ConnectError’, code: 5}errorDetails: [{…}]errorDetailsDebug: "{"error":"ERROR_BAD_MODEL_NAME","details":{"title":"AI Model Not Found","detail":"Unknown model ID: composer-2-fast","isRetryable":false,"showRequestId":false},"isExpected":true}"errorMessage: undefinederrorName: "ConnectError"layout: "unifiedAgent"method: "AvailableModels"platform: "darwin"requestId: "95f812e1-788a-4623-aadd-0e65887d6b9d"service: "aiserver.v1.AiService"timeoutMs: “undefined”[[Prototype]]: Object
error @ workbench.desktop.main.js:41105
t @ workbench.desktop.main.js:38248
await in t
(anonymous) @ workbench.desktop.main.js:38248
xVh @ workbench.desktop.main.js:62
Kwe @ workbench.desktop.main.js:62
unary @ workbench.desktop.main.js:38248
(anonymous) @ workbench.desktop.main.js:28688
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
z @ workbench.desktop.main.js:42861
(anonymous) @ workbench.desktop.main.js:29211
workbench.desktop.main.js:41117 Error refreshing default models: ConnectError: [not_found] Error
at t (workbench.desktop.main.js:38248:60930)
at async Object.availableModels (workbench.desktop.main.js:28688:4386)
at async MCd.refreshDefaultModels (workbench.desktop.main.js:41117:11108)
refreshDefaultModels @ workbench.desktop.main.js:41117
await in refreshDefaultModels
z @ workbench.desktop.main.js:42861
(anonymous) @ workbench.desktop.main.js:29211

Steps to Reproduce

Add a custom model it doesn’t appear in the list, both settings list and dropdown naturally

Operating System

MacOS

Version Information

Version: 3.1.14 (Universal)
VSCode Version: 1.105.1
Commit: d8673fb56ba50fda33ad78382000b519bb8acb70
Date: 2026-04-14T01:39:23.679Z (1 day ago)
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: Darwin arm64 25.3.0

Additional Information

I want use Cursor on Edge with my Ollama

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this is a known bug in version 3.1.14. After you click Add, it refreshes the model list from the server and removes custom models that aren’t in the Cursor catalog. The composer-2-fast error is part of the same issue.

Another user reported the same thing yesterday: Custom OpenAI-compatible model disappears immediately after “Add” on Windows (works on Mac with same account). The team is aware.

Sadly, there’s no working workaround yet. I’ll update the thread once there’s a fix.

i can not open website it gave me unauth problem

Hey @Alfredo_Campoli,
The issue with custom models not saving has been addressed and the fix should be available on the nightly release channel. If you’d like to try it out before it hits stable: open Cursor Settings > About and switch the Release Track to Nightly, then restart Cursor. Let me know if that resolves it!

Did this fix it for anyone? I am still getting Model name is not valid: error