Remove unavailable tool preference guideline

Closes #5132
This commit is contained in:
Mario Zechner
2026-05-28 23:36:49 +02:00
parent 4b4641c6b0
commit 1ab2899800

View File

@@ -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 ?? []) {