copyWith method

  1. @override
FakeLLMOptions copyWith({
  1. String? model,
  2. int? concurrencyLimit,
})
override

Creates a copy of this RunnableOptions with the given fields replaced by the new values.

Implementation

@override
FakeLLMOptions copyWith({
  final String? model,
  final int? concurrencyLimit,
}) {
  return FakeLLMOptions(
    model: model ?? this.model,
    concurrencyLimit: concurrencyLimit ?? this.concurrencyLimit,
  );
}