Skip to content

Commit

Permalink
fix: Explicitly prompt for goal in conversation summary
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Dec 23, 2024
1 parent 5614667 commit 2c95c10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/agent/conversation_summarizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -112,6 +112,9 @@ impl ConversationSummarizer {
```
# Summary
## Your goal
<Your goal>
## Previously you did
* <concise summary of each step>
* You tried to run the tests but they failed. Here is why <...>
Expand Down

0 comments on commit 2c95c10

Please sign in to comment.