diff --git a/packages/core/src/promptdom.ts b/packages/core/src/promptdom.ts index 7d3a0ef9a..856c0a5ea 100644 --- a/packages/core/src/promptdom.ts +++ b/packages/core/src/promptdom.ts @@ -326,7 +326,7 @@ function renderDefNode(def: PromptDefNode): string { return res } -async function renderDefDataNode(n: PromptDefDataNode): string { +async function renderDefDataNode(n: PromptDefDataNode): Promise { const { name, headers, priority, ephemeral, query } = n let data = n.resolved let format = n.format