Fallbacks, per-turn timeouts, and failure audio that keep a call graceful when a model step fails.
Any of Listen, Think, and Speak can fail on a single turn: a provider returns an
error, or a response arrives too late for a real-time call. The agent’s models
object carries three controls that handle this, and they work the same way for
all three steps. The API sets them together in the models block; the dashboard
exposes them on each section (Listen, Think, Speak), with failure audio under
Agent behavior.
models.fallbacks lists the models to try, in order, when the primary model for
a step fails. Each step has its own list: stt, llm, and tts. A list can mix
slng/ and BYOK routes, so a hosted model can fall back to your own provider or
the other way around.
Dashboard
API
Open a section (Listen, Think, or Speak) and find Fallback routing. Click
Add to append a backup model. The rows are an ordered list, tried top to
bottom, and each row has controls to reorder or remove it. On Speak, each row
also picks a voice for the fallback model.
Fallback routing on the Speak section: an ordered list of backup models, each with its own voice.
Send the whole models object; a PATCH replaces it as a unit.
Each step has a timeout that bounds how long the agent waits before it gives up
on the primary model and moves to a fallback:
models.stt_final_timeout_s: the wait for a final transcript.
models.llm_first_token_timeout_s: the wait for the model’s first token.
models.tts_first_audio_timeout_s: the wait for the first audio chunk.
A null value uses the provider default. Set a number to fail faster on a slow
step.
Dashboard
API
Each section’s Advanced settings card has a timeout field (“STT timeout
(seconds)” on Listen, “LLM timeout (seconds)” on Think, “TTS timeout
(seconds)” on Speak). Leave it empty to use the provider default.
The per-turn timeout in a section's Advanced settings.
models.failure_audio_enabled is true by default. When a turn cannot be
completed, even after fallbacks, the agent plays a short clip instead of going
silent, so the caller hears that something went wrong. In the dashboard this
toggle lives under Agent behavior, not the Listen, Think, or Speak sections.