Another warning on CLI shutdown from LiteLLM, this...
# feedback
l
Another warning on CLI shutdown from LiteLLM, this time whenever it's not started fully (e.g.,
--version
,
--help
,
serve
). Can't be filtered out, needs an helper function to check/create an event loop before sys.exit().
Text of the warning:
Copy code
/home/testuser/.cache/uv/archive-v0/6QFy8OcrEbMuobhok49SK/lib/python3.12/site-packages/litellm/llms/custom_httpx/async_client_cleanup.py:66: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()