Skip to content

Commit

Permalink
source not image
Browse files Browse the repository at this point in the history
  • Loading branch information
dleviminzi committed Apr 25, 2024
1 parent 527d89d commit 38136f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type Message struct {
type MessageContent struct {
Type ContentType `json:"type,omitempty"`
Text *string `json:"text,omitempty"`
Image *ImageSource `json:"image,omitempty"`
Image *ImageSource `json:"source,omitempty"`
}

// ImageSource describes an image that is sent to the model in base64 (type).
Expand Down

0 comments on commit 38136f3

Please sign in to comment.