Merge pull request #786 from kinance/kiannce-remove-duplicate-debug-mode

Remove duplicates of set debug mode func
This commit is contained in:
Toran Bruce Richards
2023-04-11 12:31:44 +01:00
committed by GitHub
2 changed files with 0 additions and 7 deletions

View File

@@ -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

View File

@@ -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)