fix: fix missing index in ChatCompletionsStreamResponseChoice (#1037)
This commit is contained in:
parent
565ea58e68
commit
c880b4a9a3
@ -118,6 +118,7 @@ type ImageResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ChatCompletionsStreamResponseChoice struct {
|
type ChatCompletionsStreamResponseChoice struct {
|
||||||
|
Index int `json:"index"`
|
||||||
Delta struct {
|
Delta struct {
|
||||||
Content string `json:"content"`
|
Content string `json:"content"`
|
||||||
} `json:"delta"`
|
} `json:"delta"`
|
||||||
|
Loading…
Reference in New Issue
Block a user