MCPcopy
hub / github.com/rohitg00/agentmemory / compress

Method compress

src/providers/fallback-chain.ts:10–12  ·  view source on GitHub ↗
(systemPrompt: string, userPrompt: string)

Source from the content-addressed store, hash-verified

8 }
9
10 async compress(systemPrompt: string, userPrompt: string): Promise<string> {
11 return this.tryAll((p) => p.compress(systemPrompt, userPrompt));
12 }
13
14 async summarize(systemPrompt: string, userPrompt: string): Promise<string> {
15 return this.tryAll((p) => p.summarize(systemPrompt, userPrompt));

Callers

nothing calls this directly

Calls 2

tryAllMethod · 0.95
compressMethod · 0.65

Tested by

no test coverage detected