From 6d3f01d139c14f2c6c8d5b0b22a711fdff55467f Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Tue, 17 Mar 2026 11:11:46 +0800 Subject: [PATCH] compact css, fix .py variable name error --- koboldcpp.py | 79 +++++----------------------------------------------- 1 file changed, 7 insertions(+), 72 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index 0c533d9f9..73c7a5c57 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3725,8 +3725,8 @@ class KcppProxyHandler(http.server.BaseHTTPRequestHandler): conn = http.client.HTTPConnection('localhost', upstream_port, timeout=600) conn.request( self.command, self.path, body=body, headers=headers) resp = conn.getresponse() - except OSError as e: - 502_page = """ + except OSError: + html_502 = """
@@ -3734,77 +3734,12 @@ class KcppProxyHandler(http.server.BaseHTTPRequestHandler):