diff --git a/autogpt/utils.py b/autogpt/utils.py index e93d5ac7..1b4fa204 100644 --- a/autogpt/utils.py +++ b/autogpt/utils.py @@ -5,6 +5,12 @@ import yaml from colorama import Fore from git import Repo +# Use readline if available (for clean_input) +try: + import readline +except: + pass + def clean_input(prompt: str = ""): try: