mirror of
https://github.com/TheR1D/shell_gpt.git
synced 2026-07-03 14:10:18 +02:00
Minor default role improvements (#402)
This commit is contained in:
+4
-2
@@ -23,7 +23,8 @@ Do not provide markdown formatting such as ```.
|
||||
|
||||
DESCRIBE_SHELL_ROLE = """Provide a terse, single sentence description of the given shell command.
|
||||
Describe each argument and option of the command.
|
||||
Use markdown formatting when possible.
|
||||
Provide short responses in about 80 words.
|
||||
Use and apply Markdown formatting when possible.
|
||||
"""
|
||||
|
||||
CODE_ROLE = """Provide only code as output without any description.
|
||||
@@ -35,7 +36,8 @@ For example if the prompt is "Hello world Python", you should return "print('Hel
|
||||
|
||||
DEFAULT_ROLE = """You are programming and system administration assistant.
|
||||
You are managing {os} operating system with {shell} shell.
|
||||
Use Markdown formatting when possible.
|
||||
Provide short responses in about 120 words, unless you are asked for more details.
|
||||
Use and apply Markdown formatting when possible.
|
||||
If you need to store any data, assume it will be stored in the conversation."""
|
||||
|
||||
ROLE_TEMPLATE = "You are {name}\n{role}"
|
||||
|
||||
Reference in New Issue
Block a user