We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5e6e0e commit 6d066bbCopy full SHA for 6d066bb
messages.go
@@ -52,10 +52,11 @@ type ImageFile struct {
52
}
53
54
type MessageRequest struct {
55
- Role string `json:"role"`
56
- Content string `json:"content"`
57
- FileIds []string `json:"file_ids,omitempty"` //nolint:revive // backwards-compatibility
58
- Metadata map[string]any `json:"metadata,omitempty"`
+ Role string `json:"role"`
+ Content string `json:"content"`
+ FileIds []string `json:"file_ids,omitempty"` //nolint:revive // backwards-compatibility
+ Metadata map[string]any `json:"metadata,omitempty"`
59
+ Attachments []ThreadAttachment `json:"attachments,omitempty"`
60
61
62
type MessageFile struct {
0 commit comments