Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

replace deprecated function with current equivalent

WalterSumbon4c7eef550a4c
diff --git a/scripts/main.py b/scripts/main.py
index 81f560b216..5b84bd70e5 100644
--- a/scripts/main.py
+++ b/scripts/main.py
@@ -310,8 +310,8 @@ def parse_arguments():
supported_memory = get_supported_memory_backends()
chosen = args.memory_type
if not chosen in supported_memory:
- print_to_console("ONLY THE FOLLOWING MEMORY BACKENDS ARE SUPPORTED: ", Fore.RED, f'{supported_memory}')
- print_to_console(f"Defaulting to: ", Fore.YELLOW, cfg.memory_backend)
+ logger.typewriter_log("ONLY THE FOLLOWING MEMORY BACKENDS ARE SUPPORTED: ", Fore.RED, f'{supported_memory}')
+ logger.typewriter_log(f"Defaulting to: ", Fore.YELLOW, cfg.memory_backend)
else:
cfg.memory_backend = chosen