Commit 9ae9040b by Calcium-Ion Committed by GitHub

Merge pull request #3401 from seefs001/fix/convert-openai-detail-field

fix: the "detail" field is empty, an empty field was sent to upstream
parents 0191a68d ded4a124
......@@ -393,7 +393,7 @@ func (m *MediaContent) GetVideoUrl() *MessageVideoUrl {
type MessageImageUrl struct {
Url string `json:"url"`
Detail string `json:"detail"`
Detail string `json:"detail,omitempty"`
MimeType string
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment