big-army-80496
09/29/2025, 3:18 PMsession.say not trigger the conversation_item_added event?tall-airline-16756
09/29/2025, 3:18 PMtall-airline-16756
09/29/2025, 3:19 PMsession.say does trigger the conversation_item_added event in LiveKit. When session.say is called, it creates a message from the agent and adds it to the chat history. This then triggers the conversation_item_added event with the new message as the payload.
If you’re not seeing this happen, it could be due to how the event listener is set up or how the method is being called. Please feel free to reach out if you'd like some help troubleshooting this—I’m here to assist you!
Sources: examples/other/text_only.py | Events and error handling | LiveKit Docs