rename DONT_WARN to SILENT_MODE

This commit is contained in:
Ashik K 2023-04-10 10:50:49 +02:00
parent e061d198de
commit 7942c95229
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ if openai.api_key is None:
sys.exit(1) sys.exit(1)
api_model = os.environ.get("OPENAI_MODEL_ID") 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: if api_model is None:
api_model = "gpt-3.5-turbo" api_model = "gpt-3.5-turbo"
if smarsh_dont_warn != True: if smarsh_dont_warn != True: