From 6cb3b88d4de09f7f512fa6dd565401011f2c0624 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 28 Oct 2026 19:06:05 +0000 Subject: [PATCH] Add gpt-6.1-terra to OpenAI CUA models Co-authored-by: nikhil --- hyperbrowser/models/consts.py | 1 + pyproject.toml | 2 +- tests/test_cua_models.py | 3 ++- tests/typecheck/valid_requests.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hyperbrowser/models/consts.py b/hyperbrowser/models/consts.py index 5c522db1..1bee237b 100644 --- a/hyperbrowser/models/consts.py +++ b/hyperbrowser/models/consts.py @@ -111,6 +111,7 @@ "computer-use-preview", "gpt-6-astra", "gpt-6.1-sol", + "gpt-6.1-terra", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", diff --git a/pyproject.toml b/pyproject.toml index 57f80adb..540fd11d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hyperbrowser" -version = "1.14.0" +version = "1.14.1" description = "Python SDK for hyperbrowser" authors = ["Nikhil Shahi "] license = "MIT" diff --git a/tests/test_cua_models.py b/tests/test_cua_models.py index 35ea7837..7febd8b5 100644 --- a/tests/test_cua_models.py +++ b/tests/test_cua_models.py @@ -6,7 +6,8 @@ @pytest.mark.parametrize( - "llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"] + "llm", + ["gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"], ) def test_start_cua_accepts_gpt6_models(llm: str) -> None: dumped = dump_request( diff --git a/tests/typecheck/valid_requests.py b/tests/typecheck/valid_requests.py index ca0b1489..3bb213f3 100644 --- a/tests/typecheck/valid_requests.py +++ b/tests/typecheck/valid_requests.py @@ -110,7 +110,7 @@ def valid_sync_requests(client: Hyperbrowser) -> None: client.agents.cua.start( { "task": "Complete the task", - "llm": "gpt-6.1-sol", + "llm": "gpt-6.1-terra", "reasoning_effort": "high", "use_custom_api_keys": True, "api_keys": {"openai": "openai-key"},