diff --git a/scripts/ai_functions.py b/scripts/ai_functions.py index 0d27132dfe41..05aa93a2da29 100644 --- a/scripts/ai_functions.py +++ b/scripts/ai_functions.py @@ -13,7 +13,8 @@ def evaluate_code(code: str) -> List[str]: description_string = """Analyzes the given code and returns a list of suggestions for improvements.""" result_string = call_ai_function(function_string, args, description_string) - return fix_and_parse_json.loads(result_string) + + return result_string # Improving code