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.

Fix bug where we are not passing benchmark input

hunteraraujoee55b8594599
diff --git a/frontend/lib/viewmodels/skill_tree_viewmodel.dart b/frontend/lib/viewmodels/skill_tree_viewmodel.dart
index 5fe07c352a..aa2413fa62 100644
--- a/frontend/lib/viewmodels/skill_tree_viewmodel.dart
+++ b/frontend/lib/viewmodels/skill_tree_viewmodel.dart
@@ -201,7 +201,7 @@ class SkillTreeViewModel extends ChangeNotifier {
// Execute the first step and initialize the Step object
Map<String, dynamic> stepResponse =
await benchmarkService.executeBenchmarkStep(
- task.id, BenchmarkStepRequestBody(input: null));
+ task.id, BenchmarkStepRequestBody(input: node.data.task));
Step step = Step.fromMap(stepResponse);
// Check if it's the last step