ai 6.0.0-beta.109 → 6.0.0-beta.111
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 +17 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -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 +5 -5
package/dist/index.mjs
CHANGED
|
@@ -785,7 +785,7 @@ import {
|
|
|
785
785
|
} from "@ai-sdk/provider-utils";
|
|
786
786
|
|
|
787
787
|
// src/version.ts
|
|
788
|
-
var VERSION = true ? "6.0.0-beta.
|
|
788
|
+
var VERSION = true ? "6.0.0-beta.111" : "0.0.0-test";
|
|
789
789
|
|
|
790
790
|
// src/util/download/download.ts
|
|
791
791
|
var download = async ({ url }) => {
|
|
@@ -3760,7 +3760,8 @@ function asContent({
|
|
|
3760
3760
|
case "file": {
|
|
3761
3761
|
return {
|
|
3762
3762
|
type: "file",
|
|
3763
|
-
file: new DefaultGeneratedFile(part)
|
|
3763
|
+
file: new DefaultGeneratedFile(part),
|
|
3764
|
+
...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
|
|
3764
3765
|
};
|
|
3765
3766
|
}
|
|
3766
3767
|
case "tool-call": {
|