Fix packaged prompt path
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ async function renderPrompt(
|
||||
ANCHORS_PATH: anchorsPath,
|
||||
};
|
||||
const template = await Deno.readTextFile(
|
||||
new URL("prompt.md", import.meta.url),
|
||||
new URL("../prompt.md", import.meta.url),
|
||||
);
|
||||
return {
|
||||
prompt: template.replace(
|
||||
|
||||
Reference in New Issue
Block a user