From 13aece6e37b61c193688bcdb6664dcac79f8350f Mon Sep 17 00:00:00 2001 From: jordojordo Date: Sun, 12 May 2024 15:26:45 -0400 Subject: [PATCH] Update default gptscript binary path --- src/gptscript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gptscript.ts b/src/gptscript.ts index 10852f3..c0da418 100644 --- a/src/gptscript.ts +++ b/src/gptscript.ts @@ -902,7 +902,7 @@ async function getCmdPath(): Promise { const path = await import("path") const url = await import("url") - return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "bin", "gptscript") + return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "..", "bin", "gptscript") } function parseBlocksFromNodes(nodes: any[]): Block[] {