From 04dcffec62b987a3b122d0c9462dae2d4d702052 Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Mon, 13 Jan 2025 11:17:10 +1100 Subject: [PATCH] improve --- packages/core/src/core/chain-of-thought.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/core/chain-of-thought.ts b/packages/core/src/core/chain-of-thought.ts index eb05b3da..f31b31cb 100644 --- a/packages/core/src/core/chain-of-thought.ts +++ b/packages/core/src/core/chain-of-thought.ts @@ -474,7 +474,7 @@ export class ChainOfThought extends EventEmitter { ${JSON.stringify(this.context, null, 2)} Recent Steps: - ${JSON.stringify(this.stepManager.getSteps().slice(-5), null, 2)} + ${JSON.stringify(this.stepManager.getSteps().slice(-10), null, 2)} Based on the success criteria and current context, has this goal been achieved? Return only a JSON object with: { "success": boolean, "reason": string }