This commit is contained in:
hajdul88 2025-12-11 20:09:06 +01:00
parent 926168b6bd
commit 4a99138daf

View file

@ -31,6 +31,7 @@ async def cleanup_litellm_clients():
# Cleanup LiteLLM async clients to prevent RuntimeWarning about unawaited coroutine
try:
import litellm
if hasattr(litellm, "close_litellm_async_clients"):
await litellm.close_litellm_async_clients()
except Exception: