improve prompts
This commit is contained in:
parent
cc63bf0bae
commit
267f10c734
|
|
@ -142,7 +142,6 @@ def get_research_tools(research_only: bool = False, expert_enabled: bool = True)
|
|||
# Start with read-only tools
|
||||
tools = READ_ONLY_TOOLS.copy()
|
||||
|
||||
# Add research tools except run_shell_command
|
||||
tools.extend(RESEARCH_TOOLS)
|
||||
|
||||
# Add modification tools if not research_only
|
||||
|
|
|
|||
|
|
@ -19,7 +19,11 @@ class RunProgrammingTaskInput(BaseModel):
|
|||
|
||||
@tool
|
||||
def run_programming_task(input: RunProgrammingTaskInput) -> Dict[str, Union[str, int, bool]]:
|
||||
"""Execute a programming task using Aider.
|
||||
"""Assigns a programming task to a human programmer.
|
||||
|
||||
Before invoking this tool, make sure all existing related files have been emitted using the emit_related_files tool.
|
||||
|
||||
The programmer cannot see files you have seen and only can see what you explicitly give it.
|
||||
|
||||
Be very detailed in your instructions, but do not write the full code for the programmer, as that's the job of the programmer.
|
||||
|
||||
|
|
@ -27,8 +31,6 @@ def run_programming_task(input: RunProgrammingTaskInput) -> Dict[str, Union[str,
|
|||
|
||||
If any new files are created, remember to emit them using the emit_related_files tool once this tool completes.
|
||||
|
||||
Additionally, before invoking this tool, make sure all existing related files have been emitted using the emit_related_files tool.
|
||||
|
||||
The programmer can add or modify files, but cannot remove them. Use the run_shell_command tool to remove files.
|
||||
If you need the programmer to reference files you intend to delete, delete them after the programmer finises their work.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue