mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:20:04 +08:00
Ship the breaking front- and back-end runtime and route refactor, learner and guardian flows, grounded reading, knowledge and parser updates, and recoverable long-running streams. Release notes: assets/releases/ver1-6-3.md
14 lines
330 B
TypeScript
14 lines
330 B
TypeScript
import type { RuntimeStatus } from "@/contracts/generated/turn-protocol";
|
|
|
|
import { requestJson } from "./client";
|
|
|
|
export function fetchRuntimeStatus(
|
|
signal?: AbortSignal,
|
|
): Promise<RuntimeStatus> {
|
|
return requestJson<RuntimeStatus>("/api/system/runtime", {
|
|
cache: "no-store",
|
|
signal,
|
|
scope: "runtime",
|
|
});
|
|
}
|