[Windows][3.15.6] BYOK OpenAI API Key and Override Base URL fields cannot be focused or edited

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

On Windows (Cursor 3.15.6), Settings → Models BYOK fields do not accept focus or keyboard input.

  • OpenAI API Key text field: click does nothing useful; typing/paste does not enter characters.
  • Override OpenAI Base URL toggle CAN be turned ON, but the URL field stays stuck on the default OpenAI v1 endpoint and cannot be edited.
  • Happens in both Agents Window settings and classic IDE settings.
  • Tab focus workaround (click nearby, then Tab, then type/paste) also fails on my machine.
  • Help → Check for Updates reports: There are currently no updates available.

This completely blocks configuring an OpenAI-compatible provider (Venice).
Custom model added successfully: olafangensan-glm-4.7-flash-heretic
But without a saved API key + editable base URL, BYOK cannot be applied.

Windows UI Automation against the Cursor Settings window reports 0 Edit controls (webview inputs not exposed), which matches the broken focus behavior.

Steps to Reproduce

  1. Open Cursor IDE on Windows 11 (v3.15.6).
  2. Open Settings → Models (Agents Window and/or classic IDE).
  3. Scroll to API Keys → OpenAI API Key.
  4. Click Enter your OpenAI API Key and try typing or Ctrl+V.
  5. Actual: field does not accept input.
  6. Toggle Override OpenAI Base URL ON.
  7. Click the base URL field and try to replace the default OpenAI v1 endpoint with a Venice OpenAI-compatible v1 endpoint.
  8. Actual: field does not accept edit; URL remains the default OpenAI v1 endpoint.
  9. Also tried recommended Tab workaround and opening classic IDE via Ctrl+Shift+N — still cannot edit.

Expected Behavior

OpenAI API Key and Override OpenAI Base URL text inputs should accept click-focus and keyboard/paste input so BYOK can be configured for OpenAI-compatible providers such as Venice. After saving, custom model requests should use the overridden base URL and user API key.

Operating System

Windows 10/11

Version Information

IDE:
Version: 3.15.6
VSCode Version: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Custom BYOK model: olafangensan-glm-4.7-flash-heretic via Venice OpenAI-compatible endpoint. Built-in Cursor models still work.

For AI issues: add Request ID with privacy disabled

N/A — issue is Settings UI focus/input; request never reaches provider because BYOK key/base URL cannot be saved.

Additional Information

Additional notes:

  • Pro plan account.
  • Custom model name can be added via Add Custom Model, but provider key/base URL cannot.
  • Local reactive storage currently shows useOpenAIKey=false and openAIBaseUrl still set to the default OpenAI v1 endpoint.
  • Related existing reports of the same 3.15.x focus bug exist; filing this with exact 3.15.6 repro + Venice BYOK impact.
  • No editor settings file / CLI path appears available for setting the encrypted OpenAI API key.
  • Please restore mouse/keyboard focus for these BYOK inputs, or provide a supported non-UI config path.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report with the version and repro steps. This is a known issue in 3.15.x. In Settings → Models, the OpenAI API Key and Override Base URL fields don’t get focus when you click them, even though the toggles next to them work. That matches what you’re seeing.

About the Tab workaround, it might not have worked because the exact order matters. Here’s the recipe:

  1. First, click any focusable element inside the settings pane itself, for example the Override OpenAI Base URL toggle or another control on the same page.
  2. Then press Tab (maybe a few times) until focus lands in the field you want.
  3. After that, typing and pasting with Ctrl+V should work. Enter your API key and custom base URL. After saving the key, you should see Secret saved.

If you still can’t get into the fields, as a temporary option you can roll back to 3.14.27. In that version the fields are editable with the mouse as usual.

On your custom model olafangensan-glm-4.7-flash-heretic and the Venice endpoint, the model error is most likely because BYOK didn’t actually save, so the key and base URL were never applied. Set up BYOK using the Tab steps above and routing to the Venice endpoint should work.

We’re tracking this issue, but I can’t share an exact ETA yet. I’ll reply in the thread if there’s an update. Let me know if the exact Tab order helped.

Thanks @deanrie for confirming this is a known 3.15.x issue.

I tried your exact Tab order again just now:

1. Clicked the Override OpenAI Base URL toggle (and other controls) inside the Settings → Models pane

2. Pressed Tab many times

3. Tried typing and Ctrl+V

Result: still cannot get keyboard focus into OpenAI API Key or Override Base URL text fields. No Secret saved appears. Same in Agents Window settings and classic IDE.

So on my machine (Windows 11, Cursor 3.15.6, commit a1f6865), the Tab workaround does not work.

Could you please share:

1. Official download link / steps for rolling back to 3.14.27 on Windows

2. Whether a 3.15.x patch for this focus bug is already in progress

Until then Venice / OpenAI-compatible BYOK remains blocked for me even though the custom model name can be added.

@Devraj_Heropanti, thanks for double-checking the exact Tab order and reporting back. Sorry it didn’t help on your machine.

On your questions:

  1. About the 3.15.x patch: yep, the fix for the OpenAI API Key and Override Base URL fields not taking focus on mouse click is already merged and will land in the next 3.15 update, newer than 3.15.6. I can’t share the exact version number yet, but it’s on the way. Once you update to anything newer than 3.15.6, clicking those fields should work normally again, and you’ll be able to set up BYOK for Venice.

  2. About rolling back to 3.14.27: since the fix is coming soon, I’d recommend waiting for the update instead of rolling back. If you really need to go back to 3.14.27 right now, let me know and I’ll point you to the correct Windows installer.

I’ll reply in the thread when the fixed build reaches stable. After you’re on the new version, try again and tell me if the fields still aren’t editable.

The field is now editable in 3.16.17 (Universal), but the field is still unnecessarily small, looking ugly:

Hey, thanks for confirming. Yep, editing fields was fixed starting in builds newer than 3.15.6, so in 3.16.17 clicking and typing work as expected.

You’re right about the Base URL field width. It looks too narrow and the value gets cut off. That’s just a visual issue, I’ve passed it to the team as a UX polish item. The field itself still works fine, typing and pasting work normally even if the full URL doesn’t fit in the visible area.

If you notice anything else in these settings, let me know.