File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ type ChatMessageImageURL struct {
82
82
}
83
83
84
84
// ChatMessagePartFile is a placeholder for file parts in chat messages.
85
- type ChatMessagePartFile struct {
85
+ type ChatMessageFile struct {
86
86
FileID string `json:"file_id,omitempty"`
87
87
FileName string `json:"filename,omitempty"`
88
88
FileData string `json:"file_data,omitempty"` // Base64 encoded file data
@@ -100,7 +100,7 @@ type ChatMessagePart struct {
100
100
Type ChatMessagePartType `json:"type,omitempty"`
101
101
Text string `json:"text,omitempty"`
102
102
ImageURL * ChatMessageImageURL `json:"image_url,omitempty"`
103
- File * ChatMessagePartFile `json:"file,omitempty"`
103
+ File * ChatMessageFile `json:"file,omitempty"`
104
104
}
105
105
106
106
type ChatCompletionMessage struct {
You can’t perform that action at this time.
0 commit comments