Files
DeepTutor/web/shared/api/runtime.ts
Bingxi Zhao (Frank) 6e6e56aedb release: v1.6.3
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
2026-09-02 04:09:11 +08:00

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",
});
}