Describe the Bug
A problem appeared in 0.44.8 and 0.44.9. I’m using openrouter’s api and before 0.44.8 ‘apply’ in chat window worked with my source files just fine. When cursor was updated to 0.44.8, it no longer works – if i click ‘apply’ above the code in LLMs reply, cursor says: “ERROR. API key not supported. The apply feature uses non-public models and cannot be billed to an API key.”
Steps to Reproduce
Setup openrouter account, add openai API key, override url with Model Not Found | OpenRouter, add a model (for example, llama 3.3 – meta-llama/llama-3.3-70b-instruct), chat with it (it chats just fine), ask to change some code, click apply above the code block.
Expected Behavior
Before 0.44.8 it applied changes to the source just fine.
Screenshots / Screen Recordings
Operating System
Linux
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: Linux x64 6.1.0-28-amd64
Additional Information
If cursor.sh now prohibits applying code from 3rd party LLMs then it should be stated somewhere in open, if this behaviour is not a bug but business decision…
Does this stop you from using Cursor
Yes - Cursor is unusable