From e26a86f26183b4ad09c2a618ef9bb3207de52206 Mon Sep 17 00:00:00 2001 From: Ashik K Date: Mon, 10 Apr 2023 11:46:22 +0200 Subject: [PATCH] improve the prompt for pro (non-teacher) mode --- smartsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartsh.py b/smartsh.py index b15020a..a4b6840 100755 --- a/smartsh.py +++ b/smartsh.py @@ -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":