google.internal._vertex_request

(internal) The shared request builder: the Gemini body, the Vertex URL, and either a bearer token or an express key.

Reference version

Signature

function google.internal._vertex_request(
input: ai.ModelTurnInput,
stream: bool,
preview: bool = …
) -> baml.http.Request throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.ParseError | baml.errors.Timeout | baml.json.SerializationError | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported | ai.errors.PromptRenderError

(internal) The shared request builder: the Gemini body, the Vertex URL, and either a bearer token or an express key.

Source:<builtin>/google/ns_internal/vertex.bamlbytes 1245515160