diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-03 20:30:30 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-03 20:30:30 +0200 |
| commit | f8e05a0d9a42139b442437b26c752cf983c51e2a (patch) | |
| tree | 5c58986d485033b485a52b504583eeb7b1eff672 /internal/llm/prompt/coder.go | |
| parent | 49b593d9ddbe278358b30dcde444932172bea615 (diff) | |
| download | opencode-f8e05a0d9a42139b442437b26c752cf983c51e2a.tar.gz opencode-f8e05a0d9a42139b442437b26c752cf983c51e2a.zip | |
small improvements to the prompt
Diffstat (limited to 'internal/llm/prompt/coder.go')
| -rw-r--r-- | internal/llm/prompt/coder.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/llm/prompt/coder.go b/internal/llm/prompt/coder.go index 27bb7e431..47941f976 100644 --- a/internal/llm/prompt/coder.go +++ b/internal/llm/prompt/coder.go @@ -212,8 +212,9 @@ func lspInformation() string { } return `# LSP Information Tools that support it will also include useful diagnostics such as linting and typechecking. -These diagnostics will be automatically enabled when you run the tool, and will be displayed in the output at the bottom within the <file_diagnostics></file_diagnostics> and <project_diagnostics></project_diagnostics> tags. -Take necessary actions to fix the issues. +- These diagnostics will be automatically enabled when you run the tool, and will be displayed in the output at the bottom within the <file_diagnostics></file_diagnostics> and <project_diagnostics></project_diagnostics> tags. +- Take necessary actions to fix the issues. +- You should ignore diagnostics of files that you did not change or are not related or caused by your changes unless the user explicitly asks you to fix them. ` } |
