request_too_large: Request exceeds the maximum size // exceded pixels image #9475

Open
opened 2026-02-16 18:12:32 -05:00 by yindo · 1 comment
Owner

Originally created by @r00tedbrain-backup on GitHub (Feb 16, 2026).

Originally assigned to: @thdxr on GitHub.

Description

There's a problem with its use, and that needs to be addressed somehow, for example similar to how the cursor restores checkpoints.

Image

If for whatever reason the prompt ends up being, and sometimes the prompt extends, it reaches a maximum number of tokens and you lose the session without being able to give it a summary or anything; you can't go back, that session is dead...

Plugins

No response

OpenCode version

1.2.5

Steps to reproduce

  1. run opencode
  2. put prompt max

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @r00tedbrain-backup on GitHub (Feb 16, 2026). Originally assigned to: @thdxr on GitHub. ### Description There's a problem with its use, and that needs to be addressed somehow, for example similar to how the cursor restores checkpoints. <img width="1274" height="860" alt="Image" src="https://github.com/user-attachments/assets/836c393e-a9b4-4cc2-8eab-913b188da60e" /> If for whatever reason the prompt ends up being, and sometimes the prompt extends, it reaches a maximum number of tokens and you lose the session without being able to give it a summary or anything; you can't go back, that session is dead... ### Plugins _No response_ ### OpenCode version 1.2.5 ### Steps to reproduce 1. run opencode 2. put prompt max ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:12:32 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 16, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6574: Request entity too large error
  • #8956: Request Entity Too Large not caught before trying to read large files
  • #12060: 413 Payload Too Large when reading local image (gpt-5.2-codex + opus-4.5)

These appear to address similar problems with request size limits exceeding maximum values.

@github-actions[bot] commented on GitHub (Feb 16, 2026): This issue might be a duplicate of existing issues. Please check: - #6574: Request entity too large error - #8956: Request Entity Too Large not caught before trying to read large files - #12060: 413 Payload Too Large when reading local image (gpt-5.2-codex + opus-4.5) These appear to address similar problems with request size limits exceeding maximum values.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9475