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

Function processing_timeout

api_utils/error_utils.py:23–26  ·  view source on GitHub ↗
(
    req_id: str, message: str = "Processing timed out."
)

Source from the content-addressed store, hash-verified

21
22
23def processing_timeout(
24 req_id: str, message: str = "Processing timed out."
25) -> HTTPException:
26 return http_error(504, f"[{req_id}] {message}")
27
28
29def bad_request(req_id: str, message: str) -> HTTPException:

Calls 1

http_errorFunction · 0.85