From 60c4b3af18a3575d725657d23952075579e3685c Mon Sep 17 00:00:00 2001 From: Isaac Miller Date: Fri, 18 Oct 2024 12:49:50 -0400 Subject: [PATCH 1/2] Don't dispose the client websocket in the AsyncWebsocketMessageEnumerator --- .../Internal/AsyncWebsocketMessageEnumerator.cs | 1 - src/OpenAI.csproj | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Custom/RealtimeConversation/Internal/AsyncWebsocketMessageEnumerator.cs b/src/Custom/RealtimeConversation/Internal/AsyncWebsocketMessageEnumerator.cs index 1d9edbe7..895e6762 100644 --- a/src/Custom/RealtimeConversation/Internal/AsyncWebsocketMessageEnumerator.cs +++ b/src/Custom/RealtimeConversation/Internal/AsyncWebsocketMessageEnumerator.cs @@ -26,7 +26,6 @@ public AsyncWebsocketMessageResultEnumerator(ClientWebSocket clientWebSocket, Ca public ValueTask DisposeAsync() { - _clientWebSocket?.Dispose(); return new ValueTask(Task.CompletedTask); } diff --git a/src/OpenAI.csproj b/src/OpenAI.csproj index 8080280b..a7452fc6 100644 --- a/src/OpenAI.csproj +++ b/src/OpenAI.csproj @@ -7,7 +7,7 @@ OpenAI;openai-dotnet;ChatGPT;Dall-E 2.1.0 - beta.1 + beta.2 netstandard2.0;net6.0 latest From 3f62015cb9221bd99354967a4568d285b4b784c4 Mon Sep 17 00:00:00 2001 From: Isaac Miller Date: Tue, 22 Oct 2024 10:39:54 -0400 Subject: [PATCH 2/2] undo version bump --- src/OpenAI.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenAI.csproj b/src/OpenAI.csproj index a7452fc6..8080280b 100644 --- a/src/OpenAI.csproj +++ b/src/OpenAI.csproj @@ -7,7 +7,7 @@ OpenAI;openai-dotnet;ChatGPT;Dall-E 2.1.0 - beta.2 + beta.1 netstandard2.0;net6.0 latest