Skip to content

Commit 762670e

Browse files
feat: Drop headless GPU support and disable pooling
1 parent 256d3ff commit 762670e

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f57c1468805aef5055a41e942a1ec374df98d58f1071b07c31e6496045e0d902.yml
3-
openapi_spec_hash: a4848d54211d6c6330b5ddd08992035a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-17e50cf93d8052ff655c160fc0f156621d9029b041526d4e2e3317b13f80822f.yml
3+
openapi_spec_hash: f7dadc8d93e77983936eb18a8080ce15
44
config_hash: cff4d43372b6fa66b64e2d4150f6aa76

src/resources/browser-pools.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ export interface BrowserPoolAcquireResponse {
309309
deleted_at?: string;
310310

311311
/**
312-
* Whether GPU acceleration is enabled for the browser session.
312+
* Whether GPU acceleration is enabled for the browser session (only supported for
313+
* headful sessions).
313314
*/
314315
gpu?: boolean;
315316

src/resources/browsers/browsers.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ export interface BrowserCreateResponse {
330330
deleted_at?: string;
331331

332332
/**
333-
* Whether GPU acceleration is enabled for the browser session.
333+
* Whether GPU acceleration is enabled for the browser session (only supported for
334+
* headful sessions).
334335
*/
335336
gpu?: boolean;
336337

@@ -430,7 +431,8 @@ export interface BrowserRetrieveResponse {
430431
deleted_at?: string;
431432

432433
/**
433-
* Whether GPU acceleration is enabled for the browser session.
434+
* Whether GPU acceleration is enabled for the browser session (only supported for
435+
* headful sessions).
434436
*/
435437
gpu?: boolean;
436438

@@ -530,7 +532,8 @@ export interface BrowserUpdateResponse {
530532
deleted_at?: string;
531533

532534
/**
533-
* Whether GPU acceleration is enabled for the browser session.
535+
* Whether GPU acceleration is enabled for the browser session (only supported for
536+
* headful sessions).
534537
*/
535538
gpu?: boolean;
536539

@@ -630,7 +633,8 @@ export interface BrowserListResponse {
630633
deleted_at?: string;
631634

632635
/**
633-
* Whether GPU acceleration is enabled for the browser session.
636+
* Whether GPU acceleration is enabled for the browser session (only supported for
637+
* headful sessions).
634638
*/
635639
gpu?: boolean;
636640

@@ -690,7 +694,7 @@ export interface BrowserCreateParams {
690694

691695
/**
692696
* If true, enables GPU acceleration for the browser session. Requires Start-Up or
693-
* Enterprise plan.
697+
* Enterprise plan and headless=false.
694698
*/
695699
gpu?: boolean;
696700

src/resources/invocations.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ export namespace InvocationListBrowsersResponse {
465465
deleted_at?: string;
466466

467467
/**
468-
* Whether GPU acceleration is enabled for the browser session.
468+
* Whether GPU acceleration is enabled for the browser session (only supported for
469+
* headful sessions).
469470
*/
470471
gpu?: boolean;
471472

0 commit comments

Comments
 (0)