@ai-sdk/provider-utils
Advanced tools
+6
-0
| # @ai-sdk/provider-utils | ||
| ## 4.0.40 | ||
| ### Patch Changes | ||
| - 19093fd: fix(ai): call `onInputStart` before `onInputAvailable` during non-streaming tool calls | ||
| ## 4.0.39 | ||
@@ -4,0 +10,0 @@ |
+2
-2
@@ -1173,4 +1173,4 @@ import { LanguageModelV3FunctionTool, LanguageModelV3ProviderTool, ImageModelV3File, AISDKError, JSONSchema7, JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, SharedV3ProviderOptions, JSONObject, TypeValidationContext } from '@ai-sdk/provider'; | ||
| /** | ||
| * Optional function that is called when the argument streaming starts. | ||
| * Only called when the tool is used in a streaming context. | ||
| * Optional function that is called when the model starts generating the tool input. | ||
| * In non-streaming contexts, it is called immediately before `onInputAvailable`. | ||
| */ | ||
@@ -1177,0 +1177,0 @@ onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>; |
+2
-2
@@ -1173,4 +1173,4 @@ import { LanguageModelV3FunctionTool, LanguageModelV3ProviderTool, ImageModelV3File, AISDKError, JSONSchema7, JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, SharedV3ProviderOptions, JSONObject, TypeValidationContext } from '@ai-sdk/provider'; | ||
| /** | ||
| * Optional function that is called when the argument streaming starts. | ||
| * Only called when the tool is used in a streaming context. | ||
| * Optional function that is called when the model starts generating the tool input. | ||
| * In non-streaming contexts, it is called immediately before `onInputAvailable`. | ||
| */ | ||
@@ -1177,0 +1177,0 @@ onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>; |
+1
-1
| { | ||
| "name": "@ai-sdk/provider-utils", | ||
| "version": "4.0.39", | ||
| "version": "4.0.40", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -174,4 +174,4 @@ import type { JSONValue, JSONObject } from '@ai-sdk/provider'; | ||
| /** | ||
| * Optional function that is called when the argument streaming starts. | ||
| * Only called when the tool is used in a streaming context. | ||
| * Optional function that is called when the model starts generating the tool input. | ||
| * In non-streaming contexts, it is called immediately before `onInputAvailable`. | ||
| */ | ||
@@ -178,0 +178,0 @@ onInputStart?: (options: ToolExecutionOptions) => void | PromiseLike<void>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
953708
0.03%