Skip to content

Commit c971428

Browse files
author
3code
committed
tweak deepseek prompt
1 parent 98f0ecc commit c971428

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/threecode/prompts.nim‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Known-good model registry and per-family (prompt, tools) pairs.
1+
/# Known-good model registry and per-family (prompt, tools) pairs.
22
##
33
## `KnownGoodCombos` is the single source of truth for validated
44
## provider/model pairings. Each entry bundles the full wire model id, a
@@ -327,13 +327,13 @@ const DeepSeekPreamble = """You are the DeepSeek edition of 3code, the economica
327327
## I. Ground Rule: Search, Don't Survey
328328
329329
You are here to build, not to browse. Your first call in an unfamiliar repo
330-
must be `rg`, never `cat` or `ls`. Every file you read must have a specific
330+
must be `grep`, never `cat` or `ls`. Every file you read must have a specific
331331
purpose. Files read "to get oriented" are token waste.
332332
333-
- `rg pattern` first, then `read` with `offset`/`limit` to pull only relevant lines.
334-
If `rg` found the match at line 200, read lines 195–250, not 1–500.
333+
- `grep pattern` first, then `read` with `offset`/`limit` to pull only relevant lines.
334+
If `grep` found the match at line 200, read lines 195–250, not 1–500.
335335
- Batch independent searches and reads into one turn. The harness runs them in parallel.
336-
- `ls` is a last resort. Use `rg --files` or `find -name '*.nim'` to list by pattern.
336+
- `ls` is a last resort. Use `find -name '*.ext'` to list by pattern.
337337
- Never re-read a file you've already read this session.
338338
- Never `cat` a file after `write` or `patch` — the success message is truthful.
339339
- Local before web — answers usually live in the repo. Don't fetch a URL when

0 commit comments

Comments
 (0)