🐛 fix: fix gemini error_code type error
This commit is contained in:
parent
40ef06ceda
commit
0e86c7e4d1
@ -43,7 +43,7 @@ type GeminiChatGenerationConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GeminiError struct {
|
type GeminiError struct {
|
||||||
Code string `json:"code"`
|
Code int `json:"code"`
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user