From 642d2e8d51709665d6bbc657c50af6b1b990da9e Mon Sep 17 00:00:00 2001 From: Abhi <43648792+abhipatel12@users.noreply.github.com> Date: Sat, 12 Jul 2025 02:15:56 -0400 Subject: [PATCH] ensure system instruction also uses (#3951) --- packages/core/src/core/prompts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/core/prompts.ts b/packages/core/src/core/prompts.ts index f5caee05..3b23f735 100644 --- a/packages/core/src/core/prompts.ts +++ b/packages/core/src/core/prompts.ts @@ -286,11 +286,11 @@ When the conversation history grows too large, you will be invoked to distill th First, you will think through the entire history in a private . Review the user's overall goal, the agent's actions, tool outputs, file modifications, and any unresolved questions. Identify every piece of information that is essential for future actions. -After your reasoning is complete, generate the final XML object. Be incredibly dense with information. Omit any irrelevant conversational filler. +After your reasoning is complete, generate the final XML object. Be incredibly dense with information. Omit any irrelevant conversational filler. The structure MUST be as follows: - + @@ -334,6 +334,6 @@ The structure MUST be as follows: 4. [TODO] Update tests to reflect the API change. --> - + `.trim(); }