Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbrowser/sdk",
"version": "1.0.1",
"version": "1.0.2",
"description": "Node SDK for Hyperbrowser API",
"author": "",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions src/types/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 11 additions & 1 deletion tests/integration/client-http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,14 +526,19 @@ 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({
apiKey: "test-api-key",
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",
Expand All @@ -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",
Expand Down