MCPcopy
hub / github.com/OpenBMB/ChatDev / handle_timeout_error

Function handle_timeout_error

utils/error_handler.py:57–59  ·  view source on GitHub ↗

Handle timeout errors.

(request: Request, exc: TimeoutError)

Source from the content-addressed store, hash-verified

55
56
57async def handle_timeout_error(request: Request, exc: TimeoutError) -> JSONResponse:
58 """Handle timeout errors."""
59 return await handle_mac_exception(request, exc)
60
61
62async def handle_external_service_error(request: Request, exc: ExternalServiceError) -> JSONResponse:

Callers

nothing calls this directly

Calls 1

handle_mac_exceptionFunction · 0.85

Tested by

no test coverage detected