mirror of
https://github.com/ollama/ollama.git
synced 2026-10-21 11:01:33 +00:00
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.
|
||||
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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue