summaryrefslogtreecommitdiffhomepage
path: root/internal/llm
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-02 13:22:59 -0500
committerAdam <[email protected]>2025-05-02 15:24:47 -0500
commit364cf5b429c3dd6952d45c3361765aa3898e6326 (patch)
tree5a4b8e1892e447e00a3aaa27a333ff9f332d9c64 /internal/llm
parentb2f24e38eda018b464def477880e9db5bb51b515 (diff)
downloadopencode-364cf5b429c3dd6952d45c3361765aa3898e6326.tar.gz
opencode-364cf5b429c3dd6952d45c3361765aa3898e6326.zip
feat: write to context.md by default
Diffstat (limited to 'internal/llm')
-rw-r--r--internal/llm/prompt/coder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/llm/prompt/coder.go b/internal/llm/prompt/coder.go
index 7d2c875af..639679328 100644
--- a/internal/llm/prompt/coder.go
+++ b/internal/llm/prompt/coder.go
@@ -81,7 +81,7 @@ If the current working directory contains a file called OpenCode.md, it will be
2. Recording the user's code style preferences (naming conventions, preferred libraries, etc.)
3. Maintaining useful information about the codebase structure and organization
-When you spend time searching for commands to typecheck, lint, build, or test, you should ask the user if it's okay to add those commands to OpenCode.md. Similarly, when learning about code style preferences or important codebase information, ask if it's okay to add that to OpenCode.md so you can remember it for next time.
+When you spend time searching for commands to typecheck, lint, build, or test, you should ask the user if it's okay to add those commands to CONTEXT.md. Similarly, when learning about code style preferences or important codebase information, ask if it's okay to add that to CONTEXT.md so you can remember it for next time.
# Tone and style
You should be concise, direct, and to the point. When you run a non-trivial bash command, you should explain what the command does and why you are running it, to make sure the user understands what you are doing (this is especially important when you are running a command that will make changes to the user's system).