@ai-sdk/provider-utils 5.0.0-beta.6 → 5.0.0-beta.7
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 +8 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/types/content-part.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -674,9 +674,9 @@ interface ReasoningPart {
|
|
|
674
674
|
interface CustomPart {
|
|
675
675
|
type: 'custom';
|
|
676
676
|
/**
|
|
677
|
-
* The kind of custom content, in the format `{provider}
|
|
677
|
+
* The kind of custom content, in the format `{provider}.{provider-type}`.
|
|
678
678
|
*/
|
|
679
|
-
kind: string
|
|
679
|
+
kind: `${string}.${string}`;
|
|
680
680
|
/**
|
|
681
681
|
* Additional provider-specific metadata. They are passed through
|
|
682
682
|
* to the provider from the AI SDK and enable provider-specific
|
package/dist/index.d.ts
CHANGED
|
@@ -674,9 +674,9 @@ interface ReasoningPart {
|
|
|
674
674
|
interface CustomPart {
|
|
675
675
|
type: 'custom';
|
|
676
676
|
/**
|
|
677
|
-
* The kind of custom content, in the format `{provider}
|
|
677
|
+
* The kind of custom content, in the format `{provider}.{provider-type}`.
|
|
678
678
|
*/
|
|
679
|
-
kind: string
|
|
679
|
+
kind: `${string}.${string}`;
|
|
680
680
|
/**
|
|
681
681
|
* Additional provider-specific metadata. They are passed through
|
|
682
682
|
* to the provider from the AI SDK and enable provider-specific
|
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
// src/version.ts
|
|
679
|
-
var VERSION = true ? "5.0.0-beta.
|
|
679
|
+
var VERSION = true ? "5.0.0-beta.7" : "0.0.0-test";
|
|
680
680
|
|
|
681
681
|
// src/get-from-api.ts
|
|
682
682
|
var getOriginalFetch = () => globalThis.fetch;
|
package/dist/index.mjs
CHANGED
|
@@ -577,7 +577,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
// src/version.ts
|
|
580
|
-
var VERSION = true ? "5.0.0-beta.
|
|
580
|
+
var VERSION = true ? "5.0.0-beta.7" : "0.0.0-test";
|
|
581
581
|
|
|
582
582
|
// src/get-from-api.ts
|
|
583
583
|
var getOriginalFetch = () => globalThis.fetch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/provider-utils",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@standard-schema/spec": "^1.1.0",
|
|
37
37
|
"eventsource-parser": "^3.0.6",
|
|
38
|
-
"@ai-sdk/provider": "4.0.0-beta.
|
|
38
|
+
"@ai-sdk/provider": "4.0.0-beta.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "20.17.24",
|
|
@@ -111,9 +111,9 @@ export interface CustomPart {
|
|
|
111
111
|
type: 'custom';
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* The kind of custom content, in the format `{provider}
|
|
114
|
+
* The kind of custom content, in the format `{provider}.{provider-type}`.
|
|
115
115
|
*/
|
|
116
|
-
kind: string
|
|
116
|
+
kind: `${string}.${string}`;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Additional provider-specific metadata. They are passed through
|