ai 5.1.0-beta.4 → 5.1.0-beta.6

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
@@ -463,7 +463,7 @@ function resolveLanguageModel(model) {
463
463
  }
464
464
  function resolveEmbeddingModel(model) {
465
465
  if (typeof model !== "string") {
466
- if (model.specificationVersion !== "v2") {
466
+ if (model.specificationVersion !== "v3") {
467
467
  throw new UnsupportedModelVersionError({
468
468
  version: model.specificationVersion,
469
469
  provider: model.provider,
@@ -678,7 +678,7 @@ import {
678
678
  } from "@ai-sdk/provider-utils";
679
679
 
680
680
  // src/version.ts
681
- var VERSION = true ? "5.1.0-beta.4" : "0.0.0-test";
681
+ var VERSION = true ? "5.1.0-beta.6" : "0.0.0-test";
682
682
 
683
683
  // src/util/download/download.ts
684
684
  var download = async ({ url }) => {