Błażej Nowakowski
Błażej Nowakowski
1.2.15 for us, rolling back to 1.2.6
@tinalenguyen Good call, we are calling `generate_reply()` in `on_enter` but from the stack trace i understood that this is from overwritten `__await__` impl of the AgentTask, which runs before `on_enter`....
Hey @tinalenguyen just bumped livekit and will observe if this still happens :)
@tinalenguyen it's still happening after upgrading lk to latest @longcw no, that was our first assumption, so we added `await ctx.wait_for_playout()` but did not work (screen attached of the llm...
Just double checked, interrupted is set to false for this turn so I guess it's something else :'( it seems like the agent can't recover afterwards
@longcw I checked the PR now and I think it could also solve this issue. I guess there is race condition and it could still happen that SpeechHandle is not...
@longcw Super happy to go on the new version as soon as it's released 🫡
What do you think @longcw?
Thanks for the issue, I also don't know why it is still working like that. I guess backwards compatibility is the other issue if somebody wants to fix it 🤞
This PR should fix it https://github.com/ColeMurray/background-agents/pull/509 Try merging this PR into your branch and rerunning, should work