Before filing
What's broken
A long-running project chat can fail with the following error once its accumulated request exceeds 1048576 characters:
Request failed: Internal error: { "details": "Input exceeds the maximum length of 1048576 characters." }
The chat does not provide a clear recovery path such as automatic compaction, truncation of older history, or a way to continue from a compacted summary.
Steps to reproduce
- Launch Berd.
- Open a project chat with substantial prior conversation history.
- Continue using the chat until its accumulated request payload becomes very large.
- Send another message.
- Observe the request failure above.
The affected chat had prior history. The exact model and provider were not recorded.
What I expected to happen
Berd should proactively compact or otherwise reduce the existing chat context before the request exceeds the input limit, or provide a user-facing recovery action that preserves a concise summary and allows the chat to continue.
What actually happened
The request was rejected with the 1,048,576-character limit error. Retrying the same message did not provide a recovery path; starting a new chat was required as a workaround.
How often does it happen?
Once — I have not been able to reproduce it independently.
Berd version
0.6.2
Operating system
macOS (Apple Silicon)
Model and provider
Unknown — not recorded for the affected chat.
Relevant log output
No relevant log output found for the exact error text or numeric limit in the Berd application logs.
Other context
This occurred in a chat inside a Berd project. The error suggests the full accumulated conversation/request context is being submitted before a successful compaction or other overflow recovery step.
Before filing
What's broken
A long-running project chat can fail with the following error once its accumulated request exceeds 1048576 characters:
Request failed: Internal error: { "details": "Input exceeds the maximum length of 1048576 characters." }The chat does not provide a clear recovery path such as automatic compaction, truncation of older history, or a way to continue from a compacted summary.
Steps to reproduce
The affected chat had prior history. The exact model and provider were not recorded.
What I expected to happen
Berd should proactively compact or otherwise reduce the existing chat context before the request exceeds the input limit, or provide a user-facing recovery action that preserves a concise summary and allows the chat to continue.
What actually happened
The request was rejected with the 1,048,576-character limit error. Retrying the same message did not provide a recovery path; starting a new chat was required as a workaround.
How often does it happen?
Once — I have not been able to reproduce it independently.
Berd version
0.6.2
Operating system
macOS (Apple Silicon)
Model and provider
Unknown — not recorded for the affected chat.
Relevant log output
No relevant log output found for the exact error text or numeric limit in the Berd application logs.
Other context
This occurred in a chat inside a Berd project. The error suggests the full accumulated conversation/request context is being submitted before a successful compaction or other overflow recovery step.