From c69d2da88feeba9d3c8cb45ae215adbbcb6e1611 Mon Sep 17 00:00:00 2001 From: yoniebans Date: Tue, 26 Nov 2024 13:30:07 +0000 Subject: [PATCH] added generatedImages folder in agent to gitignore --- agent/.gitignore | 3 ++- packages/core/src/runtime.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/agent/.gitignore b/agent/.gitignore index 118c0e58d4..d0e66465a4 100644 --- a/agent/.gitignore +++ b/agent/.gitignore @@ -4,4 +4,5 @@ .env *.env .env* -/data \ No newline at end of file +/data +/generatedImages \ No newline at end of file diff --git a/packages/core/src/runtime.ts b/packages/core/src/runtime.ts index 3a628d3dfe..7d46a886e6 100644 --- a/packages/core/src/runtime.ts +++ b/packages/core/src/runtime.ts @@ -402,7 +402,7 @@ export class AgentRuntime implements IAgentRuntime { const existingDocument = await this.documentsManager.getMemoryById(knowledgeId); if (existingDocument) { - return; + continue; } console.log(