From 296ba607de431e6aa6deb24799907bb17c56af81 Mon Sep 17 00:00:00 2001 From: redthing1 Date: Mon, 18 Sep 2023 13:27:26 -0700 Subject: [PATCH] make InferenceParams a record so we can use with --- LLama/Common/InferenceParams.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LLama/Common/InferenceParams.cs b/LLama/Common/InferenceParams.cs index baa78da1..bef64631 100644 --- a/LLama/Common/InferenceParams.cs +++ b/LLama/Common/InferenceParams.cs @@ -9,7 +9,7 @@ namespace LLama.Common /// /// The paramters used for inference. /// - public class InferenceParams : IInferenceParams + public record InferenceParams : IInferenceParams { /// /// number of tokens to keep from initial prompt