"In VoiceAgent, I have a Firebase real-time variab...
# ask-ai
w
"In VoiceAgent, I have a Firebase real-time variable tempAction. I want to call self.session.update_agent(VisionAssistant()) as soon as tempAction becomes 1. How can I do this?"
t
Thanks for reaching out, Atharva. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey! Just wanted to check in—how are you currently keeping an eye on the Firebase real-time variable
tempAction
in your VoiceAgent? Are you using a particular Firebase SDK or some other integration in your app? Also, about the
self.session.update_agent(VisionAssistant())
function, is that something custom you've set up? If so, I’d love to hear more about how it fits into your project!
w
tell me when some variable becomes 1 i want to trigger a function call how to do it
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!