@ai-sdk/provider 2.0.0 → 2.1.0-beta.0
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 +10 -4
- package/dist/index.d.ts +10 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -1003,15 +1003,21 @@ type LanguageModelV2Text = {
|
|
1003
1003
|
};
|
1004
1004
|
|
1005
1005
|
/**
|
1006
|
-
Tool calls that the model has generated.
|
1007
|
-
|
1006
|
+
* Tool calls that the model has generated.
|
1007
|
+
*/
|
1008
1008
|
type LanguageModelV2ToolCall = {
|
1009
1009
|
type: 'tool-call';
|
1010
|
+
/**
|
1011
|
+
* The identifier of the tool call. It must be unique across all tool calls.
|
1012
|
+
*/
|
1010
1013
|
toolCallId: string;
|
1014
|
+
/**
|
1015
|
+
* The name of the tool that should be called.
|
1016
|
+
*/
|
1011
1017
|
toolName: string;
|
1012
1018
|
/**
|
1013
|
-
|
1014
|
-
|
1019
|
+
* Stringified JSON object with the tool call arguments. Must match the
|
1020
|
+
* parameters schema of the tool.
|
1015
1021
|
*/
|
1016
1022
|
input: string;
|
1017
1023
|
/**
|
package/dist/index.d.ts
CHANGED
@@ -1003,15 +1003,21 @@ type LanguageModelV2Text = {
|
|
1003
1003
|
};
|
1004
1004
|
|
1005
1005
|
/**
|
1006
|
-
Tool calls that the model has generated.
|
1007
|
-
|
1006
|
+
* Tool calls that the model has generated.
|
1007
|
+
*/
|
1008
1008
|
type LanguageModelV2ToolCall = {
|
1009
1009
|
type: 'tool-call';
|
1010
|
+
/**
|
1011
|
+
* The identifier of the tool call. It must be unique across all tool calls.
|
1012
|
+
*/
|
1010
1013
|
toolCallId: string;
|
1014
|
+
/**
|
1015
|
+
* The name of the tool that should be called.
|
1016
|
+
*/
|
1011
1017
|
toolName: string;
|
1012
1018
|
/**
|
1013
|
-
|
1014
|
-
|
1019
|
+
* Stringified JSON object with the tool call arguments. Must match the
|
1020
|
+
* parameters schema of the tool.
|
1015
1021
|
*/
|
1016
1022
|
input: string;
|
1017
1023
|
/**
|