Missing Tool Result Block in API Request Handling
Bug Description ● Search(pattern: "limit.*50|limit.*49|CONTACTS_PER_PAGE", path: "src/frontend") ⎿ Found 8 files (ctrl+r to expand) ⎿ Interrupted by user ⎿ Interrupted by user ⎿ Interrupted by user
becauyse of pagination ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.81:
tool_useids were found withouttool_resultblocks immediately after: toolu_01Vy9qS5ecmJ9hBoCqoN2H9Z. Eachtool_useblock must have a correspondingtool_resultblock in the next message."}}
becauyse of pagination ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.81:
tool_useids were found withouttool_resultblocks immediately after: toolu_01Vy9qS5ecmJ9hBoCqoN2H9Z. Eachtool_useblock must have a correspondingtool_resultblock in the next message."}}
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 1.0.17
- Feedback ID: ce38c274-1072-42a6-a13d-049466160d7a
Errors
[]
Happens if you press esc key to abruptly end the assistant in an active thinking mode.
1.0.21 should resolve this issue. claude update to get the latest version.
Let us know if you can still repro!
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.