From adb6a7efbb0fcd42a5696976fd2602c25ad58452 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Fri, 6 Sep 2024 13:25:49 +0200 Subject: [PATCH] feat(agent): update runner memory setting --- src/agents/bee/runner.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agents/bee/runner.ts b/src/agents/bee/runner.ts index f0fa7383..ea11fd51 100644 --- a/src/agents/bee/runner.ts +++ b/src/agents/bee/runner.ts @@ -74,6 +74,7 @@ export class BeeAgentRunner { const memory = new TokenMemory({ llm: input.llm, capacityThreshold: 0.85, + syncThreshold: 0.5, handlers: { removalSelector(curMessages) { // First we remove messages from the past conversations