MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / client_disconnected

Function client_disconnected

api_utils/error_utils.py:18–20  ·  view source on GitHub ↗
(req_id: str, stage: str = "")

Source from the content-addressed store, hash-verified

16
17
18def client_disconnected(req_id: str, stage: str = "") -> HTTPException:
19 suffix = f" during {stage}" if stage else ""
20 return http_error(499, f"[{req_id}] Client disconnected{suffix}.")
21
22
23def processing_timeout(

Calls 1

http_errorFunction · 0.85