Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public AssistantsClient(
{
}

/// <summary>
/// Creates a new instance of the AssistantsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AssistantsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AssistantsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public AudioClient(
{
}

/// <summary>
/// Creates a new instance of the AudioClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AudioClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AudioClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public AuditLogsClient(
{
}

/// <summary>
/// Creates a new instance of the AuditLogsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AuditLogsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AuditLogsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.BatchClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public BatchClient(
{
}

/// <summary>
/// Creates a new instance of the BatchClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public BatchClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the BatchClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public CertificatesClient(
{
}

/// <summary>
/// Creates a new instance of the CertificatesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public CertificatesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the CertificatesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public ChatClient(
{
}

/// <summary>
/// Creates a new instance of the ChatClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ChatClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ChatClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public CompletionsClient(
{
}

/// <summary>
/// Creates a new instance of the CompletionsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public CompletionsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the CompletionsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public ConversationsClient(
{
}

/// <summary>
/// Creates a new instance of the ConversationsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ConversationsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ConversationsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public EmbeddingsClient(
{
}

/// <summary>
/// Creates a new instance of the EmbeddingsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public EmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the EmbeddingsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.EvalsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public EvalsClient(
{
}

/// <summary>
/// Creates a new instance of the EvalsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public EvalsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the EvalsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.FilesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public FilesClient(
{
}

/// <summary>
/// Creates a new instance of the FilesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public FilesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the FilesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public FineTuningClient(
{
}

/// <summary>
/// Creates a new instance of the FineTuningClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public FineTuningClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the FineTuningClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GroupOrganizationRoleAssignmentsClient(
{
}

/// <summary>
/// Creates a new instance of the GroupOrganizationRoleAssignmentsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GroupOrganizationRoleAssignmentsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::tryAGI.OpenAI.EndPointAuthorization>? authorizations,
global::tryAGI.OpenAI.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GroupOrganizationRoleAssignmentsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Loading
Loading