feat: support claude stream_options

This commit is contained in:
CalciumIon
2024-07-08 01:45:43 +08:00
parent b0e234e8f5
commit e8b93ed6ec
4 changed files with 26 additions and 10 deletions

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 {