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
After receiving this error, the only option seems to be starting a new session, and re-establishing the context.
Would be better if goose could do one of the following:
Keep attempting to truncate more
Rewrite the context from scratch by looking at the user's initial input, and subsequent inputs (to understand what the user wants), and analyzing the code so far, and rewriting the context based on both
Tell the user the context has become too long and he should start a new session with fresh context
2025-01-29T16:01:52.464018Z WARN goose::agents::truncate: Context length exceeded. Truncation Attempt: 3/3.
at crates/goose/src/agents/truncate.rs:237
Error: Context length exceeds limits even after multiple attempts to truncate.
The text was updated successfully, but these errors were encountered:
Are you using the latest stable release? We recently added a change in #849 to limit to try to get goose to be smarter about how it handles larger files.
And can you provide a bit more context in what you were doing?
1, and 3 are some low-hanging fruit, another potential option for 1 is to make # of attempts user configurable.
After receiving this error, the only option seems to be starting a new session, and re-establishing the context.
Would be better if goose could do one of the following:
The text was updated successfully, but these errors were encountered: