:bug: Unsure if this is the right place to ask, bu...
# agents
p
🐛 Unsure if this is the right place to ask, but we're also experiencing this issue with TTS+Cartesia, where the agent breaks completely with
no audio frames were pushed
https://github.com/livekit/agents/issues/3306
r
I see in that issue you were using 1.2.7. That version was recalled. Please retest with 1.2.8.
p
I just did, but I still experience the same issue. I haven't checked the changelog, but let me see if this issue was addressed directly.
r
So Cartesia does not work at all for you?
Just tried and it is working for me.
Have you checked your Cartesia account?
p
I have two setups atm: one works, the other doesn't. In the setup that works, the session is started, then I call generate_reply right after it (outside of the agent scope) The one that fails, the session is started, but instead of calling generate_reply right after it, I do it within the on_enter.
r
My test is doing this and it works:
Copy code
async def on_enter(self):
        # when the agent is added to the session, it'll generate a reply
        # according to its instructions
        self.session.generate_reply()
p
Let me give it a go
one sec, in a call atm
Sorry for the delay in getting back to you @refined-appointment-81829. Turns out it was throwing that error because I was passing an invalid voice uuid to the AgentSession's tts object.