Add retry logic for rotation requests on failure or timeout
- Try up to 2 different models when a request fails or times out - Track which models have been tried to avoid repeating failures - Log each attempt with attempt number and model details - Record failures and rate limit providers automatically - Provide detailed error logging for each failed attempt - Return comprehensive error message when all retries are exhausted - Include last error in final error response for debugging
Showing
Please
register
or
sign in
to comment