From 220d5514cb588660274124d1592873ba12ce0af9 Mon Sep 17 00:00:00 2001 From: cocktailpeanut Date: Sun, 19 Mar 2023 21:51:33 -0400 Subject: [PATCH] change the binary name --- index.js | 3 +-- package-lock.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 17baae1..8eb1512 100644 --- a/index.js +++ b/index.js @@ -191,7 +191,7 @@ class Dalai { chunks.push(`-p ${prompt}`) - const main_bin_path = platform === "win32" ? path.resolve(this.home, Core, "build", "Release", "llama") : path.resolve(this.home, Core, "main") + const main_bin_path = platform === "win32" ? path.resolve(this.home, Core, "build", "Release", "main") : path.resolve(this.home, Core, "main") if (req.full) { await this.exec(`${main_bin_path} ${chunks.join(" ")}`, this.cores[Core].home, cb) } else { @@ -445,7 +445,6 @@ class Dalai { } }); ptyProcess.onExit((res) => { - console.log("# EXIT", res) if (res.exitCode === 0) { // successful resolve(true) diff --git a/package-lock.json b/package-lock.json index bf5a47a..5c62214 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dalai", - "version": "0.2.45", + "version": "0.2.46", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dalai", - "version": "0.2.45", + "version": "0.2.46", "hasInstallScript": true, "license": "MIT", "dependencies": {