@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/package.json
CHANGED
package/src/types/tool.ts
CHANGED
|
@@ -171,8 +171,8 @@ export type Tool<
|
|
|
171
171
|
strict?: boolean;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
* Optional function that is called when the
|
|
175
|
-
*
|
|
174
|
+
* Optional function that is called when the model starts generating the tool input.
|
|
175
|
+
* In non-streaming contexts, it is called immediately before `onInputAvailable`.
|
|
176
176
|
*/
|
|
177
177
|
onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>;
|
|
178
178
|
|