Skip to content

GoogleVertexAnthropicOptions

Namespace: Vercel.AI.Google

public sealed class GoogleVertexAnthropicOptions

Settings for Anthropic on Vertex.

Inheritance: object

View source

public string? BaseUrl { get; set; }

Publisher base URL. When empty, it is built from the project and location.

Value: string

View source

public Func<CancellationToken, Task<string>>? GenerateAuthToken { get; set; }

Returns a bearer token. Called once per request. Without it, no Authorization header is added.

Value: Func<CancellationToken, Task<string>>

View source

public Dictionary<string, string?> Headers { get; }

Headers merged into every request. A caller-supplied Authorization value wins over the generated token.

Value: Dictionary<string, string>

View source

public string? Location { get; set; }

Location. One DNS label.

Value: string

View source

public string? Project { get; set; }

Project id.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product