Sycophant.Message.Content.RedactedThinking
(sycophant v0.4.2)
Copy Markdown
Redacted/encrypted thinking content part for assistant messages.
Carries opaque encrypted data that some providers return when parts of the model's reasoning are redacted. Required for multi-turn conversations where the provider needs the encrypted blob sent back to maintain reasoning continuity.
Examples
iex> %Sycophant.Message.Content.RedactedThinking{data: "encrypted_blob"}
#Sycophant.Message.Content.RedactedThinking<%{data: "**REDACTED**"}>
Summary
Functions
Deserializes a redacted thinking content part from a plain map.
Types
@type t() :: %Sycophant.Message.Content.RedactedThinking{data: String.t()}