Skip to content

Commit dde89cd

Browse files
authored
Add gpt-6.1-sol to OpenAI CUA models (#133)
1 parent 3173cfd commit dde89cd

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎hyperbrowser/models/consts.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
CuaLlm = Literal[
9494
"computer-use-preview",
9595
"gpt-6-astra",
96+
"gpt-6.1-sol",
9697
"gpt-6-sol",
9798
"gpt-6-luna",
9899
"gpt-5.6-sol",

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hyperbrowser"
3-
version = "1.9.2"
3+
version = "1.9.3"
44
description = "Python SDK for hyperbrowser"
55
authors = ["Nikhil Shahi <nshahi1998@gmail.com>"]
66
license = "MIT"

‎tests/test_cua_models.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
from hyperbrowser.models.agents.cua import StartCuaTaskParams
66

77

8-
@pytest.mark.parametrize("llm", ["gpt-6-sol", "gpt-6-luna", "gpt-6-astra"])
8+
@pytest.mark.parametrize(
9+
"llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"]
10+
)
911
def test_start_cua_accepts_gpt6_models(llm: str) -> None:
1012
dumped = dump_request(
1113
{"task": "Inspect the page", "llm": llm, "reasoning_effort": "max"},

‎tests/typecheck/valid_requests.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def valid_sync_requests(client: Hyperbrowser) -> None:
100100
client.agents.cua.start(
101101
{
102102
"task": "Complete the task",
103-
"llm": "gpt-6-sol",
103+
"llm": "gpt-6.1-sol",
104104
"reasoning_effort": "high",
105105
"use_custom_api_keys": True,
106106
"api_keys": {"openai": "openai-key"},

0 commit comments

Comments
 (0)