Triggers
A retry only happens when the failure matches a configured trigger:Budget
Thebudget caps how hard TrustGate tries:
max_attempts— total forward attempts (including the first).max_total_latency— wall-clock ceiling across all attempts.
The chain
chain is the ordered list of registries to try. On each failure TrustGate moves to the
next entry and adds the failed registry to an exclude set, so the
load balancer never re-picks an already-failed
registry within the same request.
Use fallback to span providers (e.g. OpenAI → Azure OpenAI → Bedrock) for resilience, or to degrade from a premium model to a cheaper one under load.