Skip to content

Commit ba21de0

Browse files
cursoragentnikhil
andcommitted
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 <nikhil@metlo.com>
1 parent 3173cfd commit ba21de0

3 files changed

Lines changed: 3 additions & 2 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",

‎tests/test_cua_models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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("llm", ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"])
99
def test_start_cua_accepts_gpt6_models(llm: str) -> None:
1010
dumped = dump_request(
1111
{"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)