Skip to content

Commit 436d0e8

Browse files
viviana-sudoclaude
andcommitted
chore: add changeset and regenerate openapi spec for vertex CUA
The vertex CUA change made VertexModelConfigObject.auth and .providerOptions optional but left the generated OpenAPI spec stale, which would have carried the old required-fields contract into the Stainless-generated SDKs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8887099 commit 436d0e8

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.changeset/vertex-cua-support.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@browserbasehq/stagehand": minor
3+
---
4+
5+
Add Vertex AI support for Google Computer Use Agents. The `vertex` provider (explicit, or a `vertex/` model prefix) routes Google CUA models through Vertex AI, initializing `@google/genai` in Vertex mode with service-account, express-mode API key, or ambient ADC auth. `VertexModelConfigObject.auth` and `.providerOptions` are now individually optional, since express keys and ADC need neither.

packages/server-v3/openapi.v3.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,15 @@ components:
379379
type: string
380380
const: vertex
381381
auth:
382-
description: Vertex provider authentication configuration
382+
description: Vertex provider authentication configuration. Optional when using
383+
an express-mode apiKey or ambient application default credentials
383384
$ref: "#/components/schemas/GoogleServiceAccountAuth"
384385
providerOptions:
385386
description: Vertex provider-specific model configuration
386387
$ref: "#/components/schemas/VertexModelProviderOptions"
387388
required:
388389
- modelName
389390
- provider
390-
- auth
391-
- providerOptions
392391
additionalProperties: false
393392
AzureEntraModelConfigObject:
394393
type: object

0 commit comments

Comments
 (0)