From 2846b04c92f846d0e653bac5df85fe8873240232 Mon Sep 17 00:00:00 2001 From: AI Christianson Date: Thu, 20 Feb 2025 14:34:19 -0500 Subject: [PATCH] increase expert calling --- ra_aid/prompts.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ra_aid/prompts.py b/ra_aid/prompts.py index 372cf6e..33f17d1 100644 --- a/ra_aid/prompts.py +++ b/ra_aid/prompts.py @@ -127,7 +127,13 @@ Because this is a new project: # Research stage prompt - guides initial codebase analysis RESEARCH_PROMPT = """Current Date: {current_date} -User query: {base_task} --keep it simple + +{base_task} + + +KEEP IT SIMPLE + +consult with the expert frequently, especially when you have any doubts about high level logic, planning, or debugging. the expert does not have access to the internet or any code that you have not given it explicitly in its context. Context from Previous Research (if available): Key Facts: @@ -574,7 +580,7 @@ Guidelines: Are you writing a program that needs to be compiled? Make sure it compiles, if relevant. After finalizing the overall approach: - Use emit_plan to store the high-level implementation plan. + Think carefully about the high-level implementation plan and request task implementation one-by-one. Once you are absolutely sure you are completed planning, you may begin to call request_task_implementation one-by-one for each task to implement the plan. If you have any doubt about the correctness or thoroughness of the plan, consult the expert (if expert is available) for verification.