Merge pull request #888 from chozzz/bugfix

Bugfix for #803 - Debug mode
This commit is contained in:
Richard Beales
2023-04-12 10:06:04 +01:00
committed by GitHub

View File

@@ -266,6 +266,7 @@ def prompt_user():
def parse_arguments():
"""Parses the arguments passed to the script"""
global cfg
cfg.set_debug_mode(False)
cfg.set_continuous_mode(False)
cfg.set_speak_mode(False)
@@ -297,6 +298,9 @@ def parse_arguments():
print_to_console("GPT4 Only Mode: ", Fore.GREEN, "ENABLED")
cfg.set_fast_llm_model(cfg.smart_llm_model)
if args.debug:
print_to_console("Debug Mode: ", Fore.GREEN, "ENABLED")
cfg.set_debug_mode(True)
# TODO: fill in llm values here