HintContext
Defined in: core/prompt-config.ts:20
Context provided to hint template functions for rendering dynamic hints.
Properties
Section titled “Properties”gadgetCallCount?
Section titled “gadgetCallCount?”
optionalgadgetCallCount:number
Defined in: core/prompt-config.ts:28
Number of gadget calls in the current response
iteration
Section titled “iteration”iteration:
number
Defined in: core/prompt-config.ts:22
Current iteration (1-based for readability)
maxIterations
Section titled “maxIterations”maxIterations:
number
Defined in: core/prompt-config.ts:24
Maximum iterations allowed
remaining
Section titled “remaining”remaining:
number
Defined in: core/prompt-config.ts:26
Iterations remaining (maxIterations - iteration)