@ai-sdk/provider 3.0.0-beta.13 → 3.0.0-beta.15
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 +12 -0
- package/dist/index.d.mts +1 -8
- package/dist/index.d.ts +1 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ai-sdk/provider
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bb36798: fix(spec): `LanguageModelV3ToolResult["result"]` change from `unknown` to `NonNullable<JSONValue>`
|
|
8
|
+
|
|
9
|
+
## 3.0.0-beta.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- af3780b: chore(provider): remove providerExecuted from LanguageModelV3ToolResult
|
|
14
|
+
|
|
3
15
|
## 3.0.0-beta.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1511,18 +1511,11 @@ type LanguageModelV3ToolResult = {
|
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Result of the tool call. This is a JSON-serializable object.
|
|
1513
1513
|
*/
|
|
1514
|
-
result:
|
|
1514
|
+
result: NonNullable<JSONValue>;
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Optional flag if the result is an error or an error message.
|
|
1517
1517
|
*/
|
|
1518
1518
|
isError?: boolean;
|
|
1519
|
-
/**
|
|
1520
|
-
* Whether the tool result was generated by the provider.
|
|
1521
|
-
*
|
|
1522
|
-
* If this flag is set to true, the tool result was generated by the provider.
|
|
1523
|
-
* If this flag is not set or is false, the tool result was generated by the client.
|
|
1524
|
-
*/
|
|
1525
|
-
providerExecuted?: boolean;
|
|
1526
1519
|
/**
|
|
1527
1520
|
* Whether the tool result is preliminary.
|
|
1528
1521
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1511,18 +1511,11 @@ type LanguageModelV3ToolResult = {
|
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Result of the tool call. This is a JSON-serializable object.
|
|
1513
1513
|
*/
|
|
1514
|
-
result:
|
|
1514
|
+
result: NonNullable<JSONValue>;
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Optional flag if the result is an error or an error message.
|
|
1517
1517
|
*/
|
|
1518
1518
|
isError?: boolean;
|
|
1519
|
-
/**
|
|
1520
|
-
* Whether the tool result was generated by the provider.
|
|
1521
|
-
*
|
|
1522
|
-
* If this flag is set to true, the tool result was generated by the provider.
|
|
1523
|
-
* If this flag is not set or is false, the tool result was generated by the client.
|
|
1524
|
-
*/
|
|
1525
|
-
providerExecuted?: boolean;
|
|
1526
1519
|
/**
|
|
1527
1520
|
* Whether the tool result is preliminary.
|
|
1528
1521
|
*
|