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.

Update cassette submodule & fix current_score.json generation (#4601)

merwanehamadi53efa8f6bffa
diff --git a/tests/Auto-GPT-test-cassettes b/tests/Auto-GPT-test-cassettes
index 38ecb0145a..dbea803947 160000
--- a/tests/Auto-GPT-test-cassettes
+++ b/tests/Auto-GPT-test-cassettes
@@ -1 +1 @@
-Subproject commit 38ecb0145aa3a88e2eb5f04a556146614a2882e1
+Subproject commit dbea803947475a53ee764aa4f74f304796f197fc
diff --git a/tests/challenges/utils/build_current_score.py b/tests/challenges/utils/build_current_score.py
index aec125b400..b8e752424d 100644
--- a/tests/challenges/utils/build_current_score.py
+++ b/tests/challenges/utils/build_current_score.py
@@ -40,4 +40,5 @@ for filename in glob.glob(new_score_filename_pattern):
sorted_data = recursive_sort_dict(merged_data)
with open(current_score_filename, "w") as f_current:
- json.dump(sorted_data, f_current, indent=4)
+ json_data = json.dumps(sorted_data, indent=4)
+ f_current.write(json_data + "\n")