Open willsmanley opened 12 hours ago
Hey, it is because the LLMStream is created manually when using the chat messages: See https://github.com/livekit/agents/blob/fe4471aa147346d4357c542b93917605c6700750/examples/voice-assistant/minimal_assistant.py#L63
before_llm_cb
is only called when there is an audio message from the userIf there is a text message,
before_llm_cb
is not called.It seems like, for consistency purposes, this method should also be called for text messages.