MemoryController constructor

MemoryController({
  1. required ExecutionEnv env,
  2. String? projectRoot,
  3. String? userRoot,
  4. LlmProvider? llmProvider,
  5. String? projectStoragePath,
  6. String? userStoragePath,
  7. Future<MemoryConfig?> configSource()?,
  8. void onConfigChanged()?,
})

Implementation

MemoryController({
  required ExecutionEnv env,
  String? projectRoot,
  this._userRoot,
  this._llmProvider,
  this._projectStoragePath,
  this._userStoragePath,
  this.configSource,
  this.onConfigChanged,
}) : _env = env,
     _projectRoot = projectRoot ?? env.cwd;