@ai-sdk/google 4.0.11 → 4.0.12

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,11 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 4.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - e40118c: Forward text file references as documents when using the Google Interactions API.
8
+
3
9
  ## 4.0.11
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "@ai-sdk/provider-utils";
8
8
 
9
9
  // src/version.ts
10
- var VERSION = true ? "4.0.11" : "0.0.0-test";
10
+ var VERSION = true ? "4.0.12" : "0.0.0-test";
11
11
 
12
12
  // src/google-embedding-model.ts
13
13
  import {
@@ -4857,6 +4857,7 @@ function convertFilePartToContent({
4857
4857
  kind = "video";
4858
4858
  break;
4859
4859
  case "application":
4860
+ case "text":
4860
4861
  kind = "document";
4861
4862
  break;
4862
4863
  default: