mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 22:17:27 +00: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