diff --git a/.dotnet/src/Custom/Assistants/Internal/GeneratorStubs.Internal.cs b/.dotnet/src/Custom/Assistants/Internal/GeneratorStubs.Internal.cs index 08f753db0..550a8f9d1 100644 --- a/.dotnet/src/Custom/Assistants/Internal/GeneratorStubs.Internal.cs +++ b/.dotnet/src/Custom/Assistants/Internal/GeneratorStubs.Internal.cs @@ -151,31 +151,31 @@ internal partial class InternalRunObjectRequiredActionSubmitToolOutputs { privat internal partial class InternalRunToolCallObjectFunction { } [CodeGenModel("ListAssistantsResponse")] -internal partial class InternalListAssistantsResponse : IInternalListResponse { } +internal partial class InternalListAssistantsResponse { } [CodeGenModel("ListAssistantsResponseObject")] internal readonly partial struct InternalListAssistantsResponseObject {} [CodeGenModel("ListThreadsResponse")] -internal partial class InternalListThreadsResponse : IInternalListResponse { } +internal partial class InternalListThreadsResponse { } [CodeGenModel("ListThreadsResponseObject")] internal readonly partial struct InternalListThreadsResponseObject {} [CodeGenModel("ListMessagesResponse")] -internal partial class InternalListMessagesResponse : IInternalListResponse { } +internal partial class InternalListMessagesResponse { } [CodeGenModel("ListMessagesResponseObject")] internal readonly partial struct InternalListMessagesResponseObject {} [CodeGenModel("ListRunsResponse")] -internal partial class InternalListRunsResponse : IInternalListResponse { } +internal partial class InternalListRunsResponse { } [CodeGenModel("ListRunsResponseObject")] internal readonly partial struct InternalListRunsResponseObject {} [CodeGenModel("ListRunStepsResponse")] -internal partial class InternalListRunStepsResponse : IInternalListResponse { } +internal partial class InternalListRunStepsResponse { } [CodeGenModel("ListRunStepsResponseObject")] internal readonly partial struct InternalListRunStepsResponseObject {} diff --git a/.dotnet/src/Custom/Internal/IInternalListResponseOfT.cs b/.dotnet/src/Custom/Internal/IInternalListResponseOfT.cs deleted file mode 100644 index bc02a852a..000000000 --- a/.dotnet/src/Custom/Internal/IInternalListResponseOfT.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Collections.Generic; - -namespace OpenAI; - -internal interface IInternalListResponse -{ - IReadOnlyList Data { get; } - string FirstId { get; } - string LastId { get; } - bool HasMore { get; } -} \ No newline at end of file diff --git a/.dotnet/src/Custom/VectorStores/Internal/GeneratorStubs.cs b/.dotnet/src/Custom/VectorStores/Internal/GeneratorStubs.cs index 3fa00a75b..792fff8ad 100644 --- a/.dotnet/src/Custom/VectorStores/Internal/GeneratorStubs.cs +++ b/.dotnet/src/Custom/VectorStores/Internal/GeneratorStubs.cs @@ -21,13 +21,13 @@ internal partial class InternalDeleteVectorStoreResponse { } internal readonly partial struct InternalDeleteVectorStoreResponseObject { } [CodeGenModel("ListVectorStoreFilesResponse")] -internal partial class InternalListVectorStoreFilesResponse : IInternalListResponse { } +internal partial class InternalListVectorStoreFilesResponse { } [CodeGenModel("ListVectorStoreFilesResponseObject")] internal readonly partial struct InternalListVectorStoreFilesResponseObject { } [CodeGenModel("ListVectorStoresResponse")] -internal partial class InternalListVectorStoresResponse : IInternalListResponse { } +internal partial class InternalListVectorStoresResponse { } [CodeGenModel("ListVectorStoresResponseObject")] internal readonly partial struct InternalListVectorStoresResponseObject { } diff --git a/.scripts/Run-Checks.ps1 b/.scripts/Run-Checks.ps1 index 8d82507c3..54d068ec5 100644 --- a/.scripts/Run-Checks.ps1 +++ b/.scripts/Run-Checks.ps1 @@ -80,7 +80,6 @@ function Run-TopLevelNamespaceCheck { "ClientPipelineExtensions.cs", "ClientUriBuilder.cs", "ErrorResult.cs", - "IInternalListResponseOfT.cs", "InternalFunctionDefinition.cs", "InternalFunctionDefinition.Serialization.cs", "ModelSerializationExtensions.cs",