llmRequestStreamingAndSendResults

fun llmRequestStreamingAndSendResults(structureDefinition: ERROR CLASS: Symbol not found for StructureDefinition?? = null): AIAgentNodeBase<Input, ERROR CLASS: Symbol not found for Message.Assistant>(source)

Sends a streaming request to the Large Language Model (LLM), accumulates the streamed frames into a single Message.Assistant, and returns it as this node's output.

The streaming request operates on the session's current prompt; the node's own Input value is not consumed by this method.

Parameters

structureDefinition

Optional StructureDefinition that guides structured text content in the streamed response. When null, the default unstructured streaming behavior is used.