# Class LittleGhost::Content::Reasoning

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/Content/Reasoning.html

Preserves provider reasoning without forcing every provider into one
representation. A value may carry visible text, a provider signature, opaque
redacted bytes, or provider-specific detail objects.

Redacted bytes are mutually exclusive with text and signatures so they can
round-trip without exposing or changing provider-managed content.

## Inheritance

`LittleGhost::Content::Reasoning < Data`

## Attributes

<a id="attribute-i-details"></a>
### `details` (R)

Optional provider-specific reasoning objects.

<a id="attribute-i-redacted_content"></a>
### `redacted_content` (R)

Optional opaque bytes that only the provider should interpret.

<a id="attribute-i-signature"></a>
### `signature` (R)

An optional provider signature associated with `text`.

<a id="attribute-i-text"></a>
### `text` (R)

Visible reasoning text, or an empty string when none is available.

## Class methods

<a id="method-c-new"></a>
### `.new`

```ruby
new(text: "", signature: nil, redacted_content: nil, details: nil) -> Reasoning
```

`details`, when present, must be an array of Hash objects.
