@ai-sdk/provider 1.0.10 → 1.0.11

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/provider
2
2
 
3
+ ## 1.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e1101a: feat (provider/openai): pdf input support
8
+
3
9
  ## 1.0.10
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -701,6 +701,10 @@ File content part of a prompt. It contains a file.
701
701
  interface LanguageModelV1FilePart {
702
702
  type: 'file';
703
703
  /**
704
+ * Optional filename of the file.
705
+ */
706
+ filename?: string;
707
+ /**
704
708
  File data as base64 encoded string or as a URL.
705
709
  */
706
710
  data: string | URL;
package/dist/index.d.ts CHANGED
@@ -701,6 +701,10 @@ File content part of a prompt. It contains a file.
701
701
  interface LanguageModelV1FilePart {
702
702
  type: 'file';
703
703
  /**
704
+ * Optional filename of the file.
705
+ */
706
+ filename?: string;
707
+ /**
704
708
  File data as base64 encoded string or as a URL.
705
709
  */
706
710
  data: string | URL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",