HTTP 400 for Claude 3.5, "messages.4.content.0.tool_result.tool_use_id: Field required" #3397
Open
3 tasks done
Labels
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
priority:medium
Indicates medium priority
Before submitting your bug report
Relevant environment info
Description
When the extension tries to use a tool (i.e. for reading a file), it fails with an API error from Claude.
This seems to be related to the introduction of tools. It would be great to be able to disable tools for now as a workaround.
To reproduce
// eslint-disable-next-line max-classes-per-file
"i want to disable this globally via tsconfig.json"
as a promptLog output
"Error handling webview message"
Error in API response
The text was updated successfully, but these errors were encountered: