Failover LLM: Retry with another LLM provider on failure

The idea is:

To be able to select another LLM provider as failover.

My use case:

Anthropic has been unavailable a lot over the last 3 days of this writing, and we need an option to continue with another provider on such failures.

I think it would be beneficial to add this because:

Uptime!

Any resources to support this?