diff --git a/package.json b/package.json index ce6216a..9fb1ebb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperbrowser/sdk", - "version": "1.4.0", + "version": "1.4.1", "description": "Node SDK for Hyperbrowser API", "author": "", "repository": { diff --git a/src/types/constants.ts b/src/types/constants.ts index 521fcf7..947f4ac 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -92,6 +92,7 @@ export type CuaLlm = | "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/tests/integration/client-http.test.ts b/tests/integration/client-http.test.ts index 04e22f3..c28fe8b 100644 --- a/tests/integration/client-http.test.ts +++ b/tests/integration/client-http.test.ts @@ -601,7 +601,7 @@ describe("client HTTP integration", () => { ]); }); - test("OpenAI CUA accepts GPT-6.1 Sol, GPT-6 Sol, and Luna models", async () => { + test("OpenAI CUA accepts GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol, and Luna models", async () => { const server = await startServer(); servers.push(server); const client = new HyperbrowserClient({ @@ -614,6 +614,11 @@ describe("client HTTP integration", () => { llm: "gpt-6.1-sol", reasoningEffort: "max", }); + await client.agents.cua.start({ + task: "Complete the task", + llm: "gpt-6.1-terra", + reasoningEffort: "none", + }); await client.agents.cua.start({ task: "Complete the task", llm: "gpt-6-sol", @@ -631,6 +636,11 @@ describe("client HTTP integration", () => { llm: "gpt-6.1-sol", reasoningEffort: "max", }, + { + task: "Complete the task", + llm: "gpt-6.1-terra", + reasoningEffort: "none", + }, { task: "Complete the task", llm: "gpt-6-sol",