feat: 本地重试

This commit is contained in:
CaIon
2024-04-04 16:35:44 +08:00
parent 346ed4cae1
commit fb992eeeac
11 changed files with 215 additions and 103 deletions
+1
View File
@@ -10,6 +10,7 @@ type OpenAIError struct {
type OpenAIErrorWithStatusCode struct {
Error OpenAIError `json:"error"`
StatusCode int `json:"status_code"`
LocalError bool
}
type GeneralErrorResponse struct {