You are working on the pydantic/pydantic-ai repository. The source code is checked out at /testbed at commit…
You are working on the pydantic/pydantic-ai repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). The error occurs when running: response.all messages json() when there's a BinaryContent object (in this case, an image).
The task
The error occurs when running: response.all_messages_json() when there's a BinaryContent object (in this case, an image).
Part of Lego-X/Lego-RL-2699.