Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Pro user chat UI completely frozen and blocked. Getting error: [StringParam] [input.arguments] [string_above_max_length]. Invalid ‘input.arguments’: string too long. Expected a string with maximum length 1048576, but got a string with length 1329691 instead. Account name: Jesus Morales Carlos (Pro).
Steps to Reproduce
- Open a long-running chat session (“RPAs”).
- Send a brief command to monitor a process.
- The system triggers the automatic context compaction mechanism (“Contexto compactado automáticamente”) in the background.
- The background process generates a text string of ~1.33 MB, which exceeds the 1 MB API limit and corrupts the local state of the chat.
Expected Behavior
The system should compress or truncate the context properly without exceeding the API token/character limits, and the chat should remain operational instead of freezing the entire UI.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Latest Cursor Desktop Version (Pro Account)
For AI issues: which model did you use?
Claude 3.5 Sonnet / GPT-4o
For AI issues: add Request ID with privacy disabled
Not available. The chat UI is completely frozen and does not allow opening the request logs.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
