doTransformObjectStreamWithThinking

abstract fun <O> doTransformObjectStreamWithThinking(messages: List<Message>, interaction: LlmInteraction, outputClass: Class<O>, llmRequestEvent: LlmRequestEvent<O>?): <Error class: unknown class><<Error class: unknown class><O>>

Low level mixed content streaming transform, not necessarily aware of platform. Streams both typed objects and thinking content from mixed JSONL response.

Return

Flux of StreamingEvent objects containing either objects or thinking content

Parameters

messages

messages in the conversation so far

interaction

The LLM call options

outputClass

Class of the output objects

llmRequestEvent

Event already published for this request if one has been