From ba21de0868cba2ea1a943bb137664fa012910ddb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:49:01 +0000 Subject: [PATCH 1/4] Add gpt-6.1-sol to OpenAI CUA models Accept the new GPT-6.1 Sol computer-use model added in browserctrl. Co-authored-by: nikhil --- hyperbrowser/models/consts.py | 1 + tests/test_cua_models.py | 2 +- tests/typecheck/valid_requests.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hyperbrowser/models/consts.py b/hyperbrowser/models/consts.py index c18813c5..bb8a1966 100644 --- a/hyperbrowser/models/consts.py +++ b/hyperbrowser/models/consts.py @@ -93,6 +93,7 @@ CuaLlm = Literal[ "computer-use-preview", "gpt-6-astra", + "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", diff --git a/tests/test_cua_models.py b/tests/test_cua_models.py index c196ba1e..b2b99067 100644 --- a/tests/test_cua_models.py +++ b/tests/test_cua_models.py @@ -5,7 +5,7 @@ from hyperbrowser.models.agents.cua import StartCuaTaskParams -@pytest.mark.parametrize("llm", ["gpt-6-sol", "gpt-6-luna", "gpt-6-astra"]) +@pytest.mark.parametrize("llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"]) def test_start_cua_accepts_gpt6_models(llm: str) -> None: dumped = dump_request( {"task": "Inspect the page", "llm": llm, "reasoning_effort": "max"}, diff --git a/tests/typecheck/valid_requests.py b/tests/typecheck/valid_requests.py index 0cd76457..47b0c47b 100644 --- a/tests/typecheck/valid_requests.py +++ b/tests/typecheck/valid_requests.py @@ -100,7 +100,7 @@ def valid_sync_requests(client: Hyperbrowser) -> None: client.agents.cua.start( { "task": "Complete the task", - "llm": "gpt-6-sol", + "llm": "gpt-6.1-sol", "reasoning_effort": "high", "use_custom_api_keys": True, "api_keys": {"openai": "openai-key"}, From 739c5f99166a6c6730ea7a168401c57a0e978cfd Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:50:37 +0000 Subject: [PATCH 2/4] Format CUA model test parametrize list Co-authored-by: nikhil --- tests/test_cua_models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_cua_models.py b/tests/test_cua_models.py index b2b99067..35ea7837 100644 --- a/tests/test_cua_models.py +++ b/tests/test_cua_models.py @@ -5,7 +5,9 @@ from hyperbrowser.models.agents.cua import StartCuaTaskParams -@pytest.mark.parametrize("llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"]) +@pytest.mark.parametrize( + "llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"] +) def test_start_cua_accepts_gpt6_models(llm: str) -> None: dumped = dump_request( {"task": "Inspect the page", "llm": llm, "reasoning_effort": "max"}, From ac5ed082f3213e5337020006138164ceb1380cd5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:57:40 +0000 Subject: [PATCH 3/4] Bump version from 1.9.2 to 1.9.3 Co-authored-by: nikhil --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 51ff2232..3c795efd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hyperbrowser" -version = "1.9.2" +version = "1.9.3", description = "Python SDK for hyperbrowser" authors = ["Nikhil Shahi "] license = "MIT" From 224c6de45f697775158c30c824bdb758ae680aa1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:57:52 +0000 Subject: [PATCH 4/4] Fix trailing comma in package version Co-authored-by: nikhil --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3c795efd..a1a8efaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hyperbrowser" -version = "1.9.3", +version = "1.9.3" description = "Python SDK for hyperbrowser" authors = ["Nikhil Shahi "] license = "MIT"