ai 5.0.108 → 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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -777,7 +777,7 @@ function detectMediaType({
|
|
|
777
777
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
778
778
|
|
|
779
779
|
// src/version.ts
|
|
780
|
-
var VERSION = true ? "5.0.
|
|
780
|
+
var VERSION = true ? "5.0.109" : "0.0.0-test";
|
|
781
781
|
|
|
782
782
|
// src/util/download/download.ts
|
|
783
783
|
var download = async ({ url }) => {
|
|
@@ -1499,7 +1499,7 @@ function wrapGatewayError(error) {
|
|
|
1499
1499
|
if (import_gateway2.GatewayAuthenticationError.isInstance(error) || import_gateway2.GatewayModelNotFoundError.isInstance(error)) {
|
|
1500
1500
|
return new import_provider20.AISDKError({
|
|
1501
1501
|
name: "GatewayError",
|
|
1502
|
-
message: "
|
|
1502
|
+
message: "Unauthenticated. Configure AI_GATEWAY_API_KEY or configure and use a provider module. Learn more: https://vercel.link/unauthenticated-ai-gateway",
|
|
1503
1503
|
cause: error
|
|
1504
1504
|
});
|
|
1505
1505
|
}
|