log.Println("Error Failed to generate, failed to create completion: ",err)
w.WriteHeader(http.StatusInternalServerError)
w.WriteHeader(http.StatusInternalServerError)
return
return
}
}
@ -490,6 +490,6 @@ func main() {
portString:=":8090"
portString:=":8090"
log.Println("DO NOT RUN WITH CLOUDFLARE PROXY it rate limits based on IP, if behind proxy every IP will be the same. Would need to fix req.RemoteAddr. Serving on "+portString+"...")
log.Println("DO NOT RUN WITH CLOUDFLARE PROXY it rate limits based on IP, if behind proxy every IP will be the same. Would need to fix req.RemoteAddr. Serving on "+portString+"...")