fix: body larger than 1024*128

This commit is contained in:
2024-01-16 11:32:06 +08:00
parent 2a2d907b0d
commit 873548a7d0

View File

@@ -227,9 +227,5 @@ func processRequest(c *gin.Context, upstream *OPENAI_UPSTREAM, record *Record, s
} }
} }
if len(record.Body) > 1024*512 {
record.Body = ""
}
return nil return nil
} }