@ai-sdk/amazon-bedrock 5.0.0-beta.2 → 5.0.0-beta.3

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
@@ -749,7 +749,7 @@ var BedrockChatLanguageModel = class {
749
749
  constructor(modelId, config) {
750
750
  this.modelId = modelId;
751
751
  this.config = config;
752
- this.specificationVersion = "v3";
752
+ this.specificationVersion = "v4";
753
753
  this.provider = "amazon-bedrock";
754
754
  this.supportedUrls = {
755
755
  // no supported urls for bedrock
@@ -1626,7 +1626,7 @@ var BedrockEmbeddingModel = class {
1626
1626
  constructor(modelId, config) {
1627
1627
  this.modelId = modelId;
1628
1628
  this.config = config;
1629
- this.specificationVersion = "v3";
1629
+ this.specificationVersion = "v4";
1630
1630
  this.provider = "amazon-bedrock";
1631
1631
  this.maxEmbeddingsPerCall = 1;
1632
1632
  this.supportsParallelCalls = true;
@@ -1766,7 +1766,7 @@ var BedrockImageModel = class {
1766
1766
  constructor(modelId, config) {
1767
1767
  this.modelId = modelId;
1768
1768
  this.config = config;
1769
- this.specificationVersion = "v3";
1769
+ this.specificationVersion = "v4";
1770
1770
  this.provider = "amazon-bedrock";
1771
1771
  }
1772
1772
  get maxImagesPerCall() {
@@ -1969,7 +1969,7 @@ import {
1969
1969
  import { AwsV4Signer } from "aws4fetch";
1970
1970
 
1971
1971
  // src/version.ts
1972
- var VERSION = true ? "5.0.0-beta.2" : "0.0.0-test";
1972
+ var VERSION = true ? "5.0.0-beta.3" : "0.0.0-test";
1973
1973
 
1974
1974
  // src/bedrock-sigv4-fetch.ts
1975
1975
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
@@ -2102,7 +2102,7 @@ var BedrockRerankingModel = class {
2102
2102
  constructor(modelId, config) {
2103
2103
  this.modelId = modelId;
2104
2104
  this.config = config;
2105
- this.specificationVersion = "v3";
2105
+ this.specificationVersion = "v4";
2106
2106
  this.provider = "amazon-bedrock";
2107
2107
  }
2108
2108
  async doRerank({
@@ -2306,7 +2306,7 @@ Original error: ${errorMessage}`
2306
2306
  headers: getHeaders,
2307
2307
  fetch: fetchFunction
2308
2308
  });
2309
- provider.specificationVersion = "v3";
2309
+ provider.specificationVersion = "v4";
2310
2310
  provider.languageModel = createChatModel;
2311
2311
  provider.embedding = createEmbeddingModel;
2312
2312
  provider.embeddingModel = createEmbeddingModel;