Hi guys. Is there anyone who can go into a live me...
# agents
i
Hi guys. Is there anyone who can go into a live meeting and help me. There's a problem with my agent system and I'm having trouble building it.
r
What problem are you having?
i
I am producing a virtual human KIOSK device using Gemini Live API + Simli. I have set up a structure consisting of two agents • Idle Agent: Using Silero VAD and listening human voice activity. If there is human voice. Calls Wake Agent • Wake Agent: Using Gemini Live API + Simli serving as a virtual human. Session falls down in 30 sec of silence or 10 min session (session time is not stable depends on simli it can be 6 min or 3 min). If session falls calls Idle Agent.
Session is not stable Idle Agent is not working
here is my code
I've been trying to fix this problem day and night for 2 weeks. I'd appreciate your help. I have to deliver the product by this Friday. It's a very important milestone for my company. My bankruptcy depends on delivering this product and closing the contract. Thank you very much in advance.
r
Doesn't Gemini have a 10 minute session limit? Did you check their docs?
i
Yes I checked and I see in my tests. When gemini + simli session falls i call my Idle agent to wake it up again.
With this structure I'm trying to build loop in Idle and Wake state. So we can trigger new session when current session ends.
l
Do you need to register your error handler in your
wake_agent.py
?
Copy code
self.session.on("error", self._on_session_error)