fix: correct OpenAI error code's type
This commit is contained in:
1 parent
e479f43c52
commit
69a497efd5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ type OpenAIError struct {
|
||||
Message string `json:"message"`
|
||||
Type string `json:"type"`
|
||||
Param string `json:"param"`
|
||||
Code string `json:"code"`
|
||||
Code any `json:"code"`
|
||||
}
|
||||
|
||||
type OpenAIErrorWithStatusCode struct {
|
||||
|
||||
Reference in new issue
Block a user