AutoAiRepository constructor
AutoAiRepository({
- InMemoryAiRunStore? runs,
- InMemoryAiThreadStore? threads,
- InMemoryAiTraceStore? traces,
- InMemoryAiArtifactStore? artifacts,
Implementation
factory AutoAiRepository({
InMemoryAiRunStore? runs,
InMemoryAiThreadStore? threads,
InMemoryAiTraceStore? traces,
InMemoryAiArtifactStore? artifacts,
}) {
final memoryRuns = runs ?? InMemoryAiRunStore();
final memoryThreads = threads ?? InMemoryAiThreadStore();
final memoryTraces = traces ?? InMemoryAiTraceStore();
final memoryArtifacts = artifacts ?? InMemoryAiArtifactStore();
return AutoAiRepository._(
memoryRuns: memoryRuns,
memoryThreads: memoryThreads,
memoryTraces: memoryTraces,
memoryArtifacts: memoryArtifacts,
);
}