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.

Correct triggerEvaluation endpoint

hunteraraujof130aa79725e
diff --git a/frontend/lib/services/benchmark_service.dart b/frontend/lib/services/benchmark_service.dart
index 5c69c94707..5abdb4144d 100644
--- a/frontend/lib/services/benchmark_service.dart
+++ b/frontend/lib/services/benchmark_service.dart
@@ -42,7 +42,7 @@ class BenchmarkService {
/// [taskId] is the ID of the task.
Future<Map<String, dynamic>> triggerEvaluation(String taskId) async {
try {
- return await api.post('agent/tasks/$taskId/evaluation', {},
+ return await api.post('agent/tasks/$taskId/evaluations', {},
apiType: ApiType.benchmark);
} catch (e) {
throw Exception('Failed to trigger evaluation: $e');