From 41eac5c37ede12a12136d206fcc5c18eb755a0bd Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Mon, 10 Jun 2024 05:44:33 -0400 Subject: [PATCH] OpenAI-DotNet 8.0.1 (#324) - Fixed Thread.Run.Status enum ordering --- OpenAI-DotNet/OpenAI-DotNet.csproj | 4 +++- OpenAI-DotNet/Threads/RunStatus.cs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/OpenAI-DotNet/OpenAI-DotNet.csproj b/OpenAI-DotNet/OpenAI-DotNet.csproj index 7965bded..fae2cf6e 100644 --- a/OpenAI-DotNet/OpenAI-DotNet.csproj +++ b/OpenAI-DotNet/OpenAI-DotNet.csproj @@ -28,8 +28,10 @@ More context [on Roger Pincombe's blog](https://rogerpincombe.com/openai-dotnet- OpenAI-DotNet.pfx True True - 8.0.0 + 8.0.1 +Version 8.0.1 +- Fixed Thread.Run.Status enum ordering Version 8.0.0 - Updated Assistants Beta v2 - Added support for specifying project id diff --git a/OpenAI-DotNet/Threads/RunStatus.cs b/OpenAI-DotNet/Threads/RunStatus.cs index d7cd5063..007830e5 100644 --- a/OpenAI-DotNet/Threads/RunStatus.cs +++ b/OpenAI-DotNet/Threads/RunStatus.cs @@ -12,14 +12,14 @@ public enum RunStatus InProgress, [EnumMember(Value = "requires_action")] RequiresAction, - [EnumMember(Value = "incomplete")] - Incomplete, [EnumMember(Value = "cancelling")] Cancelling, [EnumMember(Value = "cancelled")] Cancelled, [EnumMember(Value = "completed")] Completed, + [EnumMember(Value = "incomplete")] + Incomplete, [EnumMember(Value = "failed")] Failed, [EnumMember(Value = "expired")]