MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / compactMemoryText

Function compactMemoryText

src/server.js:2619–2624  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

2617}
2618
2619function compactMemoryText(text) {
2620 return String(text || "")
2621 .replace(/\s+/g, " ")
2622 .trim()
2623 .slice(0, 220);
2624}
2625
2626function getQqPersonaGroup(groupId) {
2627 if (!groupId) return null;

Callers 3

rememberQqExchangeFunction · 0.85
rememberQqGroupMessageFunction · 0.85
updateQqPersonaFromEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected