mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-17 05:33:42 +08:00
🐛 fix: fix gemini error_code type error
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user