Skip to content

Add Gemini 4 Hydrogen and xhigh Gemini reasoning effort - #155

Merged
NikhilShahi merged 2 commits into
mainfrom
devin/1794596415-gemini-4-hydrogen
Nov 13, 2026
Merged

NikhilShahi merged 2 commits into
mainfrom
devin/1794596415-gemini-4-hydrogen

Conversation

@shrisukhani

@shrisukhani shrisukhani commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds gemini-4-hydrogen to the Gemini Computer Use, HyperAgent, and Browser Use model literals. Adds "xhigh" to GeminiComputerUseReasoningEffort, which only Hydrogen supports.

Changes

  • GeminiComputerUseLlm, HyperAgentLlm, BrowserUseLlm: add "gemini-4-hydrogen"
  • GeminiComputerUseReasoningEffort: add "xhigh"
  • Serialization test and typecheck fixtures cover Hydrogen with xhigh. The invalid-effort fixture now uses "max", because "xhigh" is a valid literal now.

Validation

  • ruff check
  • pytest --ignore=tests/sandbox/e2e: 1075 passed
  • mypy tests/typecheck/valid_requests.py

Link to Devin session: https://app.devin.ai/sessions/372e953161c44975a0d8194bb5a7ab3d
Open in Devin Desktop: https://app.devin.ai/desktop/session/372e953161c44975a0d8194bb5a7ab3d?variant=devin
Requested by: @shrisukhani


Note

Low Risk
SDK-only literal and test updates with no runtime logic changes beyond expanded allowed request values.

Overview
Adds gemini-4-hydrogen to the Browser Use, HyperAgent, and Gemini Computer Use model type literals so clients can select the new model across those agent paths.

For Gemini Computer Use, xhigh is added to GeminiComputerUseReasoningEffort (documented as Hydrogen-only). Serialization and mypy fixtures are updated accordingly, and the invalid-effort example now uses max since xhigh is valid. Package version bumps to 1.15.3.

Reviewed by Cursor Bugbot for commit 8f06be5. Bugbot is set up for automated code reviews on this repo. Configure here.

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@AHarmlessPyro

AHarmlessPyro commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@NikhilShahi
NikhilShahi added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit e1b5d1e Nov 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants