Skip to content

@ai-sdk/gateway@3.0.238

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:39
· 3540 commits to main since this release
8441d47

Patch Changes

  • 9faffa5: Map AI Gateway access_policy_denied error responses (HTTP 403) to the new GatewayAccessPolicyDeniedError instead of GatewayInternalServerError. Use GatewayAccessPolicyDeniedError.isInstance(error) to tell an access policy denial from other 403 errors. When the response includes them, the error exposes the denying policy IDs (policyIds) and the models and providers the policies removed (removedModels, removedProviders).
  • 3cf16af: Backport: chore(provider/gateway): update gateway model settings files
  • Updated dependencies [d59eee0]
    • @ai-sdk/provider-utils@4.0.67