github vercel/ai ai@5.0.0-beta.20

latest releases: @ai-sdk/google-vertex@3.0.23, @ai-sdk/azure@2.0.26, @ai-sdk/openai@2.0.26...
pre-releaseone month ago

Patch Changes

  • 4c8f834: feat: automatically respect rate limit headers in retry logic

    Added automatic support for respecting rate limit headers (retry-after-ms and retry-after) in the SDK's retry logic. When these headers are present and contain reasonable values (0-60 seconds), the retry mechanism will use the server-specified delay instead of exponential backoff. This matches the behavior of Anthropic and OpenAI client SDKs and improves rate limit handling without requiring any API changes.

Don't miss a new ai release

NewReleases is sending notifications on new releases.