ai 6.0.0-beta.108 → 6.0.0-beta.110

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
@@ -785,7 +785,7 @@ import {
785
785
  } from "@ai-sdk/provider-utils";
786
786
 
787
787
  // src/version.ts
788
- var VERSION = true ? "6.0.0-beta.108" : "0.0.0-test";
788
+ var VERSION = true ? "6.0.0-beta.110" : "0.0.0-test";
789
789
 
790
790
  // src/util/download/download.ts
791
791
  var download = async ({ url }) => {
@@ -3760,7 +3760,8 @@ function asContent({
3760
3760
  case "file": {
3761
3761
  return {
3762
3762
  type: "file",
3763
- file: new DefaultGeneratedFile(part)
3763
+ file: new DefaultGeneratedFile(part),
3764
+ ...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
3764
3765
  };
3765
3766
  }
3766
3767
  case "tool-call": {