optimize: high cpu
This commit is contained in:
1 parent
b58fdc21db
commit
7633ef1ea9
4 files changed
+51
-25
No files matched your search
@@ -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