diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Constructors.Bearer.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Constructors.Bearer.g.cs
index 2cdacbb..325b540 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Constructors.Bearer.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Constructors.Bearer.g.cs
@@ -11,7 +11,17 @@ public CohereApi(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null) : this(httpClient, baseUri)
{
+ Authorizing(_httpClient, ref apiKey);
+
AuthorizeUsingBearer(apiKey);
+
+ Authorized(_httpClient);
}
+
+ partial void Authorizing(
+ global::System.Net.Http.HttpClient client,
+ ref string apiKey);
+ partial void Authorized(
+ global::System.Net.Http.HttpClient client);
}
}
\ No newline at end of file
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.g.cs
index 2aa94d6..34074e8 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.g.cs
@@ -59,6 +59,8 @@ public CohereApi(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -67,6 +69,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.g.cs
index 2b95702..2243d21 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.g.cs
@@ -32,6 +32,8 @@ public ConnectorsClient(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -40,6 +42,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.g.cs
index ed7bf15..7eda9d8 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.g.cs
@@ -32,6 +32,8 @@ public DatasetsClient(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -40,6 +42,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(
diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.g.cs
index 9f1c69a..88caa51 100644
--- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.g.cs
@@ -32,6 +32,8 @@ public EmbedJobsClient(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -40,6 +42,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.g.cs
index 65954e0..5f77bcb 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.g.cs
@@ -32,6 +32,8 @@ public FinetuningClient(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -40,6 +42,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(
diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.g.cs
index 8a4a34b..90d1d09 100644
--- a/src/libs/Cohere/Generated/Cohere.ModelsClient.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.g.cs
@@ -31,6 +31,8 @@ public ModelsClient(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
+
+ Initialized(_httpClient);
}
///
@@ -39,6 +41,8 @@ public void Dispose()
_httpClient.Dispose();
}
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
partial void PrepareArguments(
global::System.Net.Http.HttpClient client);
partial void PrepareRequest(