Add a circuit breaker for the Typesense HTTP transport
Add a circuit breaker for the Typesense HTTP transport: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When the Typesense server starts failing, the client currently keeps hammering it with requests, which makes a bad situation worse. I'd like us to add a circuit breaker…
The task
When the Typesense server starts failing, the client currently keeps hammering it with requests, which makes a bad situation worse. I'd like us to add a **circuit breaker** that monitors request failures and short-circuits calls once failures pile up, so we stop sending traffic to a server that is clearly unhealthy.
Part of openmodelai/MiMo-V2.6-Code.