feat: claude response return model name

This commit is contained in:
CalciumIon
2024-09-11 19:12:55 +08:00
parent f50cf75d1a
commit 17c8ba787e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ type OpenAITextResponseChoice struct {
type OpenAITextResponse struct {
Id string `json:"id"`
Model string `json:"model"`
Object string `json:"object"`
Created int64 `json:"created"`
Choices []OpenAITextResponseChoice `json:"choices"`