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

Method cloneMessageFiles

chat/app.js:6540–6544  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

6538 * @returns {boolean}
6539 */
6540 hasScrubberContext(messages) {
6541 if (!Array.isArray(messages)) return false;
6542 return messages.some(msg => (
6543 msg?.scrubber?.original ||
6544 msg?.scrubber?.redacted ||
6545 msg?.scrubber?.originalPrompt ||
6546 msg?.scrubber?.redactedPrompt
6547 ));

Callers 2

enterEditModeMethod · 0.95
confirmEditPromptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected