ai 6.0.192 → 6.0.194

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,18 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.194
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9766034]
8
+ - @ai-sdk/gateway@3.0.122
9
+
10
+ ## 6.0.193
11
+
12
+ ### Patch Changes
13
+
14
+ - af580ea: fix(ai): do not re-validate tool input for output-error parts in validateUIMessages
15
+
3
16
  ## 6.0.192
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1254,7 +1254,7 @@ function detectMediaType({
1254
1254
  var import_provider_utils3 = require("@ai-sdk/provider-utils");
1255
1255
 
1256
1256
  // src/version.ts
1257
- var VERSION = true ? "6.0.192" : "0.0.0-test";
1257
+ var VERSION = true ? "6.0.194" : "0.0.0-test";
1258
1258
 
1259
1259
  // src/util/download/download.ts
1260
1260
  var download = async ({
@@ -9133,7 +9133,7 @@ async function safeValidateUIMessages({
9133
9133
  })
9134
9134
  };
9135
9135
  }
9136
- if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error" && toolPart.input !== void 0) {
9136
+ if (toolPart.state === "input-available" || toolPart.state === "output-available") {
9137
9137
  await (0, import_provider_utils22.validateTypes)({
9138
9138
  value: toolPart.input,
9139
9139
  schema: tool2.inputSchema,