withTrialSalt method

RecordingLLMClient withTrialSalt(
  1. String salt
)

Returns a copy of this client bound to salt. Convenience for per-trial wrapping inside an environment's prepare().

Implementation

RecordingLLMClient withTrialSalt(String salt) => RecordingLLMClient(
  inner: inner,
  store: store,
  hasher: hasher,
  rateLimitGate: rateLimitGate,
  trialSalt: salt,
);