always provide content even if empty (#5778)
This commit is contained in:
parent
319fb1ce03
commit
84e5721f3a
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ func (t Tools) String() string {
|
||||||
// of images.
|
// of images.
|
||||||
type Message struct {
|
type Message struct {
|
||||||
Role string `json:"role"`
|
Role string `json:"role"`
|
||||||
Content string `json:"content,omitempty"`
|
Content string `json:"content"`
|
||||||
Images []ImageData `json:"images,omitempty"`
|
Images []ImageData `json:"images,omitempty"`
|
||||||
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
|
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue