feat: claude response return model name

This commit is contained in:
CalciumIon committed 2024-09-11 19:12:55 +08:00
1 parent f50cf75d1a
commit 17c8ba787e
2 files changed
+2

No files matched your search

+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"`