Skip to content

Add gemini-4-carbon to Gemini Computer Use models - #153

Merged
NikhilShahi merged 2 commits into
mainfrom
devin/1794345157-gemini-4-carbon
Nov 10, 2026
Merged

NikhilShahi merged 2 commits into
mainfrom
devin/1794345157-gemini-4-carbon

Conversation

@shrisukhani

@shrisukhani shrisukhani commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds "gemini-4-carbon" to the GeminiComputerUseLlm literal so the SDK accepts the new Gemini 4 Carbon Computer Use model. The model supports low/medium/high reasoning effort but not minimal.

Changes

  • hyperbrowser/models/consts.py: adds "gemini-4-carbon" and updates the reasoning-effort comment.
  • tests/test_request_compat.py: the Gemini 4 dict/legacy-model serialization test is now parameterized over Carbon and Argon.
  • tests/typecheck/valid_requests.py: adds a Carbon request to the mypy/Pyright fixture.

Validation

  • poetry run ruff check .
  • poetry run pytest tests --ignore=tests/sandbox/e2e: 1071 passed, including the mypy and Pyright typing contract
  • poetry build

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

@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 10, 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 10, 2026
Merged via the queue into main with commit 07142aa Nov 10, 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