Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hyperbrowser/models/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"max",
]
GeminiComputerUseLlm = Literal[
"gemini-4-neon",
"gemini-4-hydrogen",
"gemini-4-carbon",
"gemini-4-argon",
Expand All @@ -148,8 +149,8 @@
"gemini-3-flash-preview",
"gemini-2.5-computer-use-preview-10-2025",
]
# Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 4 Argon, 3.8 Flash, and 3.7 Flash do not support "minimal".
# Only Gemini 4 Hydrogen supports "xhigh".
# Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 4 Argon, 3.8 Flash, and 3.7 Flash do not support "minimal".
# Only Gemini 4 Neon and Gemini 4 Hydrogen support "xhigh".
GeminiComputerUseReasoningEffort = Literal[
"minimal",
"low",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hyperbrowser"
version = "1.15.4"
version = "1.15.5"
description = "Python SDK for hyperbrowser"
authors = ["Nikhil Shahi <nshahi1998@gmail.com>"]
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions tests/test_request_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def test_claude_computer_use_serializes_reasoning_effort_for_mapping_and_legacy_
@pytest.mark.parametrize(
("llm", "reasoning_effort"),
[
("gemini-4-neon", "xhigh"),
("gemini-4-hydrogen", "xhigh"),
("gemini-4-carbon", "high"),
("gemini-4-argon", "high"),
Expand Down
7 changes: 7 additions & 0 deletions tests/typecheck/valid_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,13 @@ def valid_sync_requests(client: Hyperbrowser) -> None:
"reasoning_effort": "xhigh",
}
)
client.agents.gemini_computer_use.start(
{
"task": "Complete the task",
"llm": "gemini-4-neon",
"reasoning_effort": "xhigh",
}
)
client.agents.jev_computer_use.start(
{
"task": "Find the order",
Expand Down