Skip to content

Add Gemini 4 Argon and reasoning effort to Gemini Computer Use - #133

Merged
NikhilShahi merged 1 commit into
mainfrom
cursor/gemini-4-argon-51d1
Oct 14, 2026
Merged

NikhilShahi merged 1 commit into
mainfrom
cursor/gemini-4-argon-51d1

Conversation

@NikhilShahi

Copy link
Copy Markdown
Collaborator

Summary

Expose the API's new gemini-4-argon model and optional reasoningEffort for Gemini Computer Use (hyperbrowserai/browserctrl#1580). Gemini 3.8 Flash remains the default, and omitting reasoningEffort keeps each model's existing behavior.

Changes

  • Add "gemini-4-argon" to GeminiComputerUseLlm.
  • Add and export GeminiComputerUseReasoningEffort ("minimal" | "low" | "medium" | "high"), and add reasoningEffort to StartGeminiComputerUseTaskParams. The API rejects "minimal" for Argon, 3.8 Flash, and 3.7 Flash.
  • Add an HTTP integration test for the start payload (Argon with effort and BYOK keys, 3.6 Flash with minimal, and Argon with effort omitted).
  • Bump the version to 1.2.2.
await client.agents.geminiComputerUse.startAndWait({
  task: "Go to Hacker News and tell me the title of the top post",
  llm: "gemini-4-argon",
  reasoningEffort: "high",
});

Validation

  • yarn lint
  • yarn build (via yarn install)
  • yarn typecheck
  • yarn test: 737 passed
  • A live call against production returned 400 because it still lists only the older Gemini models, so #1580 isn't deployed yet. Re-run a live Argon task once it ships.
Open in Web Open in Cursor 

Co-authored-by: nikhil <nikhil@metlo.com>
@NikhilShahi
NikhilShahi marked this pull request as ready for review October 14, 2026 22:30
@NikhilShahi
NikhilShahi merged commit f382cdd into main Oct 14, 2026
3 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