400 Invalid parameter: messages with role 'tool' #3579
Labels
area:configuration
Relates to configuration options
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
Before submitting your bug report
Relevant environment info
Description
I keep getting this all of a sudden, I updated Continue to the pre-release version, still having the issue. I got the error-
**HTTP 400 Bad Request from https://api.anthropic.com/v1/messages {"type":"error","error":{"type":"invalid_request_error","message":"Requests which include
tool_useor
tool_resultblocks must define tools."}}**
The entire browser log is attached here below
vscode-app-1735736818076.log
its to be noted that I used the extension for a long time, it works as usual without any issue, all of a sudden I m having this.
To reproduce
dont know when it happens n what triggers
Log output
No response
The text was updated successfully, but these errors were encountered: