ai 5.0.107 → 5.0.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -684,7 +684,7 @@ import {
684
684
  } from "@ai-sdk/provider-utils";
685
685
 
686
686
  // src/version.ts
687
- var VERSION = true ? "5.0.107" : "0.0.0-test";
687
+ var VERSION = true ? "5.0.109" : "0.0.0-test";
688
688
 
689
689
  // src/util/download/download.ts
690
690
  var download = async ({ url }) => {
@@ -1412,7 +1412,7 @@ function wrapGatewayError(error) {
1412
1412
  if (GatewayAuthenticationError.isInstance(error) || GatewayModelNotFoundError.isInstance(error)) {
1413
1413
  return new AISDKError19({
1414
1414
  name: "GatewayError",
1415
- message: "Vercel AI Gateway access failed. If you want to use AI SDK providers directly, use the providers, e.g. @ai-sdk/openai, or register a different global default provider.",
1415
+ message: "Unauthenticated. Configure AI_GATEWAY_API_KEY or configure and use a provider module. Learn more: https://vercel.link/unauthenticated-ai-gateway",
1416
1416
  cause: error
1417
1417
  });
1418
1418
  }