Skip to content

Commit 253e43c

Browse files
committed
fix: resolve template helper error for {{{ input }}} syntax (#6749)
1 parent 8598ee7 commit 253e43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/src/components/mainInput/TipTapEditor/utils/renderPromptv1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function getRenderedV1Prompt(
4242
const getUriFromPath = (path: string) => {
4343
return resolveRelativePathInDir(path, ideMessenger.ide, workspaceDirs);
4444
};
45-
const handlebars = await import("handlebars");
45+
const handlebars = (await import("handlebars")).default;
4646
let rendered = await renderTemplatedString(
4747
handlebars,
4848
command.prompt,

0 commit comments

Comments
 (0)