feat: support claude stream_options

This commit is contained in:
CalciumIon
2024-07-08 01:45:43 +08:00
parent 22bc0bf773
commit 876bed4600
4 changed files with 26 additions and 10 deletions
+1
View File
@@ -102,6 +102,7 @@ type ChatCompletionsStreamResponse struct {
Model string `json:"model"`
SystemFingerprint *string `json:"system_fingerprint"`
Choices []ChatCompletionsStreamResponseChoice `json:"choices"`
Usage *Usage `json:"usage"`
}
type ChatCompletionsStreamResponseSimple struct {