@ai-sdk/provider-utils 5.0.10 → 5.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider-utils",
3
- "version": "5.0.10",
3
+ "version": "5.0.11",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
package/src/types/tool.ts CHANGED
@@ -112,8 +112,8 @@ type BaseTool<
112
112
  >;
113
113
 
114
114
  /**
115
- * Optional function that is called when the argument streaming starts.
116
- * Only called when the tool is used in a streaming context.
115
+ * Optional function that is called when the model starts generating the tool input.
116
+ * In non-streaming contexts, it is called immediately before `onInputAvailable`.
117
117
  */
118
118
  onInputStart?: (
119
119
  options: ToolExecutionOptions<NoInfer<CONTEXT>>,