This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Aditya. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're getting an ImportError caused by LiveKit Agents trying to import
LogData
from OpenTelemetry internals. That symbol was removed/changed in newer OpenTelemetry SDK releases, so LiveKit's telemetry code fails to import it. Two practical fixes you can try: • Option A — Pin OpenTelemetry to a compatible release: a. Install versions where
LogData
exists, e.g.:
Copy code
pip install "opentelemetry-sdk==1.19.0" "opentelemetry-exporter-otlp==1.19.0"
1. Restart your app. • Option B — Upgrade livekit-agents: a. Update to a livekit-agents release that removes reliance on the internal
LogData
API:
Copy code
pip install --upgrade livekit-agents
1. Restart your app. Which would you like to try? Also please share the output of: •
pip show livekit-agents
•
pip show opentelemetry-sdk
I'll recommend the exact commands based on those versions. Sources: Observability data hooks | LiveKit docs