github vercel/ai @ai-sdk/gateway@4.0.147

latest releases: @ai-sdk/zai@3.0.56, @ai-sdk/xai@5.0.47, @ai-sdk/workflow-harness@1.0.185...
one hour ago

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

Don't miss a new ai release

NewReleases is sending notifications on new releases.