◐ Shell
clean mode source ↗

bug: LimitOverrunError in _receive_loop() crashes connection without recovery

Summary

When a message exceeds the buffer limit, the _receive_loop() (acp/connection.py:151) method raises an unhandled LimitOverrunError which propagates up and terminates the entire connection, meaning that the agent becomes unresponsive.

Reproduction steps

Perform a request with a line exceeding 64kb, something like: go to unsplash to get a free picture of several MB, convert it into a base64 string, and use it your prompt.

Expected result

Large lines should be handled gracefully.

Actual result

The agent crashes.

Versions / environment

SDK 0.7.1, Zed, Mistral-Vibe ACP v2.0.2

Logs & screenshots

Open to submitting a fix?

  • I’m willing to open a PR for this bug.