Opaque

org.llm4s.llmconnect.model.ThinkingBlock.Opaque
final case class Opaque(provider: String, data: String)

Provider-specific replay data that neither Text nor Redacted can hold without loss, kept exactly as the provider returned it. Only the client of provider sends it back, unchanged and in order; every other client ignores it. It is always sealed (see isSealed): valid only beside the message content, tool calls and history it was produced with, and dropped when the message is unsealed. The reasoning text, when the provider returns it, is carried beside it as a Text block, so it survives unsealing and is what ThinkingBlock.text reports.

Value parameters

data

The provider's own encoding, opaque to everything but that client - for OpenRouter, one reasoning_details item rendered as JSON.

provider

The id of the provider that produced it, as its client names itself ("openrouter" for OpenRouter's reasoning_details).

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product