diff --git a/installer/client/cli/utils.py b/installer/client/cli/utils.py index 5d45a7b..3f1a04a 100644 --- a/installer/client/cli/utils.py +++ b/installer/client/cli/utils.py @@ -430,8 +430,8 @@ class Setup: openaiapikey = os.environ["OPENAI_API_KEY"] self.openaiapi_key = openaiapikey except KeyError: - print("OPENAI_API_KEY not found in environment variables.") - sys.exit() + print("OPENAI_API_KEY not found in environment variables. ") + self.run() self.fetch_available_models() def fetch_available_models(self):