@ai-sdk/amazon-bedrock 4.0.115 → 4.0.117

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
@@ -1719,7 +1719,7 @@ var BedrockEmbeddingModel = class {
1719
1719
  schema: amazonBedrockEmbeddingModelOptionsSchema
1720
1720
  })) != null ? _a : {};
1721
1721
  const isNovaModel = this.modelId.startsWith("amazon.nova-") && this.modelId.includes("embed");
1722
- const isCohereModel = this.modelId.startsWith("cohere.embed-");
1722
+ const isCohereModel = this.modelId.includes("cohere.embed-");
1723
1723
  const args = isNovaModel ? {
1724
1724
  taskType: "SINGLE_EMBEDDING",
1725
1725
  singleEmbeddingParams: {
@@ -2035,7 +2035,7 @@ import {
2035
2035
  import { AwsV4Signer } from "aws4fetch";
2036
2036
 
2037
2037
  // src/version.ts
2038
- var VERSION = true ? "4.0.115" : "0.0.0-test";
2038
+ var VERSION = true ? "4.0.117" : "0.0.0-test";
2039
2039
 
2040
2040
  // src/bedrock-sigv4-fetch.ts
2041
2041
  function createSigV4FetchFunction(getCredentials, fetch, service = "bedrock") {