diff --git a/src/libs/Mixedbread/Generated/Mixedbread.AdminClient.ReingestAllStores.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.AdminClient.ReingestAllStores.g.cs
index 71cc070..cf4f047 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.AdminClient.ReingestAllStores.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.AdminClient.ReingestAllStores.g.cs
@@ -197,7 +197,6 @@ partial void ProcessReingestAllStoresResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
var __content = await __response.Content.ReadAsStringAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.CreateApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.CreateApiKey.g.cs
index 64af5a2..c6d6c34 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.CreateApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.CreateApiKey.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.DeleteApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.DeleteApiKey.g.cs
index e4edb9f..c895603 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.DeleteApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.DeleteApiKey.g.cs
@@ -175,7 +175,6 @@ partial void ProcessDeleteApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.ListApiKeys.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.ListApiKeys.g.cs
index ded6fb2..5aaf644 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.ListApiKeys.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.ListApiKeys.g.cs
@@ -189,7 +189,6 @@ partial void ProcessListApiKeysResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RerollApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RerollApiKey.g.cs
index 9e3f0ee..64169db 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RerollApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RerollApiKey.g.cs
@@ -176,7 +176,6 @@ partial void ProcessRerollApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RetrieveApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RetrieveApiKey.g.cs
index c26aace..4698fe4 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RetrieveApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RetrieveApiKey.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRetrieveApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RevokeApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RevokeApiKey.g.cs
index 0ac6545..896c8b9 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RevokeApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.RevokeApiKey.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRevokeApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.UpdateApiKey.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.UpdateApiKey.g.cs
index 66db4ef..4b97a0d 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.UpdateApiKey.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ApiKeysClient.UpdateApiKey.g.cs
@@ -191,7 +191,6 @@ partial void ProcessUpdateApiKeyResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetBillingSummary.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetBillingSummary.g.cs
index a715c64..f256fb3 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetBillingSummary.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetBillingSummary.g.cs
@@ -124,7 +124,6 @@ partial void ProcessGetBillingSummaryResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetParsingCostHistogram.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetParsingCostHistogram.g.cs
index 38e04ac..47c77cd 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetParsingCostHistogram.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetParsingCostHistogram.g.cs
@@ -124,7 +124,6 @@ partial void ProcessGetParsingCostHistogramResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetStoreCostHistogram.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetStoreCostHistogram.g.cs
index f57de42..21338b8 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetStoreCostHistogram.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.GetStoreCostHistogram.g.cs
@@ -170,7 +170,6 @@ partial void ProcessGetStoreCostHistogramResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.ListStoreCostInfo.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.ListStoreCostInfo.g.cs
index 0cbf495..0dfa9de 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.ListStoreCostInfo.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.BillingClient.ListStoreCostInfo.g.cs
@@ -124,7 +124,6 @@ partial void ProcessListStoreCostInfoResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.CompletionsClient.CreateChatCompletion.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.CompletionsClient.CreateChatCompletion.g.cs
index e43c5a9..046d7fc 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.CompletionsClient.CreateChatCompletion.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.CompletionsClient.CreateChatCompletion.g.cs
@@ -133,7 +133,6 @@ partial void ProcessCreateChatCompletionResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
var __content = await __response.Content.ReadAsStringAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.AuthorizeDataSource.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.AuthorizeDataSource.g.cs
index 0fdfd6e..2e86e2c 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.AuthorizeDataSource.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.AuthorizeDataSource.g.cs
@@ -179,7 +179,6 @@ partial void ProcessAuthorizeDataSourceResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
var __content = await __response.Content.ReadAsStringAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateConnector.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateConnector.g.cs
index 392c94a..aededbd 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateConnector.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateConnector.g.cs
@@ -191,7 +191,6 @@ partial void ProcessCreateConnectorResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateDataSource.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateDataSource.g.cs
index af9a84d..558cf83 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateDataSource.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.CreateDataSource.g.cs
@@ -180,7 +180,6 @@ partial void ProcessCreateDataSourceResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteConnector.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteConnector.g.cs
index d154b66..4496a6b 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteConnector.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteConnector.g.cs
@@ -184,7 +184,6 @@ partial void ProcessDeleteConnectorResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteDataSource.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteDataSource.g.cs
index 4b5cafe..a9cd384 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteDataSource.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.DeleteDataSource.g.cs
@@ -173,7 +173,6 @@ partial void ProcessDeleteDataSourceResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetConnector.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetConnector.g.cs
index c38f650..49dc7e6 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetConnector.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetConnector.g.cs
@@ -184,7 +184,6 @@ partial void ProcessGetConnectorResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetDataSource.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetDataSource.g.cs
index 58748a2..cfb9cf9 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetDataSource.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.GetDataSource.g.cs
@@ -175,7 +175,6 @@ partial void ProcessGetDataSourceResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListConnectors.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListConnectors.g.cs
index 87e4008..99948af 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListConnectors.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListConnectors.g.cs
@@ -216,7 +216,6 @@ partial void ProcessListConnectorsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListDataSources.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListDataSources.g.cs
index 11e9db1..5c95263 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListDataSources.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.ListDataSources.g.cs
@@ -205,7 +205,6 @@ partial void ProcessListDataSourcesResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.Oauth2Callback.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.Oauth2Callback.g.cs
index a1154b1..6302e98 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.Oauth2Callback.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.Oauth2Callback.g.cs
@@ -306,13 +306,6 @@ partial void ProcessOauth2CallbackResponse(
try
{
__response.EnsureSuccessStatusCode();
-
- using var __content = await __response.Content.ReadAsStreamAsync(
-#if NET5_0_OR_GREATER
- cancellationToken
-#endif
- ).ConfigureAwait(false);
-
}
catch (global::System.Exception __ex)
{
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateConnector.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateConnector.g.cs
index 72c9e4d..841e7ea 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateConnector.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateConnector.g.cs
@@ -200,7 +200,6 @@ partial void ProcessUpdateConnectorResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateDataSource.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateDataSource.g.cs
index 4d1db1e..bc79cc0 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateDataSource.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.DataSourcesClient.UpdateDataSource.g.cs
@@ -189,7 +189,6 @@ partial void ProcessUpdateDataSourceResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateExtractionJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateExtractionJob.g.cs
index 87f7a7b..f0ee0f8 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateExtractionJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateExtractionJob.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateExtractionJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateSchema.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateSchema.g.cs
index dc100f4..cad5516 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateSchema.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.CreateSchema.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateSchemaResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.EnhanceSchema.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.EnhanceSchema.g.cs
index 2e2bd0a..0e3bec2 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.EnhanceSchema.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.EnhanceSchema.g.cs
@@ -182,7 +182,6 @@ partial void ProcessEnhanceSchemaResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ExtractContent.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ExtractContent.g.cs
index 999174f..c5759fa 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ExtractContent.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ExtractContent.g.cs
@@ -182,7 +182,6 @@ partial void ProcessExtractContentResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.RetrieveExtractionJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.RetrieveExtractionJob.g.cs
index 77148f9..269c521 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.RetrieveExtractionJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.RetrieveExtractionJob.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRetrieveExtractionJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ValidateSchema.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ValidateSchema.g.cs
index 6670693..cc4eac7 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ValidateSchema.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ExtractionsClient.ValidateSchema.g.cs
@@ -182,7 +182,6 @@ partial void ProcessValidateSchemaResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.AbortMultipartUpload.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.AbortMultipartUpload.g.cs
index bb9cea8..b126cfd 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.AbortMultipartUpload.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.AbortMultipartUpload.g.cs
@@ -171,7 +171,6 @@ partial void ProcessAbortMultipartUploadResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CompleteMultipartUpload.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CompleteMultipartUpload.g.cs
index 0d42c2a..0aeaef7 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CompleteMultipartUpload.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CompleteMultipartUpload.g.cs
@@ -187,7 +187,6 @@ partial void ProcessCompleteMultipartUploadResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateFile.g.cs
index 89e1004..1d9fecd 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateFile.g.cs
@@ -187,7 +187,6 @@ partial void ProcessCreateFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateMultipartUpload.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateMultipartUpload.g.cs
index 8b9d339..c489b95 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateMultipartUpload.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.CreateMultipartUpload.g.cs
@@ -178,7 +178,6 @@ partial void ProcessCreateMultipartUploadResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DeleteFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DeleteFile.g.cs
index fa575ae..927f5c1 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DeleteFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DeleteFile.g.cs
@@ -175,7 +175,6 @@ partial void ProcessDeleteFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DownloadFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DownloadFile.g.cs
index 1dce04f..8ef4661 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DownloadFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.DownloadFile.g.cs
@@ -168,7 +168,6 @@ partial void ProcessDownloadFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
var __content = await __response.Content.ReadAsByteArrayAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.GetMultipartUpload.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.GetMultipartUpload.g.cs
index ab6f002..e1d3a09 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.GetMultipartUpload.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.GetMultipartUpload.g.cs
@@ -171,7 +171,6 @@ partial void ProcessGetMultipartUploadResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListFiles.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListFiles.g.cs
index b24c791..c3ddf35 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListFiles.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListFiles.g.cs
@@ -216,7 +216,6 @@ partial void ProcessListFilesResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListMultipartUploads.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListMultipartUploads.g.cs
index c18586d..706926e 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListMultipartUploads.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.ListMultipartUploads.g.cs
@@ -125,7 +125,6 @@ partial void ProcessListMultipartUploadsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.RetrieveFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.RetrieveFile.g.cs
index b3ba99c..3384c14 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.RetrieveFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.RetrieveFile.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRetrieveFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.UpdateFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.UpdateFile.g.cs
index f53d1fb..888af5b 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.UpdateFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.FilesClient.UpdateFile.g.cs
@@ -199,7 +199,6 @@ partial void ProcessUpdateFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.CreateEmbeddings.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.CreateEmbeddings.g.cs
index e30541a..1579b46 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.CreateEmbeddings.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.CreateEmbeddings.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateEmbeddingsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Info.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Info.g.cs
index 62128d1..b205ac3 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Info.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Info.g.cs
@@ -165,7 +165,6 @@ partial void ProcessInfoResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Rerank.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Rerank.g.cs
index eb1fbab..bd7524a 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Rerank.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.MixedbreadClient.Rerank.g.cs
@@ -182,7 +182,6 @@ partial void ProcessRerankResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CancelParsingJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CancelParsingJob.g.cs
index 29e5398..3d4b545 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CancelParsingJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CancelParsingJob.g.cs
@@ -175,7 +175,6 @@ partial void ProcessCancelParsingJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CreateParsingJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CreateParsingJob.g.cs
index efeabce..fec547e 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CreateParsingJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.CreateParsingJob.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateParsingJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.DeleteParsingJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.DeleteParsingJob.g.cs
index 5bca973..1d25301 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.DeleteParsingJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.DeleteParsingJob.g.cs
@@ -175,7 +175,6 @@ partial void ProcessDeleteParsingJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.ListParsingJobs.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.ListParsingJobs.g.cs
index 3ee1d92..ab199c8 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.ListParsingJobs.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.ListParsingJobs.g.cs
@@ -226,7 +226,6 @@ partial void ProcessListParsingJobsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.RetrieveParsingJob.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.RetrieveParsingJob.g.cs
index 7a3f9ee..6ad8388 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.RetrieveParsingJob.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.ParsingClient.RetrieveParsingJob.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRetrieveParsingJobResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Polyfills.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Polyfills.g.cs
index 2e58b95..ca012cc 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.Polyfills.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.Polyfills.g.cs
@@ -1,5 +1,4 @@
-#if !NET6_0_OR_GREATER
#nullable enable
namespace Mixedbread
@@ -9,6 +8,7 @@ namespace Mixedbread
///
public static partial class AutoSdkPolyfills
{
+#if !NET6_0_OR_GREATER
///
///
///
@@ -48,6 +48,128 @@ public static partial class AutoSdkPolyfills
content = content ?? throw new global::System.ArgumentNullException(nameof(content));
return content.ReadAsByteArrayAsync();
}
+#endif
+
+ ///
+ /// Creates a JSON request content instance.
+ ///
+ public static global::System.Net.Http.HttpContent CreateJsonContent(
+ T inputValue,
+ string mediaType,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions)
+ {
+ if (string.IsNullOrWhiteSpace(mediaType))
+ {
+ throw new global::System.ArgumentException("Media type is required.", nameof(mediaType));
+ }
+
+#if NET5_0_OR_GREATER
+ return global::System.Net.Http.Json.JsonContent.Create(
+ inputValue: inputValue,
+ mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType),
+ options: jsonSerializerOptions);
+#else
+ var json = global::System.Text.Json.JsonSerializer.Serialize(inputValue, jsonSerializerOptions);
+ var stringContent = new global::System.Net.Http.StringContent(
+ content: json,
+ encoding: global::System.Text.Encoding.UTF8);
+ stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)
+ {
+ CharSet = global::System.Text.Encoding.UTF8.WebName,
+ };
+ return stringContent;
+#endif
+ }
+
+ ///
+ /// Creates a JSON request content instance using a source-generated serializer context.
+ ///
+ public static global::System.Net.Http.HttpContent CreateJsonContent(
+ object? inputValue,
+ global::System.Type inputType,
+ string mediaType,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ inputType = inputType ?? throw new global::System.ArgumentNullException(nameof(inputType));
+ jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext));
+
+ if (string.IsNullOrWhiteSpace(mediaType))
+ {
+ throw new global::System.ArgumentException("Media type is required.", nameof(mediaType));
+ }
+
+#if NET5_0_OR_GREATER
+ var jsonTypeInfo = jsonSerializerContext.GetTypeInfo(inputType) ??
+ throw new global::System.InvalidOperationException($"No JsonTypeInfo registered for '{inputType}'.");
+ return global::System.Net.Http.Json.JsonContent.Create(
+ inputValue: inputValue,
+ jsonTypeInfo: jsonTypeInfo,
+ mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType));
+#else
+ var json = global::System.Text.Json.JsonSerializer.Serialize(
+ value: inputValue,
+ inputType: inputType,
+ jsonSerializerContext);
+ var stringContent = new global::System.Net.Http.StringContent(
+ content: json,
+ encoding: global::System.Text.Encoding.UTF8);
+ stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)
+ {
+ CharSet = global::System.Text.Encoding.UTF8.WebName,
+ };
+ return stringContent;
+#endif
+ }
+
+ ///
+ /// Reads JSON content into the specified type using serializer options.
+ ///
+ public static async global::System.Threading.Tasks.Task ReadFromJsonAsync(
+ this global::System.Net.Http.HttpContent content,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions,
+ global::System.Threading.CancellationToken cancellationToken)
+ {
+ content = content ?? throw new global::System.ArgumentNullException(nameof(content));
+
+#if NET5_0_OR_GREATER
+ return await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(
+ content,
+ jsonSerializerOptions,
+ cancellationToken).ConfigureAwait(false);
+#else
+ using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false);
+ return await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ utf8Json: stream,
+ options: jsonSerializerOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+#endif
+ }
+
+ ///
+ /// Reads JSON content into the specified type using a source-generated serializer context.
+ ///
+ public static async global::System.Threading.Tasks.Task ReadFromJsonAsync(
+ this global::System.Net.Http.HttpContent content,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext,
+ global::System.Threading.CancellationToken cancellationToken)
+ {
+ content = content ?? throw new global::System.ArgumentNullException(nameof(content));
+ jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext));
+
+#if NET5_0_OR_GREATER
+ return (T?)await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(
+ content,
+ typeof(T),
+ jsonSerializerContext,
+ cancellationToken).ConfigureAwait(false);
+#else
+ using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false);
+ return (T?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ utf8Json: stream,
+ returnType: typeof(T),
+ jsonSerializerContext,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+#endif
+ }
}
}
-#endif
\ No newline at end of file
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.SchemasClient.GetMxbaiJsonSchema.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.SchemasClient.GetMxbaiJsonSchema.g.cs
index 51010d5..e9746a9 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.SchemasClient.GetMxbaiJsonSchema.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.SchemasClient.GetMxbaiJsonSchema.g.cs
@@ -125,7 +125,6 @@ partial void ProcessGetMxbaiJsonSchemaResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
var __content = await __response.Content.ReadAsStringAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateQuestionAnswering.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateQuestionAnswering.g.cs
index 2e3c88c..7758e1d 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateQuestionAnswering.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateQuestionAnswering.g.cs
@@ -177,7 +177,6 @@ partial void ProcessCreateQuestionAnsweringResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateSearchRule.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateSearchRule.g.cs
index 7bb5623..61d3209 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateSearchRule.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateSearchRule.g.cs
@@ -191,7 +191,6 @@ partial void ProcessCreateSearchRuleResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStore.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStore.g.cs
index e6eb602..fababc5 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStore.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStore.g.cs
@@ -182,7 +182,6 @@ partial void ProcessCreateStoreResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStoreFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStoreFile.g.cs
index c8c3743..e8350c5 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStoreFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.CreateStoreFile.g.cs
@@ -193,7 +193,6 @@ partial void ProcessCreateStoreFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSearchRule.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSearchRule.g.cs
index 82088eb..88c410f 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSearchRule.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSearchRule.g.cs
@@ -184,7 +184,6 @@ partial void ProcessDeleteSearchRuleResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSpecificSearchRule.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSpecificSearchRule.g.cs
index 42572ce..7c49107 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSpecificSearchRule.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteSpecificSearchRule.g.cs
@@ -200,7 +200,6 @@ partial void ProcessDeleteSpecificSearchRuleResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStore.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStore.g.cs
index 17d819b..3e68560 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStore.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStore.g.cs
@@ -175,7 +175,6 @@ partial void ProcessDeleteStoreResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStoreFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStoreFile.g.cs
index 9f0f64e..fb973f5 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStoreFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.DeleteStoreFile.g.cs
@@ -184,7 +184,6 @@ partial void ProcessDeleteStoreFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetMetadataFacets.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetMetadataFacets.g.cs
index b4a5a75..66f123e 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetMetadataFacets.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetMetadataFacets.g.cs
@@ -177,7 +177,6 @@ partial void ProcessGetMetadataFacetsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetStoreEventHistogram.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetStoreEventHistogram.g.cs
index 2a47895..04208fe 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetStoreEventHistogram.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.GetStoreEventHistogram.g.cs
@@ -191,7 +191,6 @@ partial void ProcessGetStoreEventHistogramResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreEvents.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreEvents.g.cs
index 408b5f4..0ee8ace 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreEvents.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreEvents.g.cs
@@ -243,7 +243,6 @@ partial void ProcessListStoreEventsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreFilesWithMetadataFilter.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreFilesWithMetadataFilter.g.cs
index 0aa3f54..4e1bac1 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreFilesWithMetadataFilter.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreFilesWithMetadataFilter.g.cs
@@ -191,7 +191,6 @@ partial void ProcessListStoreFilesWithMetadataFilterResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStores.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStores.g.cs
index 914bb89..55e1457 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStores.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStores.g.cs
@@ -217,7 +217,6 @@ partial void ProcessListStoresResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveSearchRule.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveSearchRule.g.cs
index 829f098..067c89b 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveSearchRule.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveSearchRule.g.cs
@@ -184,7 +184,6 @@ partial void ProcessRetrieveSearchRuleResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStore.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStore.g.cs
index 867cd01..4b919fd 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStore.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStore.g.cs
@@ -175,7 +175,6 @@ partial void ProcessRetrieveStoreResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStoreFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStoreFile.g.cs
index 090cfac..c441289 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStoreFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.RetrieveStoreFile.g.cs
@@ -197,7 +197,6 @@ partial void ProcessRetrieveStoreFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreChunks.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreChunks.g.cs
index a58432f..c82590a 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreChunks.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreChunks.g.cs
@@ -200,7 +200,6 @@ partial void ProcessSearchStoreChunksResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreFiles.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreFiles.g.cs
index c907be3..6be1aa6 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreFiles.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.SearchStoreFiles.g.cs
@@ -183,7 +183,6 @@ partial void ProcessSearchStoreFilesResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateSearchRule.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateSearchRule.g.cs
index 6dee4fa..3f668db 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateSearchRule.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateSearchRule.g.cs
@@ -200,7 +200,6 @@ partial void ProcessUpdateSearchRuleResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStore.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStore.g.cs
index e1eda6c..3931db9 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStore.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStore.g.cs
@@ -191,7 +191,6 @@ partial void ProcessUpdateStoreResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStoreFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStoreFile.g.cs
index 82c71fc..2055408 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStoreFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UpdateStoreFile.g.cs
@@ -200,7 +200,6 @@ partial void ProcessUpdateStoreFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UploadStoreFile.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UploadStoreFile.g.cs
index dbebdb0..6489320 100644
--- a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UploadStoreFile.g.cs
+++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.UploadStoreFile.g.cs
@@ -208,7 +208,6 @@ partial void ProcessUploadStoreFileResponseContent(
try
{
__response.EnsureSuccessStatusCode();
-
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken