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

Method triggerPostTurnMemoryExtraction

chat/app.js:4070–4076  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

4068 this.showToast('No active session to share', 'error');
4069 return null;
4070 }
4071
4072 const messages = await chatDB.getSessionMessages(session.id);
4073 if (messages.length === 0) {
4074 this.showToast('Cannot share empty chat', 'error');
4075 return null;
4076 }
4077
4078 const isUpdate = !!session.shareInfo?.shareId;
4079

Callers 2

regenerateResponseMethod · 0.95
sendMessageMethod · 0.95

Calls 1

Tested by

no test coverage detected