@ai-sdk/google 3.0.107 → 3.0.109
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 +12 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/internal/index.d.ts +2 -2
- 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/docs/15-google-generative-ai.mdx +1 -0
- package/package.json +1 -1
- package/src/google-generative-ai-options.ts +1 -0
- package/src/google-prepare-tools.ts +2 -2
- package/src/interactions/google-interactions-language-model-options.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "@ai-sdk/provider-utils";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
|
-
var VERSION = true ? "3.0.
|
|
10
|
+
var VERSION = true ? "3.0.109" : "0.0.0-test";
|
|
11
11
|
|
|
12
12
|
// src/google-generative-ai-embedding-model.ts
|
|
13
13
|
import {
|
|
@@ -1220,7 +1220,7 @@ function prepareTools({
|
|
|
1220
1220
|
tools: [{ functionDeclarations }],
|
|
1221
1221
|
toolConfig: {
|
|
1222
1222
|
functionCallingConfig: {
|
|
1223
|
-
mode:
|
|
1223
|
+
mode: "ANY"
|
|
1224
1224
|
}
|
|
1225
1225
|
},
|
|
1226
1226
|
toolWarnings
|
|
@@ -1230,7 +1230,7 @@ function prepareTools({
|
|
|
1230
1230
|
tools: [{ functionDeclarations }],
|
|
1231
1231
|
toolConfig: {
|
|
1232
1232
|
functionCallingConfig: {
|
|
1233
|
-
mode:
|
|
1233
|
+
mode: "ANY",
|
|
1234
1234
|
allowedFunctionNames: [toolChoice.toolName]
|
|
1235
1235
|
}
|
|
1236
1236
|
},
|