google.internal.gemini_invoke_stream

The streaming entry point: the same request body as `gemini_invoke` against the `:streamGenerateContent?alt=sse` verb, wrapped in an ai.TurnStream.

Reference version

Signature

function google.internal.gemini_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 body as gemini_invoke against the :streamGenerateContent?alt=sse verb, wrapped in an ai.TurnStream.

Source:<builtin>/google/ns_internal/gemini.bamlbytes 4363645351