Trying to resume interrupted conversation with Calude code execution block
The error is:messages.1: 'text_editor_code_execution' tool use with id 'srvtoolu_x<snip>’ was found without a corresponding ‘text_editor_code_execution_tool_result’ block
The error is:messages.1: 'text_editor_code_execution' tool use with id 'srvtoolu_x<snip>’ was found without a corresponding ‘text_editor_code_execution_tool_result’ block
Log in to comment and vote
Comments5
Daniel Nguyen
Jan 15
Hey. I’ve fixed this in v2.6.0. Can you confirm? Turns out this is a pretty common issue with Claude code & Anthropic API!
dragonflyred
Jan 16
My original test case is no longer reproducible because I used the edit function to remove tool calls. However another case (without the interrupted response that caused the missing block in the original case) still occurs.
harrisonfloam
Jan 25
I’m running into this pretty often, only with Anthropic models so far.
Daniel Nguyen
Feb 7
Any chance you can export the chat and share the json with me via email daniel@boltai.com? cc @dragonflyred
To export the chat, go to menu Conversation > Export Chat…
Thank you
Daniel Nguyen
Apr 26
I think I fixed this too. Can you confirm? @dragonflyred