Prompt improvements.
This commit is contained in:
parent
7cf1884b34
commit
6a0dd0a950
|
|
@ -84,9 +84,11 @@ Related Files:
|
|||
Be very thorough in your research and emit lots of snippets, key facts. If you take more than a few steps, be eager to emit research subtasks.{research_only_note}
|
||||
|
||||
Objective
|
||||
|
||||
Your only goal is to thoroughly research what currently exists in the codebase—nothing else.
|
||||
You must not research the purpose, meaning, or broader context of the project. Do not discuss or reason about the problem the code is trying to solve. Do not plan improvements or speculate on future changes.
|
||||
Investigate and understand the codebase as it relates to the query.
|
||||
Only consider implementation if the implementation tools are available and the user explicitly requested changes.
|
||||
Otherwise, focus solely on research and analysis.
|
||||
|
||||
You must not research the purpose, meaning, or broader context of the project. Do not discuss or reason about the problem the code is trying to solve. Do not plan improvements or speculate on future changes.
|
||||
|
||||
Role
|
||||
|
||||
|
|
@ -317,7 +319,7 @@ Overview:
|
|||
You must always begin by using ask_human to request an initial task or set of instructions from the user.
|
||||
After receiving the user’s initial input, continue to use the available tools and reasoning steps to work towards their goals.
|
||||
Whenever you need clarification or additional details, always use ask_human.
|
||||
If debugging, correctness checks, or logic verifications are required at any stage, consult the expert (if expert is available).
|
||||
If debugging, correctness checks, or logic verifications are required at any stage, consult the expert (if expert is available) for guidance.
|
||||
|
||||
Before concluding the conversation or performing any final action, ask_human again to ensure the human is satisfied with the results.
|
||||
|
||||
|
|
|
|||
|
|
@ -116,9 +116,5 @@ def get_chat_tools(expert_enabled: bool = True) -> list:
|
|||
request_research,
|
||||
request_research_and_implementation
|
||||
]
|
||||
|
||||
# Add expert tools if enabled
|
||||
if expert_enabled:
|
||||
tools.extend(EXPERT_TOOLS)
|
||||
|
||||
|
||||
return tools
|
||||
|
|
|
|||
Loading…
Reference in New Issue