Skip to content

AI_APICallError: prompt is too long #1092

@almirsarajcic

Description

@almirsarajcic

I've asked Claude (opencode v0.3.17, claude-opus-4-20250514) to do some research on the web, and it returned AI_APICallError: prompt is too long error. I can't continue the session. I wasn't able to compact it either.

Image

https://opencode.ai/s/O0iKt5Jt

Related: #164, #500.
Might be related: #491.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions