GoogleVertexPartnerOptions
Namespace: Vercel.AI.Google
public sealed class GoogleVertexPartnerOptionsSettings for the OpenAI-compatible MaaS and xAI endpoints on Vertex.
Inheritance: object
Properties
Section titled “Properties”BaseUrl
Section titled “BaseUrl”public string? BaseUrl { get; set; }OpenAI-compatible base URL. When empty, it is built from the project and location.
Value: string
GenerateAuthToken
Section titled “GenerateAuthToken”public Func<CancellationToken, Task<string>>? GenerateAuthToken { get; set; }Returns a bearer token. Called once per request. The token replaces any Authorization header.
Value: Func<CancellationToken, Task<string>>
Headers
Section titled “Headers”public Dictionary<string, string?> Headers { get; }Headers set on every request. They replace request headers with the same name.
Value: Dictionary<string, string>
Location
Section titled “Location”public string? Location { get; set; }Location. One DNS label. Defaults to global.
Value: string
Project
Section titled “Project”public string? Project { get; set; }Project id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product