[Bug] Context limit reached prematurely with image input on Claude Opus 4.6

Resolved 💬 4 comments Opened Feb 12, 2026 by darkyy92 Closed Mar 16, 2026

Bug Description
Since Opus 4.6 I get quite a lot of "Context limit reached · /compact or /clear to continue" despite being at like 40-60k context used of 200k. Probably happens only when I paste an image (normal screenshot). It seems random.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.39
  • Feedback ID: e2b014b2-419e-423f-9e1a-1fdc784e3657

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/joel/.local/share/claude/versions/2.1.39 (expected in multi-process scenarios)\n    at wVR (/$bunfs/root/claude:3626:2098)\n    at DjA (/$bunfs/root/claude:3626:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-12T14:52:13.923Z"},{"error":"Error: No content found in user prompt message\n    at DQB (/$bunfs/root/claude:1964:351)\n    at mD (/$bunfs/root/claude:678:20801)\n    at f6 (/$bunfs/root/claude:678:39204)\n    at ay (/$bunfs/root/claude:678:49834)\n    at Nv (/$bunfs/root/claude:678:86119)\n    at aT (/$bunfs/root/claude:678:86091)\n    at olT (/$bunfs/root/claude:678:85933)\n    at zp (/$bunfs/root/claude:678:81325)\n    at oR (/$bunfs/root/claude:678:6289)\n    at Q7A (/$bunfs/root/claude:671:14001)","timestamp":"2026-02-12T14:59:24.623Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at yhT (/$bunfs/root/claude:3303:939)\n    at async <anonymous> (/$bunfs/root/claude:3602:56)\n    at async n08 (/$bunfs/root/claude:1989:3696)\n    at async YXB (/$bunfs/root/claude:1989:1064)\n    at async vk8 (/$bunfs/root/claude:7276:2509)\n    at async HyR (/$bunfs/root/claude:7274:3516)\n    at async Zx8 (/$bunfs/root/claude:7415:23321)\n    at async OkR (/$bunfs/root/claude:7415:22473)\n    at async <anonymous> (/$bunfs/root/claude:7425:7842)\n    at async <anonymous> (/$bunfs/root/claude:7408:5408)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-12T15:00:09.379Z"},{"error":"Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at <anonymous> (/$bunfs/root/claude:3603:189)\n    at async n08 (/$bunfs/root/claude:1989:3696)\n    at async YXB (/$bunfs/root/claude:1989:1064)\n    at async vk8 (/$bunfs/root/claude:7276:2509)\n    at async HyR (/$bunfs/root/claude:7274:3516)\n    at async Zx8 (/$bunfs/root/claude:7415:23321)\n    at async OkR (/$bunfs/root/claude:7415:22473)\n    at async <anonymous> (/$bunfs/root/claude:7425:7842)\n    at async <anonymous> (/$bunfs/root/claude:7408:5408)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-12T15:00:09.379Z"},{"error":"Error: No content found in user prompt message\n    at DQB (/$bunfs/root/claude:1964:351)\n    at mD (/$bunfs/root/claude:678:20801)\n    at f6 (/$bunfs/root/claude:678:39204)\n    at ay (/$bunfs/root/claude:678:49834)\n    at Nv (/$bunfs/root/claude:678:86119)\n    at ETT (/$bunfs/root/claude:678:85091)\n    at Pp (/$bunfs/root/claude:678:84915)\n    at zp (/$bunfs/root/claude:678:81333)\n    at BA (/$bunfs/root/claude:678:6410)\n    at lT (/$bunfs/root/claude:678:4907)","timestamp":"2026-02-12T15:00:20.946Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗