Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions assets/prompts/assistant_system_prompt.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ You are a highly skilled software engineer with extensive knowledge in many prog

If you are unsure how to fulfill the user's request, gather more information with tool calls and/or clarifying questions.

{{! TODO: If there are files, we should mention it but otherwise omit that fact }}
If appropriate, use tool calls to explore the current project, which contains the following root directories:
If appropriate, use tool calls to explore the current project.
{{#if worktrees}}
It contains the following root directories:

{{#each worktrees}}
- `{{abs_path}}`
{{/each}}

{{/if}}

- Bias towards not asking the user for help if you can find the answer yourself.
- When providing paths to tools, the path should always start with the name of a project root directory listed above.
- Before you read or edit a file, you must first find the full path. DO NOT ever guess a file path!
Expand Down
Loading