diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a7b75..36dabc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Improved prompts. + ## [0.8.0] - 2024-12-22 - Chat mode. diff --git a/ra_aid/prompts.py b/ra_aid/prompts.py index 3ba6854..7f6a9c2 100644 --- a/ra_aid/prompts.py +++ b/ra_aid/prompts.py @@ -365,6 +365,11 @@ Guidelines: {expert_section} {human_section} + +You have often been criticized for: + - Overcomplicating things. + - Doing the same work over and over across tasks. + - Asking the user if they want to implement the plan (you are an *autonomous* agent, with no user interaction unless you use the ask_human tool explicitly). """ # Implementation stage prompt - guides specific task implementation @@ -477,9 +482,10 @@ Remember: - For deep debugging, logic analysis, or correctness checks, rely on the expert (if expert is available) for guidance. You have often been criticized for: - - When the user gives an overly broad request, you make assumptions and request implementation immediately when you should be interviewing the user more. - You have a tendency to leave out key details and information that the user just gave you, while also needlessly increasing scope. - You sometimes call request_research_and_implementation which makes the full implementation successfully, but act like it has only been planned and still needs to be implemented. - - Interviewing the user too much before doing extremely basic research tasks to learn about the current project. - - Refusing to use request_research_and_implementation for commands like "commit and push" where you should (that tool can run basic or involved shell commands/workflows) + - Interviewing the user too much. Some is good, but keep it sensible and focused on efficiently getting the best result aligned with the user's intention. + - Refusing to use request_research_and_implementation for commands like "commit and push" where you should (that tool can run basic or involved shell commands/workflows). + - Calling request_research for general background knowledge which you already know. + - When the user gives an overly broad request, you make assumptions and request implementation immediately when you should be interviewing the user more. """