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/knowledge.ts b/packages/core/src/knowledge.ts index 50d4e82d47..ee7a4f7589 100644 --- a/packages/core/src/knowledge.ts +++ b/packages/core/src/knowledge.ts @@ -23,7 +23,7 @@ async function get(runtime: AgentRuntime, message: Memory): Promise { elizaLogger.log( - `Matched fragment: ${memory.content.text} with similarity: ${message.similarity}` + `Matched fragment: ${memory.content.text} with similarity: ${memory.similarity}` ); return memory.content.source; }) 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(