google.internal.vertex_invoke_stream

The streaming entry point: the same request against `:streamGenerateContent?alt=sse` (Gemini) or `:streamRawPredict` (Claude, which streams Anthropic Messages SSE and reuses that decoder), wrapped in an ai.TurnStream.

Reference version

Signature

function google.internal.vertex_invoke_stream(
input: ai.ModelTurnInput
) -> ai.stream.TurnStream throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.ParseError | baml.errors.Timeout | baml.json.SerializationError | ai.errors.Failure

The streaming entry point: the same request against :streamGenerateContent?alt=sse (Gemini) or :streamRawPredict (Claude, which streams Anthropic Messages SSE and reuses that decoder), wrapped in an ai.TurnStream.

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