Skip to content

Commit 14ddd5c

Browse files
committed
docs(config): clarify system prompt behavior in config.lua
- refine explanation for system prompt usage in assistant responses - emphasize file URI scheme for better navigation and tooling integration
1 parent a76bf27 commit 14ddd5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/opencode/config.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ M.defaults = {
200200
on_done_thinking = nil,
201201
on_permission_requested = nil,
202202
},
203-
-- Additional system prompt appended to every message
204-
-- Used to customize assistant behavior (e.g., file reference formatting)
203+
-- Additional system prompt, used to customize assistant behavior (e.g., file reference formatting)
205204
system_prompt = 'When referencing files in your responses, always use the file:// URI scheme (e.g., file://path/to/file.lua or file://path/to/file.lua:42 for a specific line). This helps with navigation and tooling integration.',
206205
}
207206

0 commit comments

Comments
 (0)