@ai-sdk/provider 3.0.16 → 3.0.17
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
package/dist/index.d.mts
CHANGED
|
@@ -1152,6 +1152,13 @@ interface LanguageModelV3FilePart {
|
|
|
1152
1152
|
* File data. Can be a Uint8Array, base64 encoded data as a string or a URL.
|
|
1153
1153
|
*/
|
|
1154
1154
|
data: LanguageModelV3DataContent;
|
|
1155
|
+
/**
|
|
1156
|
+
* The original URL string before it was parsed into a URL.
|
|
1157
|
+
*
|
|
1158
|
+
* This is available when parsing changes the string and a provider needs to
|
|
1159
|
+
* preserve an opaque non-HTTP URI exactly.
|
|
1160
|
+
*/
|
|
1161
|
+
originalUrl?: string;
|
|
1155
1162
|
/**
|
|
1156
1163
|
* IANA media type of the file.
|
|
1157
1164
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1152,6 +1152,13 @@ interface LanguageModelV3FilePart {
|
|
|
1152
1152
|
* File data. Can be a Uint8Array, base64 encoded data as a string or a URL.
|
|
1153
1153
|
*/
|
|
1154
1154
|
data: LanguageModelV3DataContent;
|
|
1155
|
+
/**
|
|
1156
|
+
* The original URL string before it was parsed into a URL.
|
|
1157
|
+
*
|
|
1158
|
+
* This is available when parsing changes the string and a provider needs to
|
|
1159
|
+
* preserve an opaque non-HTTP URI exactly.
|
|
1160
|
+
*/
|
|
1161
|
+
originalUrl?: string;
|
|
1155
1162
|
/**
|
|
1156
1163
|
* IANA media type of the file.
|
|
1157
1164
|
*
|
package/package.json
CHANGED
|
@@ -106,6 +106,14 @@ export interface LanguageModelV3FilePart {
|
|
|
106
106
|
*/
|
|
107
107
|
data: LanguageModelV3DataContent;
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* The original URL string before it was parsed into a URL.
|
|
111
|
+
*
|
|
112
|
+
* This is available when parsing changes the string and a provider needs to
|
|
113
|
+
* preserve an opaque non-HTTP URI exactly.
|
|
114
|
+
*/
|
|
115
|
+
originalUrl?: string;
|
|
116
|
+
|
|
109
117
|
/**
|
|
110
118
|
* IANA media type of the file.
|
|
111
119
|
*
|