Unverified Commit 84e5721f authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

always provide content even if empty (#5778)

parent 319fb1ce
......@@ -119,7 +119,7 @@ func (t Tools) String() string {
// of images.
type Message struct {
Role string `json:"role"`
Content string `json:"content,omitempty"`
Content string `json:"content"`
Images []ImageData `json:"images,omitempty"`
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
}
......
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 to comment