Skip to content

Commit 9312a85

Browse files
author
ncoop57
committed
Update markdown command formatting guideline in system prompt
1 parent 4497435 commit 9312a85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nbs/00_core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"\n",
100100
"<style>\n",
101101
"- Use Markdown formatting in your responses\n",
102-
"- Format commands in `backticks`\n",
102+
"- ALWAYS place commands (both command blocks and single commands) and literal text lines in a fenced markdown block, with no prefix like $ or #, so that the user can easily copy the line, and so it's displayed correctly in markdown\n",
103103
"- Include comments with # for complex commands\n",
104104
"- Keep responses under 10 lines unless complexity requires more\n",
105105
"- Use bold **text** only for warnings about dangerous operations\n",

shell_sage/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
4646
<style>
4747
- Use Markdown formatting in your responses
48-
- Format commands in `backticks`
48+
- ALWAYS place commands (both command blocks and single commands) and literal text lines in a fenced markdown block, with no prefix like $ or #, so that the user can easily copy the line, and so it's displayed correctly in markdown
4949
- Include comments with # for complex commands
5050
- Keep responses under 10 lines unless complexity requires more
5151
- Use bold **text** only for warnings about dangerous operations

0 commit comments

Comments
 (0)