Missing Tool Result Block in API Request

Resolved 💬 2 comments Opened Feb 24, 2025 by joshsorenson Closed Feb 26, 2025

Bug Description
 API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.224: Did not find 1 tool_result block(s) at the beginning of this
message. Messages following tool_use blocks must begin with a matching number of tool_result blocks."}}

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 0.2.9
  • Feedback ID: 30981e0f-5d98-4592-bdd5-a45d447d923f

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗