@@ -112,8 +112,6 @@ export function buildSystemPrompt(options: BuildSystemPromptOptions): string {
|
||||
// File exploration guidelines
|
||||
if (hasBash && !hasGrep && !hasFind && !hasLs) {
|
||||
addGuideline("Use bash for file operations like ls, rg, find");
|
||||
} else if (hasBash && (hasGrep || hasFind || hasLs)) {
|
||||
addGuideline("Prefer grep/find/ls tools over bash for file exploration (faster, respects .gitignore)");
|
||||
}
|
||||
|
||||
for (const guideline of promptGuidelines ?? []) {
|
||||
|
||||
Reference in New Issue
Block a user