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.
Parameters
Section titled “Parameters”template
Section titled “template”The hint template to resolve
HintTemplate | undefined
defaultValue
Section titled “defaultValue”string
Default value if template is undefined
context
Section titled “context”Context for rendering the template
Returns
Section titled “Returns”string
The resolved hint string