const PLACEHOLDER_PATTERN = /\{\{[^{}]+\}\}|<<[^<>]+>>/;
export function hasPromptPlaceholders(prompt) {
    return !!prompt && PLACEHOLDER_PATTERN.test(prompt);
}
export function isPromptInPlaceholderMode(input) {
    return input.hasActivePlaceholderInput || hasPromptPlaceholders(input.prompt);
}
//# sourceMappingURL=agentPromptPlaceholders.js.map