Agent Panel: Switching from MAX to normal mode breaks the current session
Summary
After switching from MAX to normal mode, the current session starts throwing next error:
Description
Full error message:
Error interacting with language model
completion request failed. request_id: 1416c8cf-3e5f-474d-abae-0505ddd828eb, code: http_403 Forbidden, message: Consecutive tool use limit exceeded. Send a new message to continue the conversation.
Steps to trigger the problem:
- Start using MAX mode.
- After a while(61k context for my case, and maybe 50 tool uses), try to switch to the normal mode
- Hit the bug
Actual Behavior: Hitting the error, thread is basically unusable Expected Behavior: Either allow me to continue talking(and somehow squash/summarize/truncate the context), or give me a one-button experience for starting a new session with a summarized context from previous session
UX Feedback:
I am fine with it being a limitation, but right now I need to manually go, create a new session, reference an existing session via @Threads, which is a bit tedious. Would be great, if you automate that and show me a button right in the error message.
Zed Version and System Specs
Zed: v0.185.11 (Zed) OS: macOS 15.1.1 Memory: 16 GiB Architecture: aarch64