Files
Auto-GPT/frontend/lib/models/benchmark_service/benchmark_step_request_body.dart
hunteraraujo 5afab461ee Refactor Benchmarking Workflow and Introduce New Data Models (#5264)
* New benchmark data models

* Update _benchmarkBaseUrl

* Remove ReportRequestBody

* Update benchmark service methods for proxy approach

* Add eval id to SkillNodeData

* Refactor runBenchmark Method for proxy approach
2023-09-19 17:01:15 -07:00

13 lines
226 B
Dart

class BenchmarkStepRequestBody {
final String? input;
BenchmarkStepRequestBody({required this.input});
Map<String, dynamic> toJson() {
if (input == null) {
return {};
}
return {'input': input};
}
}