Closed andreas-tornqvist closed 7 months ago
Thanks for the report. I think the death loop from ContextWindowExceededError has been fixed in main recently, it must have been after 0.3.1 though. The fix should stop the death loop, it doesn't handle it smartly.
Opendevin has some hardcoded limit at which we try to summarize the prompt to preempt this kind of error, but we do that only with a request to the llm, so if it already happened to be higher than the context limits, that will currently fail.
Great to hear that the death loop is stopped. Thanks for the information.
Is there an existing issue for the same bug?
Describe the bug
When a prompt grows too large for the token limit of the API I am using, the job crashes. All the subsequent steps will also fail and it's entering a death loop. This usually happens after something else has happened, such as when -y flag is missing in apt-get command causing it to be cancelled after user input being hanging.
Current Version
Installation and Configuration
Model and Agent
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
No response