fix: add role for ChatCompletionsStreamResponseChoice.Delta
This commit is contained in:
parent
dc5b781191
commit
6b27d6659a
@ -121,6 +121,7 @@ type ChatCompletionsStreamResponseChoice struct {
|
||||
Index int `json:"index"`
|
||||
Delta struct {
|
||||
Content string `json:"content"`
|
||||
Role string `json:"role,omitempty"`
|
||||
} `json:"delta"`
|
||||
FinishReason *string `json:"finish_reason,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user