debug: enable livekit.agents debug logging for STT/VAD diagnosis
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
voice.py
4
voice.py
@@ -15,6 +15,10 @@ from livekit.plugins import openai as lk_openai, elevenlabs, silero
|
||||
|
||||
logger = logging.getLogger("matrix-ai-voice")
|
||||
|
||||
# Enable debug logging for agents pipeline to diagnose audio issues
|
||||
logging.getLogger("livekit.agents").setLevel(logging.DEBUG)
|
||||
logging.getLogger("livekit.plugins").setLevel(logging.DEBUG)
|
||||
|
||||
LITELLM_URL = os.environ.get("LITELLM_BASE_URL", "")
|
||||
LITELLM_KEY = os.environ.get("LITELLM_API_KEY", "not-needed")
|
||||
LK_API_KEY = os.environ.get("LIVEKIT_API_KEY", "")
|
||||
|
||||
Reference in New Issue
Block a user