LlmMessageResponse

data class LlmMessageResponse(val message: Message, val textContent: String, val usage: Usage? = null)

Framework-agnostic result of a single LLM inference call. Represents the assistant's response which may include tool calls.

Parameters

message

The full message object from the LLM

textContent

The text content of the message

usage

Optional usage information (tokens, etc.)

Constructors

Link copied to clipboard
constructor(message: Message, textContent: String, usage: Usage? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val usage: Usage? = null