Infinite loading when pasting small blocks or adding file references in chat (all models, macOS, reproducible for 3+ months)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor chat gets stuck in infinite loading when I paste a small block of text/code or when I add a file reference / block reference.

This is not limited to large content. It also happens with very small inputs, including blocks of around 20 lines.

When this happens, the chat shows “Taking longer than expected…” and never returns a response.

This issue is reproducible across all models I tested and has been happening for about 3 months across recent stable versions.

External terminal copy/paste works fine, so the issue appears specific to Cursor chat handling pasted blocks and file/block references.

Steps to Reproduce

  1. Open Cursor IDE and open any project.
  2. Open Cursor chat.
  3. Paste a small block of text/code (even around 20 lines), or add a file reference / block reference.
  4. Send the message.
  5. Observe that Cursor chat gets stuck in infinite loading and never returns a response.

Additional notes:

  • Reproduces across all models I tested.
  • Reproduces even with short pasted content.
  • Reproduces regardless of HTTP/2, HTTP/1.1, or HTTP/1.0 settings.
  • External terminal paste works normally.

Expected Behavior

Cursor chat should process the pasted block or file/block reference normally and return a response.

Small pasted inputs and file references should not cause the chat to hang indefinitely.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.6.21
VSCode Version: 1.105.1
Commit: fea2f546c979a0a4ad1deab23552a43568807590
Date: 2026-03-21T22:09:10.098Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

For AI issues: which model did you use?

Reproduces across all models I tested, so it does not appear to be model-specific.
Examples tested include Sonnet and other chat models in Cursor.

Additional Information

Attached screen recording shows:

  1. pasting a small block
  2. adding a file/block reference
  3. chat entering infinite loading
  4. no response being returned

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue the team is tracking. Your report with the specific paste or file reference trigger is really helpful for narrowing it down.

I see you already tried switching HTTP/2, HTTP/1,1, and HTTP/1,0 settings, so we can skip that. A couple things to try:

  1. Re-index: Cursor Settings (not VS Code settings) > Indexing > Resync Index. This has fixed similar hangs for some users.
  2. Empty folder test: File > Open Folder > pick an empty directory, start a new chat, paste the same block of code. If it works there, the issue might be tied to something in your project index.

Also, next time it gets stuck, can you grab a Request ID? Click the context menu top-right of the chat > Copy Request ID. That lets us trace what is happening on the backend.

Related thread: Cursor spinner / “Taking longer than expected…” state hangs forever during file-write/edit operation

Let me know how it goes.