From bd95cda8d4b80c755c75b03842d6e361ec5ee578 Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 13 Dec 2024 22:16:41 -0500 Subject: [PATCH 1/2] Pin System.Text.Json to 9.0.0 --- Directory.Build.props | 2 +- Directory.Packages.props | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 996186c9..9e898add 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ enable enable true - false + true diff --git a/Directory.Packages.props b/Directory.Packages.props index 5ccc5bce..64134d54 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -71,6 +71,7 @@ + From 8553cd18f045589758e5f810c6f67a9fbd058009 Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 13 Dec 2024 22:18:02 -0500 Subject: [PATCH 2/2] Fix JsonValue deserialize error with Inference --- StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs b/StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs index c69f14d2..fd56fb6f 100644 --- a/StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs +++ b/StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs @@ -7,10 +7,10 @@ namespace StabilityMatrix.Core.Models.Api.Comfy; public class ComfyInputInfo { [JsonPropertyName("required")] - public Dictionary? Required { get; set; } + public Dictionary? Required { get; set; } [JsonPropertyName("optional")] - public Dictionary? Optional { get; set; } + public Dictionary? Optional { get; set; } public List? GetRequiredValueAsNestedList(string key) {