Skip to content

@ai-sdk/gateway@4.0.147

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:40
· 3 commits to main since this release
f35668b

Patch Changes

  • 74042c5: chore(provider/gateway): update gateway model settings files
  • b8c01eb: 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).
  • Updated dependencies [10ff0b1]
  • Updated dependencies [e878ab3]
  • Updated dependencies [d99098a]
    • @ai-sdk/provider@4.0.39
    • @ai-sdk/provider-utils@5.0.82