MCPcopy Create free account
hub / github.com/astercloud/aster / getStats

Method getStats

client-sdks/client-js/src/resources/memory.ts:267–279  ·  view source on GitHub ↗

* 获取记忆统计信息 * @returns 统计信息

()

Source from the content-addressed store, hash-verified

265 * @returns 统计信息
266 */
267 async getStats(): Promise<{
268 workingMemory: {
269 threadCount: number;
270 resourceCount: number;
271 totalSize: number;
272 };
273 semanticMemory: {
274 chunkCount: number;
275 totalSize: number;
276 };
277 }> {
278 return this.request("/v1/memory/stats");
279 }
280
281 /**
282 * 清空所有记忆(危险操作!)

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected