AgentLoopConfig constructor

const AgentLoopConfig({
  1. int maxObservationsPerCycle = 5,
  2. int maxMemoryRetrievals = 8,
  3. Duration iterationDelay = Duration.zero,
  4. bool enableReflection = true,
  5. int reflectionIntervalIterations = 3,
  6. int maxConsecutiveErrors = 3,
  7. bool emitEvents = true,
})

Implementation

const AgentLoopConfig({
  this.maxObservationsPerCycle = 5,
  this.maxMemoryRetrievals = 8,
  this.iterationDelay = Duration.zero,
  this.enableReflection = true,
  this.reflectionIntervalIterations = 3,
  this.maxConsecutiveErrors = 3,
  this.emitEvents = true,
});