When hitting rate limits (429), the agent now: - Extracts the Retry-After header from the provider response and uses it as the wait time instead of blind exponential backoff (capped at 120s) - Shows rate-limit-specific messaging: 'Rate limit reached. Waiting Xs before retry (attempt N/M)...' - Shows a distinct exhaustion message: 'Rate limit persisted after N retries. Please try again later.' Non-429 errors keep the existing exponential backoff and generic messaging. Co-authored-by: ygd58 <ygd58@users.noreply.github.com>
409 KiB
409 KiB