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.
Add placeholder submitToLeaderboard
hunteraraujod05679330996
diff --git a/frontend/lib/viewmodels/skill_tree_viewmodel.dart b/frontend/lib/viewmodels/skill_tree_viewmodel.dartindex 3955aa79d3..f5b091d666 100644--- a/frontend/lib/viewmodels/skill_tree_viewmodel.dart+++ b/frontend/lib/viewmodels/skill_tree_viewmodel.dart@@ -215,10 +215,6 @@ class SkillTreeViewModel extends ChangeNotifier {// Decode the evaluationResponse into a BenchmarkRun objectBenchmarkRun benchmarkRun = BenchmarkRun.fromJson(evaluationResponse);- // TODO: We should only trigger this if the user has designated they want to submit- // Submit the BenchmarkRun object to the leaderboard- await leaderboardService.submitReport(benchmarkRun);-// Update the benchmarkStatusList based on the evaluation responsebool successStatus = benchmarkRun.metrics.success;benchmarkStatusMap[node] = successStatus@@ -245,4 +241,7 @@ class SkillTreeViewModel extends ChangeNotifier {isBenchmarkRunning = false;notifyListeners();}++ // TODO: Move to task queue view model+ Future<void> submitToLeaderboard() async {}}