Add support for gemini 3 on cua/hybrid agent
Merged
MI
10mo ago+12+12+01234567890123456789-1-1-0123456789
why
Gemini models now support CU tools
what changed
- Added support for
google/gemini-3-flash-previewandgoogle/gemini-3-pro-previewwith access to computer use tools for both hybrid and CUA agent modes - Updated types accordingly
- Updated tests
- Updated
cua-example.tsto default to the new gen
test plan
Summary by cubic
Adds Gemini 3 Flash and Pro support to hybrid and CUA agents, enabling Computer Use tools with these models. Also updates types, provider mapping, tests, and sets the CUA example default to gemini-3-flash-preview.
- New Features
- Enable google/gemini-3-flash-preview and google/gemini-3-pro-preview for CU tools in hybrid and CUA modes.
- Map both models to the Google provider and include them in AVAILABLE_CUA_MODELS.
- Update tests and switch cua-example.ts to gemini-3-flash-preview by default.