Skip to content

Commit

Permalink
fix(chat): image_url content type (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
florentine-doemges committed Apr 9, 2024
1 parent 7d0c348 commit 2d870f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public data class TextPart(@SerialName("text") val text: String) : ContentPart
* @param imageUrl the image url.
*/
@Serializable
@SerialName("image")
@SerialName("image_url")
public data class ImagePart(
@SerialName("image_url") val imageUrl: ImageURL,
) : ContentPart {
Expand Down

0 comments on commit 2d870f9

Please sign in to comment.