diff --git a/koboldcpp.py b/koboldcpp.py index 00e81196a..0c533d9f9 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3726,7 +3726,111 @@ class KcppProxyHandler(http.server.BaseHTTPRequestHandler): conn.request( self.command, self.path, body=body, headers=headers) resp = conn.getresponse() except OSError as e: - self.send_error(502, f"KoboldCpp proxy connection failed: {e}") + 502_page = """ + + +
+ + +