Add an opt-in retry middleware for Bot API requests
Add an opt-in retry middleware for Bot API requests: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Individual Bot API calls currently have no reusable retry policy, even though aiogram already has a request-middleware pipeline and backoff utilities. Add a public…
The task
Individual Bot API calls currently have no reusable retry policy, even though aiogram already has a request-middleware pipeline and backoff utilities. Add a public `RetryRequestMiddleware` importable from `aiogram.client.session.middlewares.retry` so applications can register retry behavior on a session without…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.