package response type Stream struct { ID string `json:"id"` Object string `json:"object"` Created int64 `json:"created"` Model string `json:"model"` Choices []StreamChoice `json:"choices"` } type StreamChoice struct { Delta StreamDelta `json:"delta"` Index int `json:"index"` FinishReason string `json:"finish_reason"` } type StreamDelta struct { Content string `json:"content"` }