# `Nous.Eval.Scorers.OutputRetries`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/eval/scorers/output_retries.ex#L1)

Bounds the structured-output retries (`[:nous, :agent,
:structured_output, :retry]` events) the sample needed.

    {Nous.Eval.Scorers.OutputRetries, max: 1}

## Options

  * `:max` - retries allowed (default `0`)
  * `:scope` - `:root` (default), `:tree` or `{:sub_agent, template}`

Passing on a truncated trace is a `:missing_trace` error.
`details.retries` holds the count.

---

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