ReqLLM.Message.ReasoningDetails (ReqLLM v1.14.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: nil | nil | binary(),
  index: integer(),
  provider: nil | nil | atom(),
  provider_data: map(),
  signature: nil | nil | binary(),
  text: nil | nil | binary()
}

Functions

schema()