@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/dist/internal/index.mjs
CHANGED
|
@@ -1003,7 +1003,7 @@ function prepareTools({
|
|
|
1003
1003
|
tools: [{ functionDeclarations }],
|
|
1004
1004
|
toolConfig: {
|
|
1005
1005
|
functionCallingConfig: {
|
|
1006
|
-
mode:
|
|
1006
|
+
mode: "ANY"
|
|
1007
1007
|
}
|
|
1008
1008
|
},
|
|
1009
1009
|
toolWarnings
|
|
@@ -1013,7 +1013,7 @@ function prepareTools({
|
|
|
1013
1013
|
tools: [{ functionDeclarations }],
|
|
1014
1014
|
toolConfig: {
|
|
1015
1015
|
functionCallingConfig: {
|
|
1016
|
-
mode:
|
|
1016
|
+
mode: "ANY",
|
|
1017
1017
|
allowedFunctionNames: [toolChoice.toolName]
|
|
1018
1018
|
}
|
|
1019
1019
|
},
|