ai 6.0.9 → 6.0.10
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.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -898,7 +898,7 @@ import {
|
|
|
898
898
|
} from "@ai-sdk/provider-utils";
|
|
899
899
|
|
|
900
900
|
// src/version.ts
|
|
901
|
-
var VERSION = true ? "6.0.
|
|
901
|
+
var VERSION = true ? "6.0.10" : "0.0.0-test";
|
|
902
902
|
|
|
903
903
|
// src/util/download/download.ts
|
|
904
904
|
var download = async ({ url }) => {
|
|
@@ -5506,6 +5506,12 @@ function runToolsTransformation({
|
|
|
5506
5506
|
}
|
|
5507
5507
|
}).then((result) => {
|
|
5508
5508
|
toolResultsStreamController.enqueue(result);
|
|
5509
|
+
}).catch((error) => {
|
|
5510
|
+
toolResultsStreamController.enqueue({
|
|
5511
|
+
type: "error",
|
|
5512
|
+
error
|
|
5513
|
+
});
|
|
5514
|
+
}).finally(() => {
|
|
5509
5515
|
outstandingToolResults.delete(toolExecutionId);
|
|
5510
5516
|
attemptClose();
|
|
5511
5517
|
});
|