# `LlmCall.StreamDelta.Thinking`
[🔗](https://github.com/gilbertwong96/llm_call/blob/main/lib/llm_call/stream_delta.ex#L28)

Incremental reasoning text, a reasoning signature, or both.

A provider streams the text as it is generated and the signature at the end of the
block, in an event whose `text` is `""`. Folding only `text` silently loses the
signature, and the finished block then cannot be replayed: a provider rejects it,
and this library reports a `:validation` error first. Take whichever field the
event carries:

    def merge(%LlmCall.Content.Thinking{} = block, %__MODULE__{} = delta) do
      %{block | text: block.text <> delta.text, signature: delta.signature || block.signature}
    end

# `t`

```elixir
@type t() :: %LlmCall.StreamDelta.Thinking{
  signature: String.t() | nil,
  text: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
