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.
Update ai_functions.py
Andres Caicedo27bf7c47e98a
diff --git a/scripts/ai_functions.py b/scripts/ai_functions.pyindex eb524b9b7c..f93d7ea693 100644--- a/scripts/ai_functions.py+++ b/scripts/ai_functions.py@@ -6,7 +6,6 @@ from json_parser import fix_and_parse_jsoncfg = Config()# Evaluating code-def evaluate_code(code: str) -> List[str]:"""Evaluates the given code and returns a list of suggestions for improvements."""function_string = "def analyze_code(code: str) -> List[str]:"@@ -19,7 +18,6 @@ def evaluate_code(code: str) -> List[str]:# Improving code-def improve_code(suggestions: List[str], code: str) -> str:"""Improves the provided code based on the suggestions provided, making no other changes."""function_string = (@@ -33,8 +31,6 @@ def improve_code(suggestions: List[str], code: str) -> str:# Writing tests--def write_tests(code: str, focus: List[str]) -> str:"""Generates test cases for the existing code, focusing on specific areas if required."""function_string = (