Describe the Bug
When using a custom Agent in Cursor with a tool defined for searching the codebase (triggered using @codebase), attempting to invoke this tool within the chat results in the message input resetting after pressing Enter. The expected output is never generated, and the chat appears to silently fail.
Steps to Reproduce
- Create or configure a custom Agent in Cursor.
- Include codebase search functionality.
- Open a chat with the custom Agent.
- Type a message that uses @codebase to invoke the tool.
- Press Enter.
Observed Behavior:
- The input quickly resets to its pre-submit state.
- No message is sent or processed.
- No output is generated or returned by the agent.
Expected Behavior
After submitting a prompt using the @codebase tool trigger, the agent should:
- Process the message.
- Generate and return a relevant response using the tool.
-Not reset the input field unexpectedly.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.5 (user setup)
VSCode Version: 1.96.2
Commit: ef5eeb47a684b4c217dfaf0463aa7ea952f8ab90
Date: 2025-06-21T05:31:17.701Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631
Does this stop you from using Cursor
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue