[Bug] Image dimension validation incorrectly triggered for multi-image requests

Resolved 💬 3 comments Opened Apr 23, 2026 by stirredo Closed Apr 26, 2026

Bug Description
An image in the conversation exceeds the dimension limit for many-image requests (2000px). Run /compact to remove old images from context, or start a new session. why does this happen

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.118
  • Feedback ID: 64ae7506-2817-4c4f-83f9-e59e7585abf6

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.88.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaKtJYekye4QcsDYWLJhf\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T02:06:35.292Z"}]

View original on GitHub ↗

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