-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
anthropicaijavascriptPull requests that update javascript codePull requests that update javascript code
Description
For Anthropic AI the input messages of the last span include the tool result as user message:
{
role: user
content: [
{
content: {"weather":"rainy"},
tool_use_id: toolu_01MwJbFpWUHzzHsFHhimqQmq,
type: tool_result
}
],
}
though we would ideally get something like this:
{
"role": "tool",
"content": {
"tool_use_id": "toolu_01MwJbFpWUHzzHsFHhimqQmq",
"output": {"weather":"rainy"},
}
}
Metadata
Metadata
Assignees
Labels
anthropicaijavascriptPull requests that update javascript codePull requests that update javascript code