修复vision格式问题

This commit is contained in:
CaIon committed 2023-12-18 23:46:05 +08:00
1 parent b51c13334a
commit f24a1da7f3
2 files changed
+21 -4

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ type Message struct {
}
type MediaMessage struct {
Type string `json:"type"`
Text string `json:"text"`
ImageUrl MessageImageUrl `json:"image_url,omitempty"`
Type string `json:"type"`
Text string `json:"text"`
ImageUrl any `json:"image_url,omitempty"`
}
type MessageImageUrl struct {