Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/providers/bedrock/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1837,8 +1837,8 @@ func convertToolCallToContentBlock(toolCall schemas.ChatAssistantMessageToolCall
if err := json.Compact(&buf, []byte(args)); err == nil {
input = buf.Bytes()
} else {
// Preserve original payload instead of silently dropping args.
input = json.RawMessage([]byte(args))
// invalid json recieved
input = json.RawMessage("{}")
}
Comment thread
TejasGhatte marked this conversation as resolved.
}

Expand Down
Loading