mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
Add copilot-instructions.md
to the system prompt custom files search
This adds [.github/copilot-instructions.md](https://code.visualstudio.com/docs/copilot/copilot-customization#_types-of-custom-instructions) to the list of custom files that the system prompt will search for. This file is used to provide instructions to Copilot in VS Code and may be nice to apply when using OpenCode.
This commit is contained in:
parent
2f8d23ec66
commit
35cf2567b8
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ export namespace SystemPrompt {
|
|||
const CUSTOM_FILES = [
|
||||
"AGENTS.md",
|
||||
"CLAUDE.md",
|
||||
path.join(".github", "copilot-instructions.md"),
|
||||
"CONTEXT.md", // deprecated
|
||||
]
|
||||
export async function custom() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue