agents
agents copied to clipboard
Livekit agent RAG not working with 0.8.5
hi, iam facing an issue with livekit agent version 0.8.4 and 0.8.5, it works well in 0.8.2, in this method _will_synthesize_assistant_answer() as per this example(we have a modified version of this code using a vector DB but issue is same) https://github.com/livekit/agents/blob/main/examples/voice-assistant/simple-rag/assistant.py the text that user speaks is not getting commited as individual message to chat_ctx's messages list,(so that i get reply from assistant), but rather even if i stop speaking for 2-3 seconds and than i start speaking again it will still get appended to last message i sent in chat_ctx's messages list, but in 0.8.2 moment i stopped speaking it would make assistant to answer me and all my messages will get appended as new entry instead of adding to CONTENT of same old user message(LAST message).ANY HELP shall be highly appreciated. I even tried appending the message like on this example, but still next time i speak it appends mine new STT message to mine last message and assistant never speaks.https://github.com/livekit/agents/blob/main/examples/voice-assistant/minimal_assistant.py