ai 5.0.88 → 5.0.89
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 +6 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -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 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -671,7 +671,7 @@ import {
|
|
|
671
671
|
} from "@ai-sdk/provider-utils";
|
|
672
672
|
|
|
673
673
|
// src/version.ts
|
|
674
|
-
var VERSION = true ? "5.0.
|
|
674
|
+
var VERSION = true ? "5.0.89" : "0.0.0-test";
|
|
675
675
|
|
|
676
676
|
// src/util/download/download.ts
|
|
677
677
|
var download = async ({ url }) => {
|
|
@@ -9232,7 +9232,7 @@ var AbstractChat = class {
|
|
|
9232
9232
|
this.setStatus({ status: "ready" });
|
|
9233
9233
|
}
|
|
9234
9234
|
};
|
|
9235
|
-
this.
|
|
9235
|
+
this.addToolOutput = async ({
|
|
9236
9236
|
state = "output-available",
|
|
9237
9237
|
tool: tool2,
|
|
9238
9238
|
toolCallId,
|
|
@@ -9265,6 +9265,8 @@ var AbstractChat = class {
|
|
|
9265
9265
|
});
|
|
9266
9266
|
}
|
|
9267
9267
|
});
|
|
9268
|
+
/** @deprecated Use addToolOutput */
|
|
9269
|
+
this.addToolResult = this.addToolOutput;
|
|
9268
9270
|
/**
|
|
9269
9271
|
* Abort the current request immediately, keep the generated tokens if any.
|
|
9270
9272
|
*/
|