Checked the forum — I haven’t found this issue reported elsewhere.
Bug Description:
When I switch to Agent mode while using my own OpenAI API key, the assistant no longer performs code rewrites or in-editor changes. It only functions as a basic chat interface, without the smart contextual features typically available in Agent mode.
How to Reproduce the Bug:
- Go to Settings → API Keys.
- Add and switch to your own OpenAI API key.
- Enable Agent Mode in the command palette or settings.
- Try to perform a code rewrite or inline edit.
Instead of modifying code, it only replies as if it’s in a regular chat window. No suggestions or edits are made in the code editor.
Screenshots / Recordings:
Environment:
- OS: [e.g., macOS 14.4.1 / Windows 11]
- Cursor Version: [e.g.,
0.32.3
]
Impact:
Yes — this bug prevents me from using one of Cursor’s most valuable features. Agent mode becomes unusable with my API key, and I can’t leverage code rewrite functionality.
Would appreciate any help or clarification on whether this is a known limitation or an actual bug.
Thanks!