diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs index 61cd003..ae369a9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs @@ -30,7 +30,7 @@ partial void ProcessUploadLoraModelResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task UploadLoraModelAsync( + public async global::System.Threading.Tasks.Task UploadLoraModelAsync( global::DeepInfra.LoraModelUploadIn request, string? xiApiKey = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -190,7 +190,7 @@ partial void ProcessUploadLoraModelResponseContent( } return - global::DeepInfra.ModelOut.FromJson(__content, JsonSerializerContext) ?? + global::DeepInfra.DeploymentOut.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } else @@ -216,7 +216,7 @@ partial void ProcessUploadLoraModelResponseContent( using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); return - await global::DeepInfra.ModelOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + await global::DeepInfra.DeploymentOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } } @@ -230,7 +230,7 @@ partial void ProcessUploadLoraModelResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task UploadLoraModelAsync( + public async global::System.Threading.Tasks.Task UploadLoraModelAsync( string hfModelName, string loraModelName, string? xiApiKey = default, diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.UploadLoraModel.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.UploadLoraModel.g.cs index 456d363..e9f4675 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.UploadLoraModel.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.UploadLoraModel.g.cs @@ -11,7 +11,7 @@ public partial interface IDeepInfraApi /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task UploadLoraModelAsync( + global::System.Threading.Tasks.Task UploadLoraModelAsync( global::DeepInfra.LoraModelUploadIn request, string? xiApiKey = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -25,7 +25,7 @@ public partial interface IDeepInfraApi /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task UploadLoraModelAsync( + global::System.Threading.Tasks.Task UploadLoraModelAsync( string hfModelName, string loraModelName, string? xiApiKey = default, diff --git a/src/libs/DeepInfra/openapi.yaml b/src/libs/DeepInfra/openapi.yaml index 9986a4a..ad76ca1 100644 --- a/src/libs/DeepInfra/openapi.yaml +++ b/src/libs/DeepInfra/openapi.yaml @@ -814,7 +814,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModelOut' + $ref: '#/components/schemas/DeploymentOut' '400': description: Bad Request content: