Commit 51e0170
authored
Add media resolution high to gemini 3 hybrid agent (#1465)
# why
This setting improves the performance of gemini 3 models for computer
use applications (recommended by
[Deepmind](https://colab.research.google.com/drive/1OK30EUqrukGsYhHQZIlKq3wCNWlfsrkn#scrollTo=APbcS_6TUI8F))
# what changed
Added a `providerOption` to google models (specifically filtered by
gemini-3) to include MEDIA_RESOLUTION_HIGH (nit: ULTRA_HIGH not
supported by aisdk yet)
# test plan
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Set the Google provider option mediaResolution to MEDIA_RESOLUTION_HIGH
for Gemini 3 models in the hybrid agent to improve computer-use
performance.
Applied conditionally when the modelId includes "gemini-3" for both step
execution and streaming paths.
<sup>Written for commit 5e00581.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->1 parent abb3469 commit 51e0170
File tree
2 files changed
+19
-0
lines changed- .changeset
- packages/core/lib/v3/handlers
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
276 | 283 | | |
277 | 284 | | |
278 | 285 | | |
| |||
407 | 414 | | |
408 | 415 | | |
409 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
410 | 424 | | |
411 | 425 | | |
412 | 426 | | |
| |||
0 commit comments