fix: fix missing index in ChatCompletionsStreamResponseChoice (#1037)

This commit is contained in:
JustSong 2024-02-25 19:17:37 +08:00
parent 565ea58e68
commit c880b4a9a3

View File

@ -118,6 +118,7 @@ type ImageResponse struct {
}
type ChatCompletionsStreamResponseChoice struct {
Index int `json:"index"`
Delta struct {
Content string `json:"content"`
} `json:"delta"`