@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/provider
2
2
 
3
+ ## 2.1.0-beta.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 78928cb: release: start 5.1 beta
8
+
3
9
  ## 2.0.0
4
10
 
5
11
  ### Major Changes
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
- Stringified JSON object with the tool call arguments. Must match the
1014
- parameters schema of the tool.
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
- Stringified JSON object with the tool call arguments. Must match the
1014
- parameters schema of the tool.
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-beta.0",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",