@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/dist/index.mjs CHANGED
@@ -898,7 +898,7 @@ import {
898
898
  } from "@zenning/provider-utils";
899
899
 
900
900
  // src/version.ts
901
- var VERSION = true ? "6.0.15" : "0.0.0-test";
901
+ var VERSION = true ? "6.0.16" : "0.0.0-test";
902
902
 
903
903
  // src/util/download/download.ts
904
904
  var download = async ({ url }) => {
@@ -7421,7 +7421,7 @@ async function convertToModelMessages(messages, options) {
7421
7421
  });
7422
7422
  } else if (isToolUIPart(part)) {
7423
7423
  const toolName = getToolName(part);
7424
- if (part.state !== "input-streaming" && part.state !== "approval-responded" && part.state !== "output-denied") {
7424
+ if (part.state !== "input-streaming") {
7425
7425
  content.push({
7426
7426
  type: "tool-call",
7427
7427
  toolCallId: part.toolCallId,