MCPcopy Create free account
hub / github.com/MemTensor/MemOS / json

Method json

packages/memos-core/src/hub/server.ts:1176–1180  ·  view source on GitHub ↗
(res: http.ServerResponse, statusCode: number, body: unknown)

Source from the content-addressed store, hash-verified

1174 }
1175
1176 private json(res: http.ServerResponse, statusCode: number, body: unknown): void {
1177 res.statusCode = statusCode;
1178 res.setHeader("content-type", "application/json");
1179 res.end(JSON.stringify(body));
1180 }
1181}

Callers 15

handleMethod · 0.95
embedMethod · 0.45
completeMethod · 0.45
computeUpdateCheckFunction · 0.45
hubRequestJsonFunction · 0.45
summarizeTaskOpenAIFunction · 0.45
generateTaskTitleOpenAIFunction · 0.45
summarizeOpenAIFunction · 0.45
judgeNewTopicOpenAIFunction · 0.45
classifyTopicOpenAIFunction · 0.45
filterRelevantOpenAIFunction · 0.45

Calls 1

endMethod · 0.80