@ai-sdk/google 4.0.42 → 4.0.44
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.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/docs/15-google.mdx +1 -0
- package/package.json +1 -1
- package/src/google-language-model-options.ts +1 -0
- package/src/google-prepare-tools.ts +2 -2
- package/src/interactions/google-interactions-language-model-options.ts +1 -0
package/docs/15-google.mdx
CHANGED
|
@@ -1041,6 +1041,7 @@ The following Zod features are known to not work with Google:
|
|
|
1041
1041
|
|
|
1042
1042
|
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming | Google Search | URL Context |
|
|
1043
1043
|
| ------------------------------------- | ----------- | ----------------- | ---------- | -------------- | ------------- | ----------- |
|
|
1044
|
+
| `gemini-3.7-flash` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1044
1045
|
| `gemini-3.6-flash` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1045
1046
|
| `gemini-3.5-flash` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1046
1047
|
| `gemini-3.5-flash-lite` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
package/package.json
CHANGED
|
@@ -290,7 +290,7 @@ export function prepareTools({
|
|
|
290
290
|
tools: [{ functionDeclarations }],
|
|
291
291
|
toolConfig: {
|
|
292
292
|
functionCallingConfig: {
|
|
293
|
-
mode:
|
|
293
|
+
mode: 'ANY',
|
|
294
294
|
},
|
|
295
295
|
},
|
|
296
296
|
toolWarnings,
|
|
@@ -300,7 +300,7 @@ export function prepareTools({
|
|
|
300
300
|
tools: [{ functionDeclarations }],
|
|
301
301
|
toolConfig: {
|
|
302
302
|
functionCallingConfig: {
|
|
303
|
-
mode:
|
|
303
|
+
mode: 'ANY',
|
|
304
304
|
allowedFunctionNames: [toolChoice.toolName],
|
|
305
305
|
},
|
|
306
306
|
},
|