diff --git a/src/libs/EigenAI/Generated/EigenAI.AutoSDKHttpResponse.g.cs b/src/libs/EigenAI/Generated/EigenAI.AutoSDKHttpResponse.g.cs index 9edf84d..9ae4d97 100644 --- a/src/libs/EigenAI/Generated/EigenAI.AutoSDKHttpResponse.g.cs +++ b/src/libs/EigenAI/Generated/EigenAI.AutoSDKHttpResponse.g.cs @@ -164,9 +164,9 @@ public static class AutoSDKConditionalRequests { send = send ?? throw new global::System.ArgumentNullException(nameof(send)); requestOptions = CloneRequestOptions(requestOptions); - if (!string.IsNullOrWhiteSpace(entityTag)) + if (entityTag is { } nonEmptyEntityTag && !string.IsNullOrWhiteSpace(nonEmptyEntityTag)) { - requestOptions.Headers["If-None-Match"] = entityTag!; + requestOptions.Headers["If-None-Match"] = nonEmptyEntityTag; } try diff --git a/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImage.g.cs b/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImage.g.cs index cf7f3f2..b142ad9 100644 --- a/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImage.g.cs +++ b/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImage.g.cs @@ -184,7 +184,7 @@ partial void ProcessGenerateImageResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ partial void ProcessGenerateImageResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ partial void ProcessGenerateImageResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGenerateImageResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGenerateImageResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImageAsBytes.g.cs b/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImageAsBytes.g.cs index 3ee1593..b216f1a 100644 --- a/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImageAsBytes.g.cs +++ b/src/libs/EigenAI/Generated/EigenAI.EigenAIClient.GenerateImageAsBytes.g.cs @@ -184,7 +184,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -623,7 +623,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -657,7 +657,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -698,7 +698,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -746,7 +746,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -768,7 +768,7 @@ partial void ProcessGenerateImageAsBytesResponseContent( pathTemplate: "\"/api/v1/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,