fix: retry with 502
This commit is contained in:
@@ -99,7 +99,7 @@ func processRequest(c *gin.Context, upstream *OPENAI_UPSTREAM, record *Record, s
|
|||||||
errCtx = err
|
errCtx = err
|
||||||
|
|
||||||
// abort to error handle
|
// abort to error handle
|
||||||
c.AbortWithError(502, err)
|
// c.AbortWithError(502, err)
|
||||||
|
|
||||||
log.Println("response is", r.Response)
|
log.Println("response is", r.Response)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user