Any way to pre-initialize our fallback LLMs simila...
# agents
e
Any way to pre-initialize our fallback LLMs similar to a db connection pool? that way switching doesnt take too much time. same for tts / stt.
c
Did you try to add the fallback adapters to the
AgentSession
constructor? When LiveKit can’t reach the first provider, it will try the second. llm=llm.FallbackAdapter( [ openai.LLM(model=“gpt-4.1”), openai.LLM(model=“gpt-4o-mini”), ] ), stt=stt.FallbackAdapter( [ deepgram.STT(model=“nova-3”, language=“multi”), stt.StreamAdapter(stt=openai.STT(model=“gpt-4o-transcribe”), vad=vad), ] ), tts=tts.FallbackAdapter( [ openai.TTS(voice=“ash”), deepgram.TTS(), ] ),