@ai-sdk/google 4.0.59 → 4.0.60
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/google-batch.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "@ai-sdk/provider-utils";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
|
-
var VERSION = true ? "4.0.
|
|
10
|
+
var VERSION = true ? "4.0.60" : "0.0.0-test";
|
|
11
11
|
|
|
12
12
|
// src/google-embedding-model.ts
|
|
13
13
|
import {
|
|
@@ -3024,7 +3024,7 @@ var chunkSchema = lazySchema5(
|
|
|
3024
3024
|
// src/google-batch.ts
|
|
3025
3025
|
var googleBatchInputFileMaxBytes = 2 * 1024 * 1024 * 1024;
|
|
3026
3026
|
var googleBatchInlineCreationMaxBytes = 2e7;
|
|
3027
|
-
var supportedGoogleBatchContentTypes = /* @__PURE__ */ new Set(["text", "reasoning", "source"]);
|
|
3027
|
+
var supportedGoogleBatchContentTypes = /* @__PURE__ */ new Set(["text", "reasoning", "source", "tool-call", "tool-result"]);
|
|
3028
3028
|
var googleRpcStatusSchema = z6.object({
|
|
3029
3029
|
code: z6.union([z6.number(), z6.string()]).nullish(),
|
|
3030
3030
|
message: z6.string().nullish(),
|