ai 6.0.0-beta.109 → 6.0.0-beta.111

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.0-beta.111
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e8694af]
8
+ - @ai-sdk/gateway@2.0.0-beta.61
9
+
10
+ ## 6.0.0-beta.110
11
+
12
+ ### Patch Changes
13
+
14
+ - db913bd: fix(google): add thought signature to gemini 3 pro image parts
15
+ - Updated dependencies [db913bd]
16
+ - @ai-sdk/provider@3.0.0-beta.17
17
+ - @ai-sdk/gateway@2.0.0-beta.60
18
+ - @ai-sdk/provider-utils@4.0.0-beta.34
19
+
3
20
  ## 6.0.0-beta.109
4
21
 
5
22
  ### Patch Changes
package/dist/index.js CHANGED
@@ -886,7 +886,7 @@ function detectMediaType({
886
886
  var import_provider_utils2 = require("@ai-sdk/provider-utils");
887
887
 
888
888
  // src/version.ts
889
- var VERSION = true ? "6.0.0-beta.109" : "0.0.0-test";
889
+ var VERSION = true ? "6.0.0-beta.111" : "0.0.0-test";
890
890
 
891
891
  // src/util/download/download.ts
892
892
  var download = async ({ url }) => {
@@ -3841,7 +3841,8 @@ function asContent({
3841
3841
  case "file": {
3842
3842
  return {
3843
3843
  type: "file",
3844
- file: new DefaultGeneratedFile(part)
3844
+ file: new DefaultGeneratedFile(part),
3845
+ ...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
3845
3846
  };
3846
3847
  }
3847
3848
  case "tool-call": {