ClaudeCode.Content.RedactedThinkingBlock (ClaudeCode v0.36.3)

View Source

Represents a redacted thinking content block within a Claude message.

Redacted thinking blocks contain encrypted thinking data that cannot be displayed to the user. They appear when Claude's reasoning is filtered by streaming classifiers.

Summary

Types

t()

@type t() :: %ClaudeCode.Content.RedactedThinkingBlock{
  data: String.t(),
  type: :redacted_thinking
}

Functions

new(data)

@spec new(map()) :: {:ok, t()} | {:error, atom() | {:missing_fields, [atom()]}}