AIUIDocument

constructor(format: AIUIFormat, version: String? = null, isStreaming: Boolean = false, content: Any?)

Parameters

format

The format it is written in.

version

The format's version, when the agent names one.

isStreaming

Whether the agent is still writing it.

content

The document in its format's own shape: a program's text, or JSON as plain Kotlin values (maps, lists, strings, numbers, booleans and null).