This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Ashish. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To ensure that eou, stt, and tts metrics are logged correctly after changing the LLM and TTS models in your
agent.py
, please verify the following configurations: • Ensure the necessary modules for metrics are imported, such as
LLMMetrics
,
STTMetrics
,
TTSMetrics
, and
EOUMetrics
. • Initialize the components with the desired models, e.g.,
llm = openai.LLM(model="Groq Llama 4")
and
tts = elevenlabs.TTS()
. • Set up event handlers for metrics collection, such as
llm.on("metrics_collected", llm_metrics_wrapper)
and similar for STT, TTS, and EOU metrics. • Implement methods to handle the collected metrics, logging details like duration, latency, and token counts. • Ensure logging is properly configured with a logger instance, e.g.,
logger = logging.getLogger("agent-metrics")
. If these configurations are already in place and the issue persists, let me know so we can investigate further.
c
the issue still persist, we have verified all these configurations
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
c
Dig deeper and tell me if others have faced this issue too? what config needs to be changed so that the metrics can be collected for different models?