```/app/.venv/lib/python3.13/site-packages/litellm...
# ask-ai
a
Copy code
/app/.venv/lib/python3.13/site-packages/litellm/llms/custom_httpx/async_client_cleanup.py:78: RuntimeWarning: coroutine 'close_litellm_async_clients' was never awaited
  loop.close()
getting this when running
lk agent log
t
Thanks for reaching out, JT. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please share a bit more about your setup? For example, are you using a custom Python script or library alongside the LiveKit CLI? Also, it would be great to know which versions of Python and LiveKit CLI you’re working with. This info will really help us get to the bottom of the issue together. Sources: Log collection | LiveKit Docs | Troubleshooting & Common Issues | livekit/livekit_composite | DeepWiki | CLI Tools & Token Management | livekit/livekit_composite | DeepWiki
a
lk version 2.6.2, python 3.13
t
Thanks for reaching out! I wanted to let you know that LiveKit CLI version 2.6.2 and Python 3.13 are compatible, and there aren’t any known issues connecting them to the 'coroutine was never awaited' error. This error usually happens when a coroutine isn’t properly awaited in Python’s asyncio framework, which can be a bit tricky. Here are some steps that might help you troubleshoot: 1. First, please check your LiveKit package versions by running
pip freeze | grep livekit
and confirm your Python version with
python --version
. 2. Think about whether you’ve recently upgraded any LiveKit libraries or changed related code. 3. Make sure all coroutines in your code are properly awaited — that’s often where this error comes from. 4. It would be great to gather some diagnostic info too, like logs, room IDs, and timestamps, which can really help pinpoint what’s going on. If you’re still running into issues after trying these, please don’t hesitate to share more details about your setup or any custom scripts you’re using with the CLI. I’m here to help you get this sorted out! Sources: Protocol & WebRTC Stack | livekit/livekit_composite | DeepWiki | Troubleshooting & Common Issues | livekit/livekit_composite | DeepWiki | livekit-agents/livekit/agents/cli/_run.py | Still Have Questions