mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
style(chatgpt): keep hook rationale within line limit
This commit is contained in:
parent
d482638d5f
commit
d5f352823b
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ async def codex_realtime_sideband(websocket: WebSocket, token: str, auth: UserAP
|
|||
}
|
||||
try:
|
||||
processed: Final = await process_codex_request(request, data, auth, call.alias, "_arealtime")
|
||||
except Exception: # noqa: BLE001 # user-defined pre-call hooks may raise any exception; always reject the connection
|
||||
except Exception: # noqa: BLE001 # custom hook exceptions must reject the connection
|
||||
verbose_proxy_logger.exception("Realtime sideband pre-call rejected")
|
||||
await websocket.close(code=1008, reason="Realtime pre-call rejected")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue