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