We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9ff51 commit 1b8feaeCopy full SHA for 1b8feae
chat_stream.go
@@ -7,7 +7,8 @@ import (
7
)
8
9
type ChatCompletionStreamChoiceDelta struct {
10
- Content string `json:"content"`
+ Content string `json:"content,omitempty"`
11
+ Role string `json:"role,omitempty"`
12
}
13
14
type ChatCompletionStreamChoice struct {
0 commit comments