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.

Resolve Linter Issues

Eesa Hamzaff094c7ecc58
diff --git a/scripts/main.py b/scripts/main.py
index 59cb565e95..0674db47b6 100644
--- a/scripts/main.py
+++ b/scripts/main.py
@@ -327,19 +327,18 @@ def parse_arguments():
if args.ai_settings_file:
file = args.ai_settings_file
-
+
# Validate file
(validated, message) = utils.validate_yaml_file(file)
if not validated:
logger.typewriter_log("FAILED FILE VALIDATION", Fore.RED, message)
exit(1)
-
+
logger.typewriter_log("Using AI Settings File:", Fore.GREEN, file)
cfg.ai_settings_file = file
cfg.skip_reprompt = True
-
# TODO: fill in llm values here
check_openai_api_key()
parse_arguments()
diff --git a/scripts/utils.py b/scripts/utils.py
index bca8d4a898..2b51c1fce3 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -18,5 +18,5 @@ def validate_yaml_file(file: str):
return (False, f"The file {Fore.CYAN}`{file}`{Fore.RESET} wasn't found")
except yaml.YAMLError as e:
return (False, f"There was an issue while trying to read with your AI Settings file: {e}")
-
- return (True, f"Successfully validated {Fore.CYAN}`{file}`{Fore.RESET}!")
\ No newline at end of file
+
+ return (True, f"Successfully validated {Fore.CYAN}`{file}`{Fore.RESET}!")