vercel.internal.gateway_images_parse

One decoded response -> one model turn of media blocks. The endpoint reports no finish reason, so the stop reason is always Complete (sys_llm's `FinishReason::Stop`); `usage` is carried through when the provider sent it (sys_llm dropped it). Any `warnings[]` — options the underlying provider ignored — are logged, since nothing else in the turn records them.

Reference version

Signature

function vercel.internal.gateway_images_parse(
) -> ai.ModelTurn throws ai.errors.ParseFailed

One decoded response -> one model turn of media blocks. The endpoint reports no finish reason, so the stop reason is always Complete (sys_llm's FinishReason::Stop); usage is carried through when the provider sent it (sys_llm dropped it). Any warnings[] — options the underlying provider ignored — are logged, since nothing else in the turn records them.

Source:<builtin>/vercel/ns_internal/images.bamlbytes 1549516901