@zenning/ai 6.0.16 → 6.0.18
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 +13 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 6.0.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix tool approval with previousResponseId. Skip creating item_reference for tool-calls that have approval responses, preventing duplicate item errors when continuing from a previous response.
|
|
8
|
+
- aporovals
|
|
9
|
+
|
|
10
|
+
## 6.0.17
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Fix tool approval with previousResponseId. Skip creating item_reference for tool-calls that have approval responses, preventing duplicate item errors when continuing from a previous response.
|
|
15
|
+
|
|
3
16
|
## 6.0.16
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1001,7 +1001,7 @@ var import_provider_utils3 = require("@zenning/provider-utils");
|
|
|
1001
1001
|
var import_provider_utils4 = require("@zenning/provider-utils");
|
|
1002
1002
|
|
|
1003
1003
|
// src/version.ts
|
|
1004
|
-
var VERSION = true ? "6.0.
|
|
1004
|
+
var VERSION = true ? "6.0.16" : "0.0.0-test";
|
|
1005
1005
|
|
|
1006
1006
|
// src/util/download/download.ts
|
|
1007
1007
|
var download = async ({ url }) => {
|
|
@@ -7492,7 +7492,7 @@ async function convertToModelMessages(messages, options) {
|
|
|
7492
7492
|
});
|
|
7493
7493
|
} else if (isToolUIPart(part)) {
|
|
7494
7494
|
const toolName = getToolName(part);
|
|
7495
|
-
if (part.state !== "input-streaming"
|
|
7495
|
+
if (part.state !== "input-streaming") {
|
|
7496
7496
|
content.push({
|
|
7497
7497
|
type: "tool-call",
|
|
7498
7498
|
toolCallId: part.toolCallId,
|