up
This commit is contained in:
1 parent
39a81688a9
commit
5181ba4552
1 file changed
+3
@@ -346,6 +346,9 @@ func ChatProxy(c *gin.Context, chatReq *ChatCompletionRequest) {
|
||||
}
|
||||
|
||||
}
|
||||
for k, v := range resp.Header {
|
||||
c.Writer.Header().Set(k, v[0])
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, opiResp)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user