Skip to content

resolveHintTemplate

resolveHintTemplate(template, defaultValue, context): string

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

Resolve a hint template to a string using the given context. Supports both function templates and string templates with placeholders.

The hint template to resolve

HintTemplate | undefined

string

Default value if template is undefined

HintContext

Context for rendering the template

string

The resolved hint string