🐛 fix: fix gemini error_code type error

This commit is contained in:
Martial BE 2024-03-25 10:52:17 +08:00
parent 40ef06ceda
commit 0e86c7e4d1
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084

View File

@ -43,7 +43,7 @@ type GeminiChatGenerationConfig struct {
}
type GeminiError struct {
Code string `json:"code"`
Code int `json:"code"`
Message string `json:"message"`
Status string `json:"status"`
}