Skip to content

Commit 4f3d79f

Browse files
committed
add prompting for multiline terminal commands on windows
1 parent 74b7758 commit 4f3d79f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

backend/src/system-prompt/prompts.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,13 @@ When the user requests a new git commit, please follow these steps closely:
289289
EOF
290290
)"
291291
\`\`\`
292+
(Make sure to end each line with ^ on Windows:)
293+
\`\`\`
294+
git commit -m "Your commit message here.^
295+
^
296+
🤖 Generated with Codebuff^
297+
Co-Authored-By: Codebuff <noreply@codebuff.com>"
298+
\`\`\`
292299
293300
**Important details**
294301

0 commit comments

Comments
 (0)