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

Function isMemoryAuthError

chat/services/memoryBridge.js:66–71  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

64 session.memoryKeyInfo = null;
65}
66
67export function isMemoryAuthError(error) {
68 if (!error) return false;
69 const status = getMemoryRetrievalErrorStatus(error);
70 if (status === 401 || status === 403) return true;
71 const message = String(error.message || error);
72 return message.includes('401') || message.includes('403');
73}
74

Callers 3

runMemoryAugmentFlowMethod · 0.90
_startBackfillMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected