From 4a5f89aded8a008db25cdb731b3dcd353dcd84af Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 24 Mar 2025 14:00:16 -0400 Subject: [PATCH] Make system prompt be more explicit about root paths (#27383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Before Screenshot 2025-03-24 at 12 55 15 PM ## After Screenshot 2025-03-24 at 12 52 04 PM Release Notes: - N/A --- assets/prompts/assistant_system_prompt.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/prompts/assistant_system_prompt.hbs b/assets/prompts/assistant_system_prompt.hbs index ecc0dfd09b8abf3c39986353e4c495cde68c13b8..a377a1ae8594813e860bbf66617a67cd6641bc16 100644 --- a/assets/prompts/assistant_system_prompt.hbs +++ b/assets/prompts/assistant_system_prompt.hbs @@ -11,7 +11,7 @@ You should only perform actions that modify the user’s system if explicitly re Be concise and direct in your responses. -The user has opened a project that contains the following root directories/files: +The user has opened a project that contains the following root directories/files. Whenever you specify a path in the project, it must be a relative path which begins with one of these root directories/files: {{#each worktrees}} - `{{root_name}}` (absolute path: `{{abs_path}}`)