Browse Source

Merge pull request #175 from redthing1/feat/inferenceparams_record

make InferenceParams a record so we can use `with`
tags/v0.6.0
Haiping GitHub 2 years ago
parent
commit
e1af7a96da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      LLama/Common/InferenceParams.cs

+ 1
- 1
LLama/Common/InferenceParams.cs View File

@@ -9,7 +9,7 @@ namespace LLama.Common
/// <summary>
/// The paramters used for inference.
/// </summary>
public class InferenceParams : IInferenceParams
public record InferenceParams : IInferenceParams
{
/// <summary>
/// number of tokens to keep from initial prompt


Loading…
Cancel
Save