MCPcopy Create free account
hub / github.com/Roy3838/Observer / appendAgentImageMemory

Function appendAgentImageMemory

app/src/utils/agent_database.ts:375–379  ·  view source on GitHub ↗
(agentId: string, images: string[])

Source from the content-addressed store, hash-verified

373
374// Append images to agent's image memory
375export async function appendAgentImageMemory(agentId: string, images: string[]): Promise<void> {
376 const existingImages = await getAgentImageMemory(agentId);
377 const updatedImages = [...existingImages, ...images];
378 await updateAgentImageMemory(agentId, updatedImages);
379}
380
381// Clear agent image memory
382export async function clearAgentImageMemory(agentId: string): Promise<void> {

Callers 1

handleUploadImageFunction · 0.90

Calls 2

getAgentImageMemoryFunction · 0.85
updateAgentImageMemoryFunction · 0.85

Tested by

no test coverage detected