Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I’m testing “qwen/qwen3-30b-a3b-instruct-2507” model via OpenRouter and I’ve observe that agent is geeting into kind of loop.
Steps to Reproduce
- Add openrotuer api key and url
- Add custom model “qwen/qwen3-30b-a3b-instruct-2507”
- Invoke a prompt like “Implement unit tests for …, next run unit tests and check results, if tests are failing, improve them - continue until tests will pass.”
- Agent is trying to implement unit tests and partially he is doing that
- After little perio of time he’s trying to do same thing even If I will approve the changes
Expected Behavior
Agent should not enter “loop” and doing same thing multiple times - even if user accept the results.
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.54
VSCode Version: 1.99.3
Commit: 5c17eb2968a37f66bc6662f48d6356a100b67be0
Date: 2025-10-21T19:07:38.476Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-86-generic
For AI issues: which model did you use?
qwen/qwen3-30b-a3b-instruct-2507
Does this stop you from using Cursor
Yes - Cursor is unusable
