doTransformStream

abstract fun doTransformStream(messages: List<Message>, interaction: LlmInteraction, llmRequestEvent: LlmRequestEvent<String>?, agentProcess: AgentProcess? = null, action: Action? = null): <Error class: unknown class><String>

Low level streaming transform with optional platform context. Streams text chunks as they arrive from the LLM. When agentProcess is provided, tools are resolved from ToolGroups and decorated.

Return

Flux of text chunks as they arrive from the LLM

Parameters

messages

messages in the conversation so far

interaction

The LLM call options

llmRequestEvent

Event already published for this request if one has been

agentProcess

Optional agent process for tool resolution and decoration

action

Optional action context for tool decoration