mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 08:26:37 +08:00
fix: fix response choice json
This commit is contained in:
parent
3432d9e0f6
commit
042d55cfd3
@ -248,7 +248,7 @@ type ChatCompletionsStreamResponseChoice struct {
|
||||
Delta struct {
|
||||
Content string `json:"content"`
|
||||
} `json:"delta"`
|
||||
FinishReason *string `json:"finish_reason"`
|
||||
FinishReason *string `json:"finish_reason,omitempty"`
|
||||
}
|
||||
|
||||
type ChatCompletionsStreamResponse struct {
|
||||
|
Loading…
Reference in New Issue
Block a user