AgentsOptions constructor

AgentsOptions({
  1. required List<String> agents,
  2. String? toolPrefix,
  3. int? maxDelegations,
  4. int? historyLength,
  5. String? artifactStrategy,
  6. bool? async,
})

Implementation

AgentsOptions({
  required List<String> agents,
  String? toolPrefix,
  int? maxDelegations,
  int? historyLength,
  String? artifactStrategy,
  bool? async,
}) {
  _json = {
    'agents': agents,
    'toolPrefix': ?toolPrefix,
    'maxDelegations': ?maxDelegations,
    'historyLength': ?historyLength,
    'artifactStrategy': ?artifactStrategy,
    'async': ?async,
  };
}