@ai-sdk/provider-utils 4.0.39 → 4.0.40
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 +2 -2
- package/dist/index.d.ts +2 -2
- 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/src/types/tool.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1170,8 +1170,8 @@ type Tool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JSONVa
|
|
|
1170
1170
|
*/
|
|
1171
1171
|
strict?: boolean;
|
|
1172
1172
|
/**
|
|
1173
|
-
* Optional function that is called when the
|
|
1174
|
-
*
|
|
1173
|
+
* Optional function that is called when the model starts generating the tool input.
|
|
1174
|
+
* In non-streaming contexts, it is called immediately before `onInputAvailable`.
|
|
1175
1175
|
*/
|
|
1176
1176
|
onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>;
|
|
1177
1177
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1170,8 +1170,8 @@ type Tool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JSONVa
|
|
|
1170
1170
|
*/
|
|
1171
1171
|
strict?: boolean;
|
|
1172
1172
|
/**
|
|
1173
|
-
* Optional function that is called when the
|
|
1174
|
-
*
|
|
1173
|
+
* Optional function that is called when the model starts generating the tool input.
|
|
1174
|
+
* In non-streaming contexts, it is called immediately before `onInputAvailable`.
|
|
1175
1175
|
*/
|
|
1176
1176
|
onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>;
|
|
1177
1177
|
/**
|
package/dist/index.js
CHANGED
|
@@ -779,7 +779,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
// src/version.ts
|
|
782
|
-
var VERSION = true ? "4.0.
|
|
782
|
+
var VERSION = true ? "4.0.40" : "0.0.0-test";
|
|
783
783
|
|
|
784
784
|
// src/get-from-api.ts
|
|
785
785
|
var getOriginalFetch = () => globalThis.fetch;
|