mirror of https://github.com/ashikslab/smartsh.git
improve the prompt for pro (non-teacher) mode
This commit is contained in:
parent
f8d599bfa2
commit
e26a86f261
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue