Skip to content

Commit cb9cc51

Browse files
committed
bugfix(server): release new verison for macos arm bugfix start server on macos
1 parent f279c1b commit cb9cc51

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,11 @@ jobs:
312312
},
313313
"arm64": {
314314
cpu: {
315-
checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063",
315+
checksum: "02be1bb313324e5f5d198acec61a68059f1694d4d13189ef52e9a3b427087ccb",
316316
url: "https://s3.firecoder.cc/macOS-arm64",
317317
},
318318
metal: {
319-
checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063",
319+
checksum: "02be1bb313324e5f5d198acec61a68059f1694d4d13189ef52e9a3b427087ccb",
320320
url: "https://s3.firecoder.cc/macOS-arm64-metal"
321321
},
322322
}

src/common/server/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class Server {
132132
],
133133
{
134134
detached: false,
135+
shell: true,
135136
}
136137
);
137138

@@ -191,6 +192,7 @@ class Server {
191192
this.serverProcess.on("close", (code) => {
192193
Logger.trace(`child process exited with code ${code}`, {
193194
component: "llama",
195+
sendTelemetry: true,
194196
});
195197
});
196198

@@ -233,7 +235,7 @@ class Server {
233235
const osplatform = os.platform();
234236
const osmachine = os.machine();
235237
const isMacArm64 = osplatform === "darwin" && osmachine === "arm64";
236-
const res = await fetch(`${this.serverUrl}/${"health"}`, {
238+
const res = await fetch(`${this.serverUrl}/health`, {
237239
method: "GET",
238240
});
239241
if (res.ok) {

0 commit comments

Comments
 (0)