From b06974904c5ce48da1681ef2d8a362cde59e90de Mon Sep 17 00:00:00 2001 From: kinance Date: Tue, 11 Apr 2023 19:26:23 +0900 Subject: [PATCH] Remove duplicates of set debug mode func --- scripts/config.py | 3 --- scripts/main.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index 27cc946cf0..c9a285ac2c 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -89,9 +89,6 @@ class Config(metaclass=Singleton): """Set the speak mode value.""" self.speak_mode = value - def set_debug_mode(self, value: bool): - self.debug_mode = value - def set_fast_llm_model(self, value: str): """Set the fast LLM model value.""" self.fast_llm_model = value diff --git a/scripts/main.py b/scripts/main.py index 8661bfad14..6afcdf55b6 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -288,10 +288,6 @@ def parse_arguments(): print_to_console("Speak Mode: ", Fore.GREEN, "ENABLED") cfg.set_speak_mode(True) - if args.debug: - print_to_console("Debug Mode: ", Fore.GREEN, "ENABLED") - cfg.set_debug_mode(True) - if args.gpt3only: print_to_console("GPT3.5 Only Mode: ", Fore.GREEN, "ENABLED") cfg.set_smart_llm_model(cfg.fast_llm_model)