@ai-sdk/gateway 3.0.190 → 3.0.191

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
@@ -1240,6 +1240,9 @@ var GatewayImageModel = class {
1240
1240
  return {
1241
1241
  images: responseBody.images,
1242
1242
  // Always base64 strings from server
1243
+ ...responseBody.isRetryable != null && {
1244
+ isRetryable: responseBody.isRetryable
1245
+ },
1243
1246
  warnings: mapGatewayWarnings(responseBody.warnings),
1244
1247
  providerMetadata: responseBody.providerMetadata,
1245
1248
  response: {
@@ -1310,6 +1313,7 @@ var gatewayImageUsageSchema = z10.object({
1310
1313
  var gatewayImageResponseSchema = z10.object({
1311
1314
  images: z10.array(z10.string()),
1312
1315
  // Always base64 strings over the wire
1316
+ isRetryable: z10.boolean().optional(),
1313
1317
  warnings: z10.array(gatewayImageWarningSchema).optional(),
1314
1318
  providerMetadata: z10.record(z10.string(), providerMetadataEntrySchema).optional(),
1315
1319
  usage: gatewayImageUsageSchema.optional()
@@ -2478,7 +2482,7 @@ async function getVercelRequestId() {
2478
2482
  }
2479
2483
 
2480
2484
  // src/version.ts
2481
- var VERSION = true ? "3.0.190" : "0.0.0-test";
2485
+ var VERSION = true ? "3.0.191" : "0.0.0-test";
2482
2486
 
2483
2487
  // src/gateway-provider.ts
2484
2488
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";