SelfReflectionModule constructor

SelfReflectionModule({
  1. required AgentMemoryStore memory,
  2. LLMCore? llm,
  3. SelfReflectionConfig? config,
  4. ConsciousnessLogger? logger,
})

Implementation

SelfReflectionModule({
  required AgentMemoryStore memory,
  LLMCore? llm,
  SelfReflectionConfig? config,
  ConsciousnessLogger? logger,
})  : _memory = memory,
      _llm = llm,
      _config = config ?? const SelfReflectionConfig(),
      _logger = logger ?? ConsciousnessLogger('SelfReflection');