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.
Fix bug where benchmarks are not showing chat convo
hunteraraujod91236dedabc
diff --git a/frontend/lib/viewmodels/skill_tree_viewmodel.dart b/frontend/lib/viewmodels/skill_tree_viewmodel.dartindex c1d52376fe..9358e27ee2 100644--- a/frontend/lib/viewmodels/skill_tree_viewmodel.dart+++ b/frontend/lib/viewmodels/skill_tree_viewmodel.dart@@ -203,16 +203,17 @@ class SkillTreeViewModel extends ChangeNotifier {await benchmarkService.executeBenchmarkStep(task.id, BenchmarkStepRequestBody(input: node.data.task));Step step = Step.fromMap(stepResponse);+ chatViewModel.fetchChatsForTask();// Check if it's the last stepwhile (!step.isLast) {- // Fetch chats for the task- chatViewModel.fetchChatsForTask();-// Execute next step and update the Step objectstepResponse = await benchmarkService.executeBenchmarkStep(task.id, BenchmarkStepRequestBody(input: null));step = Step.fromMap(stepResponse);++ // Fetch chats for the task+ chatViewModel.fetchChatsForTask();}// Trigger the evaluation