SelfReflectionConfig constructor

const SelfReflectionConfig({
  1. int stalledProgressThreshold = 3,
  2. int toolLoopWindowSize = 4,
  3. int maxFailuresBeforeReflect = 2,
  4. int noToolProgressThreshold = 5,
  5. int maxHistorySize = 50,
  6. bool enableLLMReflection = true,
  7. double minSeverityToStore = 0.3,
})

Implementation

const SelfReflectionConfig({
  this.stalledProgressThreshold = 3,
  this.toolLoopWindowSize = 4,
  this.maxFailuresBeforeReflect = 2,
  this.noToolProgressThreshold = 5,
  this.maxHistorySize = 50,
  this.enableLLMReflection = true,
  this.minSeverityToStore = 0.3,
});