ai.internal.validate_output_type

Reject output types that cannot be represented faithfully at the shared LLM render boundary. Both prompt preview and execution call this guard.

Reference version

Signature

function ai.internal.validate_output_type(
return_type: reflect.Type
) -> void throws reflect.errors.CompilationError

Reject output types that cannot be represented faithfully at the shared LLM render boundary. Both prompt preview and execution call this guard.

Source:<builtin>/ai/ns_internal/prompt.bamlbytes 5281338