From 81c514eee1aed58231462a2e6e937965af9eba81 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:49:01 +0000 Subject: [PATCH 1/2] 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 --- src/types/constants.ts | 1 + tests/integration/client-http.test.ts | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/types/constants.ts b/src/types/constants.ts index a1906ed..40d1c78 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -74,6 +74,7 @@ export type ClaudeComputerUseReasoningEffort = "low" | "medium" | "high" | "xhig export type CuaLlm = | "computer-use-preview" | "gpt-6-astra" + | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.6-sol" diff --git a/tests/integration/client-http.test.ts b/tests/integration/client-http.test.ts index 06e8cb2..2aa3d5b 100644 --- a/tests/integration/client-http.test.ts +++ b/tests/integration/client-http.test.ts @@ -526,7 +526,7 @@ describe("client HTTP integration", () => { ]); }); - test("OpenAI CUA accepts GPT-6 Sol and Luna models", async () => { + test("OpenAI CUA accepts GPT-6.1 Sol, GPT-6 Sol, and Luna models", async () => { const server = await startServer(); servers.push(server); const client = new HyperbrowserClient({ @@ -534,6 +534,11 @@ describe("client HTTP integration", () => { baseUrl: server.baseUrl, }); + await client.agents.cua.start({ + task: "Complete the task", + llm: "gpt-6.1-sol", + reasoningEffort: "max", + }); await client.agents.cua.start({ task: "Complete the task", llm: "gpt-6-sol", @@ -546,6 +551,11 @@ describe("client HTTP integration", () => { }); expect(server.requests.map((request) => request.body)).toEqual([ + { + task: "Complete the task", + llm: "gpt-6.1-sol", + reasoningEffort: "max", + }, { task: "Complete the task", llm: "gpt-6-sol", From ab6479914a834d50eedcfc002870cafed396bed8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 29 Sep 2026 19:57:40 +0000 Subject: [PATCH 2/2] Bump version from 1.0.1 to 1.0.2 Co-authored-by: nikhil --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d1fcab6..d63fcec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperbrowser/sdk", - "version": "1.0.1", + "version": "1.0.2", "description": "Node SDK for Hyperbrowser API", "author": "", "repository": {