MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / stripMemoryPromptUserData

Function stripMemoryPromptUserData

chat/services/memoryBridge.js:73–77  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

71 const message = String(error.message || error);
72 return message.includes('401') || message.includes('403');
73}
74
75export function stripMemoryPromptUserData(text) {
76 return String(text || '')
77 .replace(/\[\[user_data\]\]/g, '')
78 .replace(/\[\[\/user_data\]\]/g, '');
79}
80

Callers 2

runMemoryAugmentFlowMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected