@ai-sdk/google 4.0.20 → 4.0.21
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.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js.map +1 -1
- package/docs/15-google.mdx +2 -0
- package/package.json +1 -1
- package/src/google-language-model-options.ts +2 -0
- package/src/interactions/google-interactions-language-model-options.ts +2 -0
package/docs/15-google.mdx
CHANGED
|
@@ -1031,7 +1031,9 @@ The following Zod features are known to not work with Google:
|
|
|
1031
1031
|
|
|
1032
1032
|
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming | Google Search | URL Context |
|
|
1033
1033
|
| ------------------------------------- | ----------- | ----------------- | ---------- | -------------- | ------------- | ----------- |
|
|
1034
|
+
| `gemini-3.6-flash` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1034
1035
|
| `gemini-3.5-flash` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1036
|
+
| `gemini-3.5-flash-lite` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1035
1037
|
| `gemini-3.1-pro-preview` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1036
1038
|
| `gemini-3.1-flash-image-preview` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1037
1039
|
| `gemini-3.1-flash-lite-preview` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
package/package.json
CHANGED
|
@@ -31,6 +31,8 @@ export type GoogleModelId =
|
|
|
31
31
|
| 'gemini-3.1-flash-lite-preview'
|
|
32
32
|
| 'gemini-3.1-flash-tts-preview'
|
|
33
33
|
| 'gemini-3.5-flash'
|
|
34
|
+
| 'gemini-3.5-flash-lite'
|
|
35
|
+
| 'gemini-3.6-flash'
|
|
34
36
|
// latest version
|
|
35
37
|
// https://ai.google.dev/gemini-api/docs/models#latest
|
|
36
38
|
| 'gemini-pro-latest'
|
|
@@ -33,6 +33,8 @@ export type GoogleInteractionsModelId =
|
|
|
33
33
|
| 'gemini-3.1-flash-lite-preview'
|
|
34
34
|
| 'gemini-3.1-flash-tts-preview'
|
|
35
35
|
| 'gemini-3.5-flash'
|
|
36
|
+
| 'gemini-3.5-flash-lite'
|
|
37
|
+
| 'gemini-3.6-flash'
|
|
36
38
|
| 'lyria-3-clip-preview'
|
|
37
39
|
| 'lyria-3-pro-preview'
|
|
38
40
|
| (string & {});
|