# `MingaAgent.ModelCandidate`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_agent/model_candidate.ex#L1)

Typed picker candidate for one exact executable model route.

# `t`

```elixir
@type t() :: %MingaAgent.ModelCandidate{
  current: boolean(),
  favorite: boolean(),
  selection: MingaAgent.ModelSelection.t()
}
```

# `new`

```elixir
@spec new(MingaAgent.ModelSelection.t(), [String.t()], String.t() | nil) :: t()
```

Builds a candidate and derives favorite/current flags from stable selection ids.

---

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