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

Function appendAgentImageMemory

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

Source from the content-addressed store, hash-verified

368
369// Append images to agent's image memory
370export async function appendAgentImageMemory(agentId: string, images: string[]): Promise<void> {
371 const existingImages = await getAgentImageMemory(agentId);
372 const updatedImages = [...existingImages, ...images];
373 await updateAgentImageMemory(agentId, updatedImages);
374}
375
376// Clear agent image memory
377export 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