mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Refactor benchmark data models with placeholder values
This commit is contained in:
@@ -28,8 +28,9 @@ class Config {
|
||||
///
|
||||
/// Returns a new `Config` populated with values from the map.
|
||||
factory Config.fromJson(Map<String, dynamic> json) => Config(
|
||||
agentBenchmarkConfigPath: json['agent_benchmark_config_path'] ?? "",
|
||||
host: json['host'] ?? "",
|
||||
agentBenchmarkConfigPath:
|
||||
json['agent_benchmark_config_path'] ?? 'placeholder',
|
||||
host: json['host'] ?? 'https://github.com/Significant-Gravitas/AutoGPT',
|
||||
);
|
||||
|
||||
/// Converts the `Config` instance to a map.
|
||||
|
||||
Reference in New Issue
Block a user