MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / restartRuntime

Function restartRuntime

web/js/api.js:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15export async function restartRuntime() {
16 const res = await fetch(state.API_BASE + "/api/runtime/restart", {
17 method: "POST",
18 headers: { "Content-Type": "application/json" },
19 });
20 const payload = await res.json();
21 if (!res.ok) {
22 throw new Error(payload.message || "Restart Failed");
23 }
24 return payload;
25}
26
27export async function listConversations() {
28 const res = await fetch(state.API_BASE + "/api/conversations");

Callers 2

handleRestartFunction · 0.90
handleRestartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected