inital commit

This commit is contained in:
timothycarambat
2023-06-03 19:28:07 -07:00
commit 27c58541bd
100 changed files with 5394 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
const { WorkspaceChats } = require("../../../models/workspaceChats");
async function resetMemory(workspace, _message, msgUUID) {
await WorkspaceChats.markHistoryInvalid(workspace.id);
return {
uuid: msgUUID,
type: 'textResponse',
textResponse: 'Workspace chat memory was reset!',
sources: [],
close: true,
error: false,
};
}
module.exports = {
resetMemory
}