zed icon indicating copy to clipboard operation
zed copied to clipboard

Agent Panel: Switching from MAX to normal mode breaks the current session

Open 0xRaduan opened this issue 7 months ago • 0 comments

Summary

After switching from MAX to normal mode, the current session starts throwing next error: Image

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:

  1. Start using MAX mode.
  2. After a while(61k context for my case, and maybe 50 tool uses), try to switch to the normal mode
  3. 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

0xRaduan avatar May 08 '25 08:05 0xRaduan