@ai-sdk/google 2.0.0-canary.9 → 2.0.0

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 CHANGED
@@ -1,5 +1,564 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - d5f588f: AI SDK 5
8
+
9
+ ### Patch Changes
10
+
11
+ - 78e7fa9: Add code execution provider defined tool
12
+ - f916255: feat (provider/google): add new gemini models
13
+ - 19a4336: Expose raw usageMetadata returned from Google Generative AI in providerMetadata
14
+ - 8af9e03: Added Image Models to the Google Provider for Imagen 3 Support
15
+ - 1a635b5: update supportedUrls to only support native URL
16
+ - 888b750: feat(providers/google): Add taskType support for Text Embedding Models
17
+ - 3259565: feat (providers/google): add thinking config to provider options
18
+ - e2aceaf: feat: add raw chunk support
19
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
20
+ - 6a16dcf: embed() now uses the single embeddings endpoint
21
+ No code updates are needed.
22
+
23
+ This is to make sure that users are not ratelimited when using the batch endpoint, since many models have different limits for batch and single embeddings.
24
+
25
+ Eg: Google has a limit of 150 RPM for batch requests, and 1500 RPM for single requests.
26
+
27
+ Before, AI SDK would always use the batch endpoint, even for embed() calls, which led to ratelimits.
28
+
29
+ This does not have any breaking functionality and is fully tested :)
30
+ if (values.length > 1) {
31
+ const batchResult = await this.doEmbedBatch({
32
+ values,
33
+ options,
34
+ });
35
+ return batchResult;
36
+ }
37
+
38
+ - 26735b5: chore(embedding-model): add v2 interface
39
+ - 5cf30ea: fix (provider/google): allow "OFF" for Google HarmBlockThreshold
40
+ - 443d8ec: feat(embedding-model-v2): add response body field
41
+ - c68931f: Support tool schemas that allow additional properties (e.g `z.record(z.string())`)
42
+ - 66962ed: fix(packages): export node10 compatible types
43
+ - a313780: fix: omit system message for gemma models
44
+ - fd98925: chore(providers/google): update embedding model to use providerOptions
45
+ - cb787ac: fix: remove non-functional models
46
+ - 7378473: chore(providers/google): switch to providerOptions
47
+ - f07a6d4: fix(providers/google): accept nullish in safetyRatings
48
+ - 75f03b1: Add Gemini 2.5 Flash Lite GA
49
+ - 779d916: feat: add provider option schemas for vertex imagegen and google genai
50
+ - 581a9be: fix (provider/google): prevent error when thinking signature is used
51
+ - 2e06f14: feat (provider/google): Change to provider defined tools
52
+
53
+ - Change the google search tool to be a provider defined tool
54
+ - Added new URL context tool as a provider defined tool
55
+
56
+ - 8e6b69d: feat(providers/google): Add support for Gemini 2.5 Pro and Gemini 2.5 Flash (now stable)
57
+ - 42fcd32: feat(google): automatically handle system instructions for Gemma models
58
+ - d1a034f: feature: using Zod 4 for internal stuff
59
+ - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
60
+ - 878bf45: removes (unsupported) `additionalProperties` from the Schema sent in the request payloads to Google APIs
61
+ - 0f05690: Add gemini-embedding-001 model, add embedding provider options type export
62
+ - 7badba2: fix(google): grounding streaming sources
63
+ - 205077b: fix: improve Zod compatibility
64
+ - f10304b: feat(tool-calling): don't require the user to have to pass parameters
65
+ - Updated dependencies [a571d6e]
66
+ - Updated dependencies [742b7be]
67
+ - Updated dependencies [e7fcc86]
68
+ - Updated dependencies [7cddb72]
69
+ - Updated dependencies [ccce59b]
70
+ - Updated dependencies [e2b9e4b]
71
+ - Updated dependencies [95857aa]
72
+ - Updated dependencies [45c1ea2]
73
+ - Updated dependencies [6f6bb89]
74
+ - Updated dependencies [060370c]
75
+ - Updated dependencies [dc714f3]
76
+ - Updated dependencies [b5da06a]
77
+ - Updated dependencies [d1a1aa1]
78
+ - Updated dependencies [63f9e9b]
79
+ - Updated dependencies [5d142ab]
80
+ - Updated dependencies [d5f588f]
81
+ - Updated dependencies [e025824]
82
+ - Updated dependencies [0571b98]
83
+ - Updated dependencies [b6b43c7]
84
+ - Updated dependencies [4fef487]
85
+ - Updated dependencies [48d257a]
86
+ - Updated dependencies [0c0c0b3]
87
+ - Updated dependencies [0d2c085]
88
+ - Updated dependencies [40acf9b]
89
+ - Updated dependencies [9222aeb]
90
+ - Updated dependencies [e2aceaf]
91
+ - Updated dependencies [411e483]
92
+ - Updated dependencies [8ba77a7]
93
+ - Updated dependencies [7b3ae3f]
94
+ - Updated dependencies [a166433]
95
+ - Updated dependencies [26735b5]
96
+ - Updated dependencies [443d8ec]
97
+ - Updated dependencies [a8c8bd5]
98
+ - Updated dependencies [abf9a79]
99
+ - Updated dependencies [14c9410]
100
+ - Updated dependencies [e86be6f]
101
+ - Updated dependencies [9bf7291]
102
+ - Updated dependencies [2e13791]
103
+ - Updated dependencies [9f95b35]
104
+ - Updated dependencies [66962ed]
105
+ - Updated dependencies [0d06df6]
106
+ - Updated dependencies [472524a]
107
+ - Updated dependencies [dd3ff01]
108
+ - Updated dependencies [d9c98f4]
109
+ - Updated dependencies [05d2819]
110
+ - Updated dependencies [9301f86]
111
+ - Updated dependencies [0a87932]
112
+ - Updated dependencies [c4a2fec]
113
+ - Updated dependencies [957b739]
114
+ - Updated dependencies [79457bd]
115
+ - Updated dependencies [a3f768e]
116
+ - Updated dependencies [7435eb5]
117
+ - Updated dependencies [8aa9e20]
118
+ - Updated dependencies [4617fab]
119
+ - Updated dependencies [ac34802]
120
+ - Updated dependencies [0054544]
121
+ - Updated dependencies [cb68df0]
122
+ - Updated dependencies [ad80501]
123
+ - Updated dependencies [68ecf2f]
124
+ - Updated dependencies [9e9c809]
125
+ - Updated dependencies [32831c6]
126
+ - Updated dependencies [6dc848c]
127
+ - Updated dependencies [6b98118]
128
+ - Updated dependencies [d0f9495]
129
+ - Updated dependencies [63d791d]
130
+ - Updated dependencies [87b828f]
131
+ - Updated dependencies [3f2f00c]
132
+ - Updated dependencies [bfdca8d]
133
+ - Updated dependencies [0ff02bb]
134
+ - Updated dependencies [7979f7f]
135
+ - Updated dependencies [39a4fab]
136
+ - Updated dependencies [44f4aba]
137
+ - Updated dependencies [9bd5ab5]
138
+ - Updated dependencies [57edfcb]
139
+ - Updated dependencies [faf8446]
140
+ - Updated dependencies [7ea4132]
141
+ - Updated dependencies [d1a034f]
142
+ - Updated dependencies [5c56081]
143
+ - Updated dependencies [fd65bc6]
144
+ - Updated dependencies [023ba40]
145
+ - Updated dependencies [ea7a7c9]
146
+ - Updated dependencies [26535e0]
147
+ - Updated dependencies [e030615]
148
+ - Updated dependencies [5e57fae]
149
+ - Updated dependencies [393138b]
150
+ - Updated dependencies [c57e248]
151
+ - Updated dependencies [88a8ee5]
152
+ - Updated dependencies [41fa418]
153
+ - Updated dependencies [205077b]
154
+ - Updated dependencies [71f938d]
155
+ - Updated dependencies [3795467]
156
+ - Updated dependencies [28a5ed5]
157
+ - Updated dependencies [7182d14]
158
+ - Updated dependencies [c1e6647]
159
+ - Updated dependencies [1766ede]
160
+ - Updated dependencies [811dff3]
161
+ - Updated dependencies [f10304b]
162
+ - Updated dependencies [dd5fd43]
163
+ - Updated dependencies [33f4a6a]
164
+ - Updated dependencies [383cbfa]
165
+ - Updated dependencies [27deb4d]
166
+ - Updated dependencies [c4df419]
167
+ - @ai-sdk/provider-utils@3.0.0
168
+ - @ai-sdk/provider@2.0.0
169
+
170
+ ## 2.0.0-beta.19
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies [88a8ee5]
175
+ - @ai-sdk/provider-utils@3.0.0-beta.10
176
+
177
+ ## 2.0.0-beta.18
178
+
179
+ ### Patch Changes
180
+
181
+ - 78e7fa9: Add code execution provider defined tool
182
+ - 0f05690: Add gemini-embedding-001 model, add embedding provider options type export
183
+ - Updated dependencies [27deb4d]
184
+ - @ai-sdk/provider@2.0.0-beta.2
185
+ - @ai-sdk/provider-utils@3.0.0-beta.9
186
+
187
+ ## 2.0.0-beta.17
188
+
189
+ ### Patch Changes
190
+
191
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
192
+ - Updated dependencies [dd5fd43]
193
+ - @ai-sdk/provider-utils@3.0.0-beta.8
194
+
195
+ ## 2.0.0-beta.16
196
+
197
+ ### Patch Changes
198
+
199
+ - Updated dependencies [e7fcc86]
200
+ - @ai-sdk/provider-utils@3.0.0-beta.7
201
+
202
+ ## 2.0.0-beta.15
203
+
204
+ ### Patch Changes
205
+
206
+ - Updated dependencies [ac34802]
207
+ - @ai-sdk/provider-utils@3.0.0-beta.6
208
+
209
+ ## 2.0.0-beta.14
210
+
211
+ ### Patch Changes
212
+
213
+ - 75f03b1: Add Gemini 2.5 Flash Lite GA
214
+
215
+ ## 2.0.0-beta.13
216
+
217
+ ### Patch Changes
218
+
219
+ - Updated dependencies [57edfcb]
220
+ - Updated dependencies [383cbfa]
221
+ - @ai-sdk/provider-utils@3.0.0-beta.5
222
+
223
+ ## 2.0.0-beta.12
224
+
225
+ ### Patch Changes
226
+
227
+ - 205077b: fix: improve Zod compatibility
228
+ - Updated dependencies [205077b]
229
+ - @ai-sdk/provider-utils@3.0.0-beta.4
230
+
231
+ ## 2.0.0-beta.11
232
+
233
+ ### Patch Changes
234
+
235
+ - 6a16dcf: embed() now uses the single embeddings endpoint
236
+ No code updates are needed.
237
+
238
+ This is to make sure that users are not ratelimited when using the batch endpoint, since many models have different limits for batch and single embeddings.
239
+
240
+ Eg: Google has a limit of 150 RPM for batch requests, and 1500 RPM for single requests.
241
+
242
+ Before, AI SDK would always use the batch endpoint, even for embed() calls, which led to ratelimits.
243
+
244
+ This does not have any breaking functionality and is fully tested :)
245
+ if (values.length > 1) {
246
+ const batchResult = await this.doEmbedBatch({
247
+ values,
248
+ options,
249
+ });
250
+ return batchResult;
251
+ }
252
+
253
+ ## 2.0.0-beta.10
254
+
255
+ ### Patch Changes
256
+
257
+ - 7badba2: fix(google): grounding streaming sources
258
+ - Updated dependencies [05d2819]
259
+ - @ai-sdk/provider-utils@3.0.0-beta.3
260
+
261
+ ## 2.0.0-beta.9
262
+
263
+ ### Patch Changes
264
+
265
+ - 8af9e03: Added Image Models to the Google Provider for Imagen 3 Support
266
+
267
+ ## 2.0.0-beta.8
268
+
269
+ ### Patch Changes
270
+
271
+ - 2e06f14: feat (provider/google): Change to provider defined tools
272
+
273
+ - Change the google search tool to be a provider defined tool
274
+ - Added new URL context tool as a provider defined tool
275
+
276
+ ## 2.0.0-beta.7
277
+
278
+ ### Patch Changes
279
+
280
+ - 19a4336: Expose raw usageMetadata returned from Google Generative AI in providerMetadata
281
+
282
+ ## 2.0.0-beta.6
283
+
284
+ ### Patch Changes
285
+
286
+ - 878bf45: removes (unsupported) `additionalProperties` from the Schema sent in the request payloads to Google APIs
287
+
288
+ ## 2.0.0-beta.5
289
+
290
+ ### Patch Changes
291
+
292
+ - 42fcd32: feat(google): automatically handle system instructions for Gemma models
293
+
294
+ ## 2.0.0-beta.4
295
+
296
+ ### Patch Changes
297
+
298
+ - c68931f: Support tool schemas that allow additional properties (e.g `z.record(z.string())`)
299
+ - 8e6b69d: feat(providers/google): Add support for Gemini 2.5 Pro and Gemini 2.5 Flash (now stable)
300
+
301
+ ## 2.0.0-beta.3
302
+
303
+ ### Patch Changes
304
+
305
+ - cb787ac: fix: remove non-functional models
306
+ - d1a034f: feature: using Zod 4 for internal stuff
307
+ - Updated dependencies [0571b98]
308
+ - Updated dependencies [39a4fab]
309
+ - Updated dependencies [d1a034f]
310
+ - @ai-sdk/provider-utils@3.0.0-beta.2
311
+
312
+ ## 2.0.0-beta.2
313
+
314
+ ### Patch Changes
315
+
316
+ - a313780: fix: omit system message for gemma models
317
+
318
+ ## 2.0.0-beta.1
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies [742b7be]
323
+ - Updated dependencies [7cddb72]
324
+ - Updated dependencies [ccce59b]
325
+ - Updated dependencies [e2b9e4b]
326
+ - Updated dependencies [45c1ea2]
327
+ - Updated dependencies [e025824]
328
+ - Updated dependencies [0d06df6]
329
+ - Updated dependencies [472524a]
330
+ - Updated dependencies [dd3ff01]
331
+ - Updated dependencies [7435eb5]
332
+ - Updated dependencies [cb68df0]
333
+ - Updated dependencies [bfdca8d]
334
+ - Updated dependencies [44f4aba]
335
+ - Updated dependencies [023ba40]
336
+ - Updated dependencies [5e57fae]
337
+ - Updated dependencies [71f938d]
338
+ - Updated dependencies [28a5ed5]
339
+ - @ai-sdk/provider@2.0.0-beta.1
340
+ - @ai-sdk/provider-utils@3.0.0-beta.1
341
+
342
+ ## 2.0.0-alpha.15
343
+
344
+ ### Patch Changes
345
+
346
+ - Updated dependencies [48d257a]
347
+ - Updated dependencies [8ba77a7]
348
+ - @ai-sdk/provider@2.0.0-alpha.15
349
+ - @ai-sdk/provider-utils@3.0.0-alpha.15
350
+
351
+ ## 2.0.0-alpha.14
352
+
353
+ ### Patch Changes
354
+
355
+ - Updated dependencies [b5da06a]
356
+ - Updated dependencies [63f9e9b]
357
+ - Updated dependencies [2e13791]
358
+ - @ai-sdk/provider@2.0.0-alpha.14
359
+ - @ai-sdk/provider-utils@3.0.0-alpha.14
360
+
361
+ ## 2.0.0-alpha.13
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies [68ecf2f]
366
+ - @ai-sdk/provider@2.0.0-alpha.13
367
+ - @ai-sdk/provider-utils@3.0.0-alpha.13
368
+
369
+ ## 2.0.0-alpha.12
370
+
371
+ ### Patch Changes
372
+
373
+ - e2aceaf: feat: add raw chunk support
374
+ - Updated dependencies [e2aceaf]
375
+ - @ai-sdk/provider@2.0.0-alpha.12
376
+ - @ai-sdk/provider-utils@3.0.0-alpha.12
377
+
378
+ ## 2.0.0-alpha.11
379
+
380
+ ### Patch Changes
381
+
382
+ - Updated dependencies [c1e6647]
383
+ - @ai-sdk/provider@2.0.0-alpha.11
384
+ - @ai-sdk/provider-utils@3.0.0-alpha.11
385
+
386
+ ## 2.0.0-alpha.10
387
+
388
+ ### Patch Changes
389
+
390
+ - 581a9be: fix (provider/google): prevent error when thinking signature is used
391
+ - Updated dependencies [c4df419]
392
+ - @ai-sdk/provider@2.0.0-alpha.10
393
+ - @ai-sdk/provider-utils@3.0.0-alpha.10
394
+
395
+ ## 2.0.0-alpha.9
396
+
397
+ ### Patch Changes
398
+
399
+ - Updated dependencies [811dff3]
400
+ - @ai-sdk/provider@2.0.0-alpha.9
401
+ - @ai-sdk/provider-utils@3.0.0-alpha.9
402
+
403
+ ## 2.0.0-alpha.8
404
+
405
+ ### Patch Changes
406
+
407
+ - 1a635b5: update supportedUrls to only support native URL
408
+ - Updated dependencies [4fef487]
409
+ - Updated dependencies [9222aeb]
410
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
411
+ - @ai-sdk/provider@2.0.0-alpha.8
412
+
413
+ ## 2.0.0-alpha.7
414
+
415
+ ### Patch Changes
416
+
417
+ - Updated dependencies [5c56081]
418
+ - @ai-sdk/provider@2.0.0-alpha.7
419
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
420
+
421
+ ## 2.0.0-alpha.6
422
+
423
+ ### Patch Changes
424
+
425
+ - Updated dependencies [0d2c085]
426
+ - @ai-sdk/provider@2.0.0-alpha.6
427
+ - @ai-sdk/provider-utils@3.0.0-alpha.6
428
+
429
+ ## 2.0.0-alpha.4
430
+
431
+ ### Patch Changes
432
+
433
+ - Updated dependencies [dc714f3]
434
+ - @ai-sdk/provider@2.0.0-alpha.4
435
+ - @ai-sdk/provider-utils@3.0.0-alpha.4
436
+
437
+ ## 2.0.0-alpha.3
438
+
439
+ ### Patch Changes
440
+
441
+ - Updated dependencies [6b98118]
442
+ - @ai-sdk/provider@2.0.0-alpha.3
443
+ - @ai-sdk/provider-utils@3.0.0-alpha.3
444
+
445
+ ## 2.0.0-alpha.2
446
+
447
+ ### Patch Changes
448
+
449
+ - Updated dependencies [26535e0]
450
+ - @ai-sdk/provider@2.0.0-alpha.2
451
+ - @ai-sdk/provider-utils@3.0.0-alpha.2
452
+
453
+ ## 2.0.0-alpha.1
454
+
455
+ ### Patch Changes
456
+
457
+ - Updated dependencies [3f2f00c]
458
+ - @ai-sdk/provider@2.0.0-alpha.1
459
+ - @ai-sdk/provider-utils@3.0.0-alpha.1
460
+
461
+ ## 2.0.0-canary.20
462
+
463
+ ### Patch Changes
464
+
465
+ - Updated dependencies [faf8446]
466
+ - @ai-sdk/provider-utils@3.0.0-canary.19
467
+
468
+ ## 2.0.0-canary.19
469
+
470
+ ### Patch Changes
471
+
472
+ - Updated dependencies [40acf9b]
473
+ - @ai-sdk/provider-utils@3.0.0-canary.18
474
+
475
+ ## 2.0.0-canary.18
476
+
477
+ ### Patch Changes
478
+
479
+ - f07a6d4: fix(providers/google): accept nullish in safetyRatings
480
+ - Updated dependencies [ea7a7c9]
481
+ - @ai-sdk/provider-utils@3.0.0-canary.17
482
+
483
+ ## 2.0.0-canary.17
484
+
485
+ ### Patch Changes
486
+
487
+ - Updated dependencies [87b828f]
488
+ - @ai-sdk/provider-utils@3.0.0-canary.16
489
+
490
+ ## 2.0.0-canary.16
491
+
492
+ ### Patch Changes
493
+
494
+ - Updated dependencies [a571d6e]
495
+ - Updated dependencies [a8c8bd5]
496
+ - Updated dependencies [7979f7f]
497
+ - Updated dependencies [41fa418]
498
+ - @ai-sdk/provider-utils@3.0.0-canary.15
499
+ - @ai-sdk/provider@2.0.0-canary.14
500
+
501
+ ## 2.0.0-canary.15
502
+
503
+ ### Patch Changes
504
+
505
+ - Updated dependencies [957b739]
506
+ - Updated dependencies [9bd5ab5]
507
+ - @ai-sdk/provider-utils@3.0.0-canary.14
508
+ - @ai-sdk/provider@2.0.0-canary.13
509
+
510
+ ## 2.0.0-canary.14
511
+
512
+ ### Patch Changes
513
+
514
+ - f916255: feat (provider/google): add new gemini models
515
+ - Updated dependencies [7b3ae3f]
516
+ - Updated dependencies [0ff02bb]
517
+ - @ai-sdk/provider@2.0.0-canary.12
518
+ - @ai-sdk/provider-utils@3.0.0-canary.13
519
+
520
+ ## 2.0.0-canary.13
521
+
522
+ ### Patch Changes
523
+
524
+ - 7378473: chore(providers/google): switch to providerOptions
525
+ - Updated dependencies [9bf7291]
526
+ - Updated dependencies [4617fab]
527
+ - Updated dependencies [e030615]
528
+ - @ai-sdk/provider@2.0.0-canary.11
529
+ - @ai-sdk/provider-utils@3.0.0-canary.12
530
+
531
+ ## 2.0.0-canary.12
532
+
533
+ ### Patch Changes
534
+
535
+ - 888b750: feat(providers/google): Add taskType support for Text Embedding Models
536
+ - 66962ed: fix(packages): export node10 compatible types
537
+ - Updated dependencies [66962ed]
538
+ - Updated dependencies [9301f86]
539
+ - Updated dependencies [a3f768e]
540
+ - @ai-sdk/provider-utils@3.0.0-canary.11
541
+ - @ai-sdk/provider@2.0.0-canary.10
542
+
543
+ ## 2.0.0-canary.11
544
+
545
+ ### Patch Changes
546
+
547
+ - Updated dependencies [e86be6f]
548
+ - @ai-sdk/provider@2.0.0-canary.9
549
+ - @ai-sdk/provider-utils@3.0.0-canary.10
550
+
551
+ ## 2.0.0-canary.10
552
+
553
+ ### Patch Changes
554
+
555
+ - 3259565: feat (providers/google): add thinking config to provider options
556
+ - fd98925: chore(providers/google): update embedding model to use providerOptions
557
+ - Updated dependencies [95857aa]
558
+ - Updated dependencies [7ea4132]
559
+ - @ai-sdk/provider@2.0.0-canary.8
560
+ - @ai-sdk/provider-utils@3.0.0-canary.9
561
+
3
562
  ## 2.0.0-canary.9
4
563
 
5
564
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # AI SDK - Google Generative AI Provider
2
2
 
3
- The **[Google Generative AI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Google Generative AI](https://ai.google/discover/generativeai/) APIs.
3
+ The **[Google Generative AI provider](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Google Generative AI](https://ai.google/discover/generativeai/) APIs.
4
4
 
5
5
  ## Setup
6
6
 
@@ -32,4 +32,4 @@ const { text } = await generateText({
32
32
 
33
33
  ## Documentation
34
34
 
35
- Please check out the **[Google Generative AI provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai)** for more information.
35
+ Please check out the **[Google Generative AI provider documentation](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai)** for more information.