"Your message is too long..." error

Describe the Bug

So I recently updated Cursor to version 1.0.0 (Universal) and I got this error message on a simple prompt

Steps to Reproduce

a simple prompt asking to run a test file and add the file to the context (as usual)

Expected Behavior

Should run the test or give me the command to execute

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0 (Universal)
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:39.410Z (2 wks ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi, its most likely that the model thats selected by Auto may not have enough context for a very large file.

Try to select mode Claude 4 Sonnet as this is one of those with highest token limit.

Actually to run the test you do not need to attach the file, just ask agent to test a specific test, because the tests are not executed by reading the file but by calling the test runner.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.