ReqLLM.Message.ReasoningDetails (ReqLLM v1.3.0)

View Source

Normalized reasoning/thinking data from LLM providers.

Fields

  • text - Human-readable reasoning/thinking text (may be summarized)
  • signature - Opaque signature/token for multi-turn continuity
  • encrypted? - Whether the signature contains encrypted reasoning tokens
  • provider - Source provider (:anthropic, :google, :openai, :openrouter)
  • format - Provider-specific format version identifier
  • index - Position index for ordered reasoning blocks
  • provider_data - Raw provider-specific fields for lossless round-trips

Summary

Types

t()

@type t() :: %ReqLLM.Message.ReasoningDetails{
  encrypted?: boolean(),
  format: String.t() | nil,
  index: non_neg_integer(),
  provider: atom() | nil,
  provider_data: map(),
  signature: String.t() | nil,
  text: String.t() | nil
}