You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Allow continuation after context overflow #5178
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Sometimes I have a tool call by a subagent overflow context and get this message, e.g.
This model's maximum context length is 131072 tokens. However, you requested 137717 tokens (105717 in the messages, 32000 in the completion). Please reduce the length of the messages or completion.
In such a case the subagent stops execution, it would be great to allow the model to see that the tool call failed, and continue the subagent execution.
Activity
github-actions commentedon Dec 6, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.