@ai-sdk/google 3.0.107 → 3.0.108
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/google-prepare-tools.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
30
30
|
var import_provider_utils23 = require("@ai-sdk/provider-utils");
|
|
31
31
|
|
|
32
32
|
// src/version.ts
|
|
33
|
-
var VERSION = true ? "3.0.
|
|
33
|
+
var VERSION = true ? "3.0.108" : "0.0.0-test";
|
|
34
34
|
|
|
35
35
|
// src/google-generative-ai-embedding-model.ts
|
|
36
36
|
var import_provider = require("@ai-sdk/provider");
|
|
@@ -1209,7 +1209,7 @@ function prepareTools({
|
|
|
1209
1209
|
tools: [{ functionDeclarations }],
|
|
1210
1210
|
toolConfig: {
|
|
1211
1211
|
functionCallingConfig: {
|
|
1212
|
-
mode:
|
|
1212
|
+
mode: "ANY"
|
|
1213
1213
|
}
|
|
1214
1214
|
},
|
|
1215
1215
|
toolWarnings
|
|
@@ -1219,7 +1219,7 @@ function prepareTools({
|
|
|
1219
1219
|
tools: [{ functionDeclarations }],
|
|
1220
1220
|
toolConfig: {
|
|
1221
1221
|
functionCallingConfig: {
|
|
1222
|
-
mode:
|
|
1222
|
+
mode: "ANY",
|
|
1223
1223
|
allowedFunctionNames: [toolChoice.toolName]
|
|
1224
1224
|
}
|
|
1225
1225
|
},
|