# `Mojentic.Examples.React.Models.CurrentContext`
[🔗](https://github.com/svetzal/mojentic-ex/blob/v1.5.0/lib/mojentic/examples/react/models.ex#L84)

The complete context for a ReAct session.

This model tracks everything needed to maintain state throughout the
reasoning and acting loop, including the user's query, the plan,
the history of actions, and the iteration count.

# `t`

```elixir
@type t() :: %Mojentic.Examples.React.Models.CurrentContext{
  history: [Mojentic.Examples.React.Models.ThoughtActionObservation.t()],
  iteration: non_neg_integer(),
  plan: Mojentic.Examples.React.Models.Plan.t(),
  user_query: String.t()
}
```

# `new`

Creates a new CurrentContext with the given user query.

---

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