From ae5023596497170752b9bd26844e68549d1fe8e4 Mon Sep 17 00:00:00 2001 From: Beatrix Date: Thu, 5 Dec 2024 12:36:29 -0800 Subject: [PATCH] left over --- vscode/src/chat/agentic/CodyChatMemory.ts | 2 +- vscode/src/chat/agentic/CodyTool.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/vscode/src/chat/agentic/CodyChatMemory.ts b/vscode/src/chat/agentic/CodyChatMemory.ts index 47648a0c807c..033ac4a556a3 100644 --- a/vscode/src/chat/agentic/CodyChatMemory.ts +++ b/vscode/src/chat/agentic/CodyChatMemory.ts @@ -79,7 +79,7 @@ export class CodyChatMemory { } export const CHAT_MEMORY_CONTEXT_TEMPLATE = `# Chat Memory -Here are the notes you made about the user (me) from previous chat: +Here are the notes you made about me (user) from previous chat: {memoryItems}` function populateMemoryContent(memoryMap: Map): string { diff --git a/vscode/src/chat/agentic/CodyTool.ts b/vscode/src/chat/agentic/CodyTool.ts index 10034ec70441..c7b1868325fe 100644 --- a/vscode/src/chat/agentic/CodyTool.ts +++ b/vscode/src/chat/agentic/CodyTool.ts @@ -289,10 +289,6 @@ class MemoryTool extends CodyTool { if (memory === 'GET') { return } - if (memory.startsWith('REMOVE')) { - CodyChatMemory.reset() - return - } CodyChatMemory.load(memory) logDebug('Cody Memory', 'added', { verbose: memory }) }