improve the prompt for pro (non-teacher) mode

This commit is contained in:
Ashik K 2023-04-10 11:46:22 +02:00
parent f8d599bfa2
commit e26a86f261
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ prompttxt = ""
if is_in_teacher_mode:
prompttxt = "You suggest a valid shell command to accomplish the following, together with an explanation: " + argcmd
else:
prompttxt = "You suggest a valid and correct {os.environ.get('SHELL')} command to accomplish the following, without any further explanation or additional text: " + argcmd
prompttxt = "You suggest a valid and correct {os.environ.get('SHELL')} command to accomplish the following. You shal not provide any further explanation or additional text: " + argcmd
completion = None
apioutput = None
if api_model == "text-davinci-003":