From 2c95c10343548a1aefca23ea2ea63d0dcedd15d1 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Mon, 23 Dec 2024 12:01:53 +0100 Subject: [PATCH] fix: Explicitly prompt for goal in conversation summary --- src/agent/conversation_summarizer.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/agent/conversation_summarizer.rs b/src/agent/conversation_summarizer.rs index 387361ea..25c3989d 100644 --- a/src/agent/conversation_summarizer.rs +++ b/src/agent/conversation_summarizer.rs @@ -99,7 +99,7 @@ impl ConversationSummarizer { * Be extra detailed on the last step taken * Provide clear instructions on how to proceed. If applicable, include the tools that should be used. - * Identify the goal the user wanted to achieve and clearly restate it + * Identify the bigger goal the user wanted to achieve and clearly restate it ## Available tools {available_tools} @@ -112,6 +112,9 @@ impl ConversationSummarizer { ``` # Summary + ## Your goal + + ## Previously you did * * You tried to run the tests but they failed. Here is why <...>