mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-03 12:53:41 +08:00
feat: 本地重试
This commit is contained in:
@@ -10,6 +10,7 @@ type OpenAIError struct {
|
||||
type OpenAIErrorWithStatusCode struct {
|
||||
Error OpenAIError `json:"error"`
|
||||
StatusCode int `json:"status_code"`
|
||||
LocalError bool
|
||||
}
|
||||
|
||||
type GeneralErrorResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user