MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / json

Function json

graph-ui/tools/smoke-w14.mjs:423–427  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

421 await context.route(`${SIDECAR_ORIGIN}/**`, async (route) => {
422 const path = route.request().url().slice(SIDECAR_ORIGIN.length);
423 const json = (body) => route.fulfill({
424 status: 200,
425 contentType: 'application/json',
426 body: JSON.stringify(body),
427 });
428 if (path.startsWith('/health')) return json({ status: 'ok' });
429 if (path.startsWith('/props')) {
430 return json({ model_path: 'models/w14-local-stub.gguf', n_ctx: 4096, total_slots: 1 });

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected