RA.Aid/ra_aid/prompts/reasoning_assist_prompt.py

70 lines
1.6 KiB
Python

"""Reasoning assist prompts for planning and implementation stages."""
REASONING_ASSIST_PROMPT_PLANNING = """Current Date: {current_date}
Working Directory: {working_directory}
<base task>
{base_task}
</base task>
<key facts>
{key_facts}
</key facts>
<key snippets>
{key_snippets}
</key snippets>
<research notes>
{research_notes}
</research notes>
<related files>
{related_files}
</related files>
<environment information>
{env_inv}
</environment information>
<available tools>
{tool_metadata}
</available tools>
Given the available information, tools, and base task, write a couple paragraphs about how an agentic system might use the available tools to plan the base task, break it down into tasks, and request implementation of those tasks. The agent will not be writing any code at this point, so we should keep it to high level tasks and keep the focus on project planning.
"""
REASONING_ASSIST_PROMPT_IMPLEMENTATION = """Current Date: {current_date}
Working Directory: {working_directory}
<key facts>
{key_facts}
</key facts>
<key snippets>
{key_snippets}
</key snippets>
<research notes>
{research_notes}
</research notes>
<related files>
{related_files}
</related files>
<environment information>
{env_inv}
</environment information>
<available tools>
{tool_metadata}
</available tools>
<task definition>
{task}
</task definition>
Given the available information, tools, and base task, write a couple paragraphs about how an agentic system might use the available tools to implement the given task definition. The agent will be writing code and making changes at this point.
"""