doTransformWithThinking

abstract fun <O> doTransformWithThinking(messages: List<Message>, interaction: LlmInteraction, outputClass: Class<O>, llmRequestEvent: LlmRequestEvent<O>?): ThinkingResponse<O>

Low level transform with thinking block extraction, not necessarily aware of platform.

Parameters

messages

messages

interaction

The LLM call options

outputClass

Class of the output object

llmRequestEvent

Event already published for this request if one has been