fix: stream options

This commit is contained in:
CalciumIon
2024-07-08 21:54:32 +08:00
parent a984daa503
commit a075598757
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ func GenerateFinalUsageResponse(id string, createAt int64, model string, usage d
Created: createAt,
Model: model,
SystemFingerprint: nil,
Choices: nil,
Choices: make([]dto.ChatCompletionsStreamResponseChoice, 0),
Usage: &usage,
}
}