Skip to content

IterationHintOptions

Defined in: agent/hints.ts:56

Options for iteration progress hint.

optional showUrgency: boolean

Defined in: agent/hints.ts:71

Whether to include urgency indicators for late iterations. Adds extra text when running low on iterations.

true

optional template: HintTemplate

Defined in: agent/hints.ts:78

Custom template. Supports placeholders: {iteration}, {maxIterations}, {remaining} Or a function receiving HintContext.

DEFAULT_HINTS.iterationProgressHint

optional timing: "always" | "late" | "urgent"

Defined in: agent/hints.ts:64

When to show the hint.

  • “always”: Show on every iteration
  • “late”: Show only when >= 50% through iterations
  • “urgent”: Show only when >= 80% through iterations
"always"