support postgres

This commit is contained in:
2023-11-28 10:19:07 +08:00
parent de3bea06a7
commit 0785d43ff1
5 changed files with 55 additions and 26 deletions

View File

@@ -21,6 +21,7 @@ func processRequest(c *gin.Context, upstream *OPENAI_UPSTREAM, record *Record, s
var errCtx error
record.UpstreamEndpoint = upstream.Endpoint
record.UpstreamSK = upstream.SK
record.Response = ""
// [TODO] record request body