From 7942c95229148eb24cae4e27de4417fae3dc8c41 Mon Sep 17 00:00:00 2001 From: Ashik K Date: Mon, 10 Apr 2023 10:50:49 +0200 Subject: [PATCH] rename DONT_WARN to SILENT_MODE --- smartsh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smartsh.py b/smartsh.py index e16c508..611ab8c 100755 --- a/smartsh.py +++ b/smartsh.py @@ -10,7 +10,7 @@ if openai.api_key is None: sys.exit(1) api_model = os.environ.get("OPENAI_MODEL_ID") -smarsh_dont_warn = os.environ.get("SMARTSH_DONT_WARN") == "1" +smarsh_dont_warn = os.environ.get("SMARTSH_SILENT_MODE") == "1" if api_model is None: api_model = "gpt-3.5-turbo" if smarsh_dont_warn != True: @@ -76,4 +76,4 @@ if is_in_teacher_mode == False and apioutput is not None: else: print("Command not executed") else: - print(apioutput) + print(apioutput)