Skip to content

Commit

Permalink
fix: renamed incorrectly named constant
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrettDavis committed Jan 10, 2025
1 parent 7f228df commit 43746c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Constants/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ internal static class Application
public const string ParentModel = "parent_model";
public const string Family = "family";
public const string Families = "families";
public const string ParameterCount = "parameter_count";
public const string QuantizationLevel = "quantization_level";
public const string SizeVram = "size_vram";
public const string ExpiresAt = "expires_at";
Expand Down Expand Up @@ -101,4 +100,5 @@ internal static class Application
public const string Total = "total";
public const string Completed = "completed";
public const string Embeddings = "embeddings";
public const string ParameterSize = "parameter_size";
}
2 changes: 1 addition & 1 deletion src/Models/ListModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class Details
/// <summary>
/// Gets or sets the number of parameters in the model.
/// </summary>
[JsonPropertyName(Application.ParameterCount)]
[JsonPropertyName(Application.ParameterSize)]
public string ParameterSize { get; set; } = null!;

/// <summary>
Expand Down

0 comments on commit 43746c7

Please sign in to comment.