From 7572ecf19b9356cbf8c77ca66c1e22bb0dd44359 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Tue, 31 Oct 2023 18:34:58 +0800 Subject: [PATCH] fix: retry with 502 --- process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.go b/process.go index 26a5cb7..ab1b63c 100644 --- a/process.go +++ b/process.go @@ -99,7 +99,7 @@ func processRequest(c *gin.Context, upstream *OPENAI_UPSTREAM, record *Record, s errCtx = err // abort to error handle - c.AbortWithError(502, err) + // c.AbortWithError(502, err) log.Println("response is", r.Response)