Stuck CLI Command Causing 400 API Error with Tool Use Blocks

Resolved 💬 3 comments Opened Mar 2, 2025 by iamsolankiamit Closed May 6, 2025

Bug Description
When any cli call gets stuck i.e. it doesn't exit like when running mkdir or npm create etc where the cli might be waiting for a user input (not sure why it stuck at mkdir) and when I cancel the command - to manually run the command. I see 400 api error tool_use blocks must being with a matching number of toolresult block

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.29
  • Feedback ID: 7fea6439-951b-4864-85c0-e6f114abb3bf

View original on GitHub ↗

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