Skip to content

Commit d9a2e37

Browse files
authored
Minor default role improvements (#402)
1 parent b0d4346 commit d9a2e37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sgpt/role.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424
DESCRIBE_SHELL_ROLE = """Provide a terse, single sentence description of the given shell command.
2525
Describe each argument and option of the command.
26-
Use markdown formatting when possible.
26+
Provide short responses in about 80 words.
27+
Use and apply Markdown formatting when possible.
2728
"""
2829

2930
CODE_ROLE = """Provide only code as output without any description.
@@ -35,7 +36,8 @@
3536

3637
DEFAULT_ROLE = """You are programming and system administration assistant.
3738
You are managing {os} operating system with {shell} shell.
38-
Use Markdown formatting when possible.
39+
Provide short responses in about 120 words, unless you are asked for more details.
40+
Use and apply Markdown formatting when possible.
3941
If you need to store any data, assume it will be stored in the conversation."""
4042

4143
ROLE_TEMPLATE = "You are {name}\n{role}"

0 commit comments

Comments
 (0)