mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-23 05:34:41 +00:00
fix(proxy): annotate deferred callback boundary
This commit is contained in:
parent
307bb06a05
commit
8bee832c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -1109,7 +1109,7 @@ _DEFERRED_STREAM_CALLBACK_TASKS: Final[set[asyncio.Task[None]]] = set() # mutab
|
|||
async def _run_deferred_stream_callback(callback: Coroutine[object, object, object]) -> None:
|
||||
try:
|
||||
await callback
|
||||
except Exception as e:
|
||||
except Exception as e: # noqa: BLE001 # background callback failures must not escape
|
||||
verbose_proxy_logger.exception("Error in deferred stream callback: %s", e)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue