ReplayLLMClient constructor

ReplayLLMClient({
  1. required RecordingStore store,
  2. LLMClient? fallback,
  3. bool strictReplay = true,
  4. LLMRequestHash? hasher,
  5. RateLimitGate? rateLimitGate,
  6. String? trialSalt,
})

Implementation

ReplayLLMClient({
  required this.store,
  this.fallback,
  this.strictReplay = true,
  LLMRequestHash? hasher,
  RateLimitGate? rateLimitGate,
  this.trialSalt,
}) : hasher = hasher ?? const Sha256LLMRequestHash(),
     rateLimitGate = rateLimitGate ?? const NoopRateLimitGate();