@ai-sdk/provider-utils 4.0.0-beta.50 → 4.0.0-beta.51
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 +6 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1007,6 +1007,10 @@ type Tool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JSONVa
|
|
|
1007
1007
|
* The ID of the tool call. You can use it e.g. when sending tool-call related information with stream data.
|
|
1008
1008
|
*/
|
|
1009
1009
|
toolCallId: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* The input of the tool call.
|
|
1012
|
+
*/
|
|
1013
|
+
input: [INPUT] extends [never] ? unknown : INPUT;
|
|
1010
1014
|
/**
|
|
1011
1015
|
* The output of the tool call.
|
|
1012
1016
|
*/
|
|
@@ -1071,6 +1075,10 @@ declare function dynamicTool(tool: {
|
|
|
1071
1075
|
* The ID of the tool call. You can use it e.g. when sending tool-call related information with stream data.
|
|
1072
1076
|
*/
|
|
1073
1077
|
toolCallId: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* The input of the tool call.
|
|
1080
|
+
*/
|
|
1081
|
+
input: unknown;
|
|
1074
1082
|
/**
|
|
1075
1083
|
* The output of the tool call.
|
|
1076
1084
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1007,6 +1007,10 @@ type Tool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JSONVa
|
|
|
1007
1007
|
* The ID of the tool call. You can use it e.g. when sending tool-call related information with stream data.
|
|
1008
1008
|
*/
|
|
1009
1009
|
toolCallId: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* The input of the tool call.
|
|
1012
|
+
*/
|
|
1013
|
+
input: [INPUT] extends [never] ? unknown : INPUT;
|
|
1010
1014
|
/**
|
|
1011
1015
|
* The output of the tool call.
|
|
1012
1016
|
*/
|
|
@@ -1071,6 +1075,10 @@ declare function dynamicTool(tool: {
|
|
|
1071
1075
|
* The ID of the tool call. You can use it e.g. when sending tool-call related information with stream data.
|
|
1072
1076
|
*/
|
|
1073
1077
|
toolCallId: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* The input of the tool call.
|
|
1080
|
+
*/
|
|
1081
|
+
input: unknown;
|
|
1074
1082
|
/**
|
|
1075
1083
|
* The output of the tool call.
|
|
1076
1084
|
*/
|
package/dist/index.js
CHANGED
|
@@ -378,7 +378,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
// src/version.ts
|
|
381
|
-
var VERSION = true ? "4.0.0-beta.
|
|
381
|
+
var VERSION = true ? "4.0.0-beta.51" : "0.0.0-test";
|
|
382
382
|
|
|
383
383
|
// src/get-from-api.ts
|
|
384
384
|
var getOriginalFetch = () => globalThis.fetch;
|