Merge pull request #1011 from cryptidv/redis-logging

Improved logging on connection fail to a Memory Backend
This commit is contained in:
Pi
2023-04-13 15:47:41 +01:00
committed by GitHub
3 changed files with 29 additions and 1 deletions

View File

@@ -124,6 +124,12 @@ class Logger(metaclass=Singleton):
self.logger.setLevel(level)
self.typing_logger.setLevel(level)
def double_check(self, additionalText=None):
if not additionalText:
additionalText = "Please ensure you've setup and configured everything correctly. Read https://github.com/Torantulino/Auto-GPT#readme to double check. You can also create a github issue or join the discord and ask there!"
self.typewriter_log("DOUBLE CHECK CONFIGURATION", Fore.YELLOW, additionalText)
'''
Output stream to console using simulated typing