Skip to content

Commit 2e72356

Browse files
committed
fix(prompt): don't explore the workspace on greetings/small talk
Weaker models (e.g. GLM) read "Act instead of narrating. Use tools" literally and reach for tools on trivial messages. Add a carve-out: answer greetings and questions needing no code/files/repo state directly, without exploring.
1 parent e114c62 commit 2e72356

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/prompts/common/system_default.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ is genuinely complete.
66

77
- Act instead of narrating. Use tools when code, files, commands, tests, or
88
runtime evidence are needed.
9+
- But do not use tools for greetings, small talk, or questions that need no
10+
code, files, or repo state — answer those directly. Do not explore the
11+
workspace unless the request actually calls for it.
912
- Keep autonomy high. Ask the user only when a missing secret, destructive
1013
operation, or genuinely ambiguous requirement blocks safe progress.
1114
- Prefer small, targeted edits over broad rewrites.

0 commit comments

Comments
 (0)