From 7ba4f701252d9156ed7a522e042aaeca15f244df Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Fri, 15 Nov 2024 12:22:31 -0500 Subject: [PATCH] . --- OpenAI-DotNet/Chat/ChatRequest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenAI-DotNet/Chat/ChatRequest.cs b/OpenAI-DotNet/Chat/ChatRequest.cs index f0308221..cdaa6a6c 100644 --- a/OpenAI-DotNet/Chat/ChatRequest.cs +++ b/OpenAI-DotNet/Chat/ChatRequest.cs @@ -331,6 +331,7 @@ public ChatRequest( /// Required when audio output is requested with modalities: ["audio"]. /// [JsonPropertyName("audio")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public AudioConfig AudioConfig { get; } ///