Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diemus committed Mar 25, 2023
1 parent a852bb9 commit 44d4a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azure/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewOpenAIReverseProxy() *httputil.ReverseProxy {
}
director := func(req *http.Request) {
// Get model and map it to deployment
if req.Body != nil {
if req.Body == nil {
log.Println("unsupported request, body is empty")
return
}
Expand Down

0 comments on commit 44d4a32

Please sign in to comment.