@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
|
@@ -1082,6 +1082,7 @@ The following Zod features are known to not work with Google Generative AI:
|
|
|
1082
1082
|
|
|
1083
1083
|
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming | Google Search | URL Context |
|
|
1084
1084
|
| ------------------------------------- | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
|
|
1085
|
+
| `gemini-3.7-flash` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
1085
1086
|
| `gemini-3.6-flash` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
1086
1087
|
| `gemini-3.5-flash` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
1087
1088
|
| `gemini-3.5-flash-lite` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
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
|
},
|