Skip to content

Commit

Permalink
bugfix(server): release new verison for macos arm bugfix start server…
Browse files Browse the repository at this point in the history
… on macos
  • Loading branch information
gespispace committed May 1, 2024
1 parent f279c1b commit cb9cc51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,11 @@ jobs:
},
"arm64": {
cpu: {
checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063",
checksum: "02be1bb313324e5f5d198acec61a68059f1694d4d13189ef52e9a3b427087ccb",
url: "https://s3.firecoder.cc/macOS-arm64",
},
metal: {
checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063",
checksum: "02be1bb313324e5f5d198acec61a68059f1694d4d13189ef52e9a3b427087ccb",
url: "https://s3.firecoder.cc/macOS-arm64-metal"
},
}
Expand Down
4 changes: 3 additions & 1 deletion src/common/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class Server {
],
{
detached: false,
shell: true,
}
);

Expand Down Expand Up @@ -191,6 +192,7 @@ class Server {
this.serverProcess.on("close", (code) => {
Logger.trace(`child process exited with code ${code}`, {
component: "llama",
sendTelemetry: true,
});
});

Expand Down Expand Up @@ -233,7 +235,7 @@ class Server {
const osplatform = os.platform();
const osmachine = os.machine();
const isMacArm64 = osplatform === "darwin" && osmachine === "arm64";
const res = await fetch(`${this.serverUrl}/${"health"}`, {
const res = await fetch(`${this.serverUrl}/health`, {
method: "GET",
});
if (res.ok) {
Expand Down

0 comments on commit cb9cc51

Please sign in to comment.