Skip to content

Commit

Permalink
refactor: change messageContentToolUse.Input type to any
Browse files Browse the repository at this point in the history
  • Loading branch information
liushuangls committed Apr 7, 2024
1 parent d94b582 commit 58e0bfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ type MessageContentImageSource struct {
}

type MessageContentToolUse struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Input map[string]any `json:"input,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Input any `json:"input,omitempty"`
}

type MessagesResponse struct {
Expand Down

0 comments on commit 58e0bfa

Please sign in to comment.