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

Method compress

src/types.ts:154–154  ·  view source on GitHub ↗
(systemPrompt: string, userPrompt: string)

Source from the content-addressed store, hash-verified

152export interface MemoryProvider {
153 name: string;
154 compress(systemPrompt: string, userPrompt: string): Promise<string>;
155 summarize(systemPrompt: string, userPrompt: string): Promise<string>;
156 describeImage?(imageData: string, mimeType: string, prompt: string): Promise<string>;
157}

Callers 12

compressMethod · 0.65
compressMethod · 0.65
compressWithRetryFunction · 0.65
registerGraphFunctionFunction · 0.65

Implementers 8

AnthropicProvidersrc/providers/anthropic.ts
OpenAIProvidersrc/providers/openai.ts
AgentSDKProvidersrc/providers/agent-sdk.ts
FallbackChainProvidersrc/providers/fallback-chain.ts
ResilientProvidersrc/providers/resilient.ts
OpenRouterProvidersrc/providers/openrouter.ts
NoopProvidersrc/providers/noop.ts
MinimaxProvidersrc/providers/minimax.ts

Calls

no outgoing calls

Tested by

no test coverage detected