ai 6.0.167 → 6.0.169
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 +20 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/docs/03-agents/05-configuring-call-options.mdx +1 -1
- package/docs/03-ai-sdk-core/30-embeddings.mdx +8 -18
- package/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -1
- package/package.json +7 -6
- package/src/ui/validate-ui-messages.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 6.0.169
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2662bb5: skip validation for tool parts in terminal states when tool schema is no longer registered
|
|
8
|
+
- a7f3c72: trigger release for all packages after provenance setup
|
|
9
|
+
- Updated dependencies [a7f3c72]
|
|
10
|
+
- Updated dependencies [4368079]
|
|
11
|
+
- Updated dependencies [c71ad14]
|
|
12
|
+
- @ai-sdk/gateway@3.0.105
|
|
13
|
+
- @ai-sdk/provider@3.0.9
|
|
14
|
+
- @ai-sdk/provider-utils@4.0.24
|
|
15
|
+
|
|
16
|
+
## 6.0.168
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [493d7d4]
|
|
21
|
+
- @ai-sdk/gateway@3.0.104
|
|
22
|
+
|
|
3
23
|
## 6.0.167
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1252,7 +1252,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
|
|
|
1252
1252
|
var import_provider_utils4 = require("@ai-sdk/provider-utils");
|
|
1253
1253
|
|
|
1254
1254
|
// src/version.ts
|
|
1255
|
-
var VERSION = true ? "6.0.
|
|
1255
|
+
var VERSION = true ? "6.0.169" : "0.0.0-test";
|
|
1256
1256
|
|
|
1257
1257
|
// src/util/download/download.ts
|
|
1258
1258
|
var download = async ({
|
|
@@ -8951,6 +8951,9 @@ async function safeValidateUIMessages({
|
|
|
8951
8951
|
const toolPart = part;
|
|
8952
8952
|
const toolName = toolPart.type.slice(5);
|
|
8953
8953
|
const tool2 = tools[toolName];
|
|
8954
|
+
if (!tool2 && (toolPart.state === "output-available" || toolPart.state === "output-error" || toolPart.state === "output-denied")) {
|
|
8955
|
+
continue;
|
|
8956
|
+
}
|
|
8954
8957
|
if (!tool2) {
|
|
8955
8958
|
return {
|
|
8956
8959
|
success: false,
|