Is there an example or anyone else who has impleme...
# ask-ai
b
Is there an example or anyone else who has implemented a failsafe such that if the agent crashes due to a function error, or an initialization error, the call can be cold transferred?
t
Thanks for reaching out, Aryan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you help me understand a bit more about where you’re looking to add this failsafe? Like, is it something with LiveKit, a custom app you’re working on, or maybe another system? Knowing this will really help me give you the best advice possible.
b
I am using a livekit v1.x agent. its the same agent.py dev running method. Sometimes due to either the STT or the LLM or the TTS or some function running into an error, the agent crashes, or throws an error. What i want to do is if, incase of an error, transfer the call over to a real person so that that customer is not lost.
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!