Mindrift interview question

How do you implement exponential backoff and strict try/except fallbacks when orchestrating flaky external LLM APIs?