Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
orangecat
ollama
Commits
84e5721f
"...git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "051f58f1a5a8a7450ffea5c3aadaa2ea4b3a8630"
Unverified
Commit
84e5721f
authored
Jul 18, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jul 18, 2024
Browse files
always provide content even if empty (#5778)
parent
319fb1ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/types.go
api/types.go
+1
-1
No files found.
api/types.go
View file @
84e5721f
...
@@ -119,7 +119,7 @@ func (t Tools) String() string {
...
@@ -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"`
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment