Skip to content

HintContext

Defined in: core/prompt-config.ts:20

Context provided to hint template functions for rendering dynamic hints.

optional gadgetCallCount: number

Defined in: core/prompt-config.ts:28

Number of gadget calls in the current response


iteration: number

Defined in: core/prompt-config.ts:22

Current iteration (1-based for readability)


maxIterations: number

Defined in: core/prompt-config.ts:24

Maximum iterations allowed


remaining: number

Defined in: core/prompt-config.ts:26

Iterations remaining (maxIterations - iteration)