early-restaurant-74591
08/02/2025, 4:46 PMtall-airline-16756
08/02/2025, 4:47 PMtall-airline-16756
08/02/2025, 4:47 PMconversation_item_added events could be due to how user messages are being processed and added to the chat context. Here are some steps to address this:
1. Verify that the UserInputTranscribedEvent is correctly adding user messages to the chat context and emitting the conversation_item_added event.
2. Ensure that the conversation_item_added event is emitted for both user and assistant messages. The logic should explicitly handle both cases.
3. Check for any interruptions or edge cases that might prevent user messages from being committed to the conversation history, such as during session closures or interruptions.
4. Test various scenarios to ensure user messages are consistently added to the conversation history.
If you need further assistance with implementing these steps or debugging specific scenarios, let me know.
Sources: livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realti...