mirror of
https://github.com/linux-do/new-api.git
synced 2025-12-25 16:15:56 +08:00
optimize: high cpu
This commit is contained in:
@@ -189,6 +189,10 @@ type ChatCompletionsStreamResponse struct {
|
||||
Choices []ChatCompletionsStreamResponseChoice `json:"choices"`
|
||||
}
|
||||
|
||||
type ChatCompletionsStreamResponseSimple struct {
|
||||
Choices []ChatCompletionsStreamResponseChoice `json:"choices"`
|
||||
}
|
||||
|
||||
type CompletionsStreamResponse struct {
|
||||
Choices []struct {
|
||||
Text string `json:"text"`
|
||||
|
||||
Reference in New Issue
Block a user