diff --git a/.claude/skills/tryagi-openai/SKILL.md b/.claude/skills/tryagi-openai/SKILL.md index 1e79c306c..f814acba6 100644 --- a/.claude/skills/tryagi-openai/SKILL.md +++ b/.claude/skills/tryagi-openai/SKILL.md @@ -25,7 +25,7 @@ dnx tryAGI.OpenAI.CLI --help | Group | Operations | Summary | |-------|-----------:|---------| -| `agent` | 35 | | +| `agent` | 37 | | | `assistant` | 18 | Build Assistants that can call models and use tools. | | `audio` | 9 | Turn audio into text or text into audio. | | `audit-log` | 1 | List user actions and configuration changes within this organization. | diff --git a/.claude/skills/tryagi-openai/commands.md b/.claude/skills/tryagi-openai/commands.md index aba2ab8b8..0777bf74d 100644 --- a/.claude/skills/tryagi-openai/commands.md +++ b/.claude/skills/tryagi-openai/commands.md @@ -7,6 +7,7 @@ Full per-command reference derived from the OpenAPI spec. For the short overview | Command | Route | Description | |---------|-------|-------------| | `create-agent` | `POST /agents` | Create an agent | +| `create-agent-environment` | `POST /agents/environments` | Create an agent environment | | `create-agent-environment-file` | `POST /agents/environments/{environment_id}/files` | Create an agent environment file | | `create-agent-environment-template` | `POST /agents/environments/templates` | Create an agent environment template | | `create-agent-session` | `POST /agents/sessions` | Create an agent session | @@ -17,6 +18,7 @@ Full per-command reference derived from the OpenAPI spec. For the short overview | `delete-agent-session-artifact` | `DELETE /agents/sessions/{session_id}/artifacts/{artifact_id}` | Delete an agent session artifact | | `list-agent-environment-files` | `GET /agents/environments/{environment_id}/files` | List agent environment files | | `list-agent-environment-templates` | `GET /agents/environments/templates` | List agent environment templates | +| `list-agent-environments` | `GET /agents/environments` | List agent environments | | `list-agent-session-artifacts` | `GET /agents/sessions/{session_id}/artifacts` | List agent session artifacts | | `list-agent-session-events` | `GET /agents/sessions/{session_id}/events` | Stream agent session events | | `list-agent-session-items` | `GET /agents/sessions/{session_id}/items` | List agent session items | diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsApiGroupCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsApiGroupCommand.g.cs index 36b0ac3dd..468c9b4cd 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsApiGroupCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsApiGroupCommand.g.cs @@ -12,6 +12,7 @@ public static Command Create() { var command = new Command(@"agents", @"Agents endpoint commands."); command.Subcommands.Add(AgentsCreateAgentCommandApiCommand.Create()); + command.Subcommands.Add(AgentsCreateAgentEnvironmentCommandApiCommand.Create()); command.Subcommands.Add(AgentsCreateAgentEnvironmentFileCommandApiCommand.Create()); command.Subcommands.Add(AgentsCreateAgentEnvironmentTemplateCommandApiCommand.Create()); command.Subcommands.Add(AgentsCreateAgentSessionCommandApiCommand.Create()); @@ -23,6 +24,7 @@ public static Command Create() command.Subcommands.Add(AgentsDeleteAgentSessionArtifactCommandApiCommand.Create()); command.Subcommands.Add(AgentsListAgentEnvironmentFilesCommandApiCommand.Create()); command.Subcommands.Add(AgentsListAgentEnvironmentTemplatesCommandApiCommand.Create()); + command.Subcommands.Add(AgentsListAgentEnvironmentsCommandApiCommand.Create()); command.Subcommands.Add(AgentsListAgentSessionArtifactsCommandApiCommand.Create()); command.Subcommands.Add(AgentsListAgentSessionEventsCommandApiCommand.Create()); command.Subcommands.Add(AgentsListAgentSessionItemsCommandApiCommand.Create()); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsCreateAgentEnvironmentCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsCreateAgentEnvironmentCommandApiCommand.g.cs new file mode 100644 index 000000000..a0bef82ff --- /dev/null +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsCreateAgentEnvironmentCommandApiCommand.g.cs @@ -0,0 +1,172 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace tryAGI.OpenAI.Cli.GeneratedApi.Commands; + +internal static partial class AgentsCreateAgentEnvironmentCommandApiCommand +{ + private static Option IdempotencyKey { get; } = new( + name: @"--idempotency-key") + { + Description = @"Deduplicates creation for 24 hours within the authenticated organization, project, and creator. Retry the same JSON parameters with the same key to retrieve the original environment in its current state. Different parameters or an incomplete hosted creation return 409. Deleted environments are not recreated. After retention expires, the key may create a new environment. Without this header, each request creates a new environment.", + }; + + private static Option Environment { get; } = new( + name: @"--environment") + { + Description = @"The required hosting type and its configuration.", + Required = true, + }; + + private static Option?> VaultIds { get; } = new( + name: @"--vault-ids") + { + Description = @"The IDs of up to 10 vaults made available to an OpenAI-hosted environment.", + }; + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + private static Option Wait { get; } = new("--wait") + { + Description = "Poll the generated wait helper until the resource reaches a terminal state.", + }; + + private static Option PollInterval { get; } = new("--poll-interval") + { + Description = "Polling interval, for example 250ms, 2s, 30m, or 01:00:00.", + DefaultValueFactory = _ => "2s", + }; + + private static Option WaitTimeout { get; } = new("--wait-timeout") + { + Description = "Maximum time to wait before timing out, for example 30m or 00:30:00.", + DefaultValueFactory = _ => "30m", + }; + + private static string FormatResponse(ParseResult parseResult, global::tryAGI.OpenAI.PublicEnvironmentResource value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, global::tryAGI.OpenAI.PublicEnvironmentResource value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"create-agent-environment", @"Create an agent environment +Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta."); + command.Options.Add(IdempotencyKey); + command.Options.Add(Environment); + command.Options.Add(VaultIds); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount > 1) + { + result.AddError(@"Specify at most one of --input, --request-json, or --request-file."); + } + }); + command.Options.Add(Wait); + command.Options.Add(PollInterval); + command.Options.Add(WaitTimeout); + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::tryAGI.OpenAI.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); + var idempotencyKey = parseResult.GetValue(IdempotencyKey); + var environment = parseResult.GetRequiredValue(Environment); + var vaultIds = CliRuntime.WasSpecified(parseResult, VaultIds) ? parseResult.GetValue(VaultIds) : (__requestBase is { } __VaultIdsBaseValue ? __VaultIdsBaseValue.VaultIds : default); var wait = parseResult.GetValue(Wait); + var pollInterval = wait ? CliRuntime.ParseDuration(parseResult.GetRequiredValue(PollInterval), PollInterval.Name) : default; + var waitTimeout = wait ? CliRuntime.ParseDuration(parseResult.GetRequiredValue(WaitTimeout), WaitTimeout.Name) : default; + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + if (wait) + { + var createResponse = await client.Agents.CreateAgentEnvironmentAsync( + idempotencyKey: idempotencyKey, + environment: environment, + vaultIds: vaultIds, + cancellationToken: cancellationToken).ConfigureAwait(false); + var resourceId = global::System.Convert.ToString( + createResponse.Id, + global::System.Globalization.CultureInfo.InvariantCulture); + if (string.IsNullOrWhiteSpace(resourceId)) + { + throw new CliException("The create response did not contain a job id."); + } + + var waitResponse = await CliRuntime.PollUntilTerminalAsync( + fetchAsync: token => client.Agents.RetrieveAgentEnvironmentAsync( + environmentId: resourceId, + cancellationToken: token), + pollInterval: pollInterval, + waitTimeout: waitTimeout, + context: global::tryAGI.OpenAI.SourceGenerationContext.Default, + cancellationToken: cancellationToken).ConfigureAwait(false); + await CliRuntime.WriteResponseAsync( + parseResult, + waitResponse, + global::tryAGI.OpenAI.SourceGenerationContext.Default, + cancellationToken: cancellationToken).ConfigureAwait(false); + return; + } + + var response = await client.Agents.CreateAgentEnvironmentAsync( + idempotencyKey: idempotencyKey, + environment: environment, + vaultIds: vaultIds, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::tryAGI.OpenAI.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsListAgentEnvironmentsCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsListAgentEnvironmentsCommandApiCommand.g.cs new file mode 100644 index 000000000..420a524b7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/AgentsListAgentEnvironmentsCommandApiCommand.g.cs @@ -0,0 +1,102 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace tryAGI.OpenAI.Cli.GeneratedApi.Commands; + +internal static partial class AgentsListAgentEnvironmentsCommandApiCommand +{ + private static Option Limit { get; } = new( + name: @"--limit") + { + Description = @"The maximum number of resources to return, between 1 and 100. Defaults to 20.", + }; + + private static Option Order { get; } = new( + name: @"--order") + { + Description = @"The order in which resources are returned. Defaults to `desc`.", + }; + + private static Option After { get; } = new( + name: @"--after") + { + Description = @"Return resources after this resource ID in the selected order.", + }; + + private static Option Type { get; } = new( + name: @"--type") + { + Description = @"The hosting type to list. Defaults to `openai_hosted`.", + }; + + private static string FormatResponse(ParseResult parseResult, global::tryAGI.OpenAI.AgentEnvironmentListResource value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, global::tryAGI.OpenAI.AgentEnvironmentListResource value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"list-agent-environments", @"List agent environments +Lists OpenAI-hosted environments owned by the authenticated principal. Requires access to the prewarming beta."); + command.Options.Add(Limit); + command.Options.Add(Order); + command.Options.Add(After); + command.Options.Add(Type); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var limit = parseResult.GetValue(Limit); + var order = parseResult.GetValue(Order); + var after = parseResult.GetValue(After); + var type = parseResult.GetValue(Type); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.Agents.ListAgentEnvironmentsAsync( + limit: limit, + order: order, + after: after, + type: type, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + if (!await CliRuntime.TryWriteOutputDirectoryAsync( + parseResult, + response, + global::tryAGI.OpenAI.SourceGenerationContext.Default, + @"Data", + cancellationToken).ConfigureAwait(false)) + { + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::tryAGI.OpenAI.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + } + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/DecisionsCreateDecisionCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/DecisionsCreateDecisionCommandApiCommand.g.cs index f3461d1ea..d311e1fc0 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/DecisionsCreateDecisionCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/DecisionsCreateDecisionCommandApiCommand.g.cs @@ -17,7 +17,7 @@ internal static partial class DecisionsCreateDecisionCommandApiCommand private static Option InputOption { get; } = new( name: @"--input") { - Description = @"The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported.", + Description = @"The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported.", Required = true, }; @@ -77,7 +77,7 @@ public static Command Create(string? commandName = null) var command = new Command(commandName ?? @"create-decision", @"Create a decision Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions. -For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported. +For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported. Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one."); command.Options.Add(Model); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironment.g.cs new file mode 100644 index 000000000..3200be2e8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironment.g.cs @@ -0,0 +1,787 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class AgentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_CreateAgentEnvironmentSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_CreateAgentEnvironmentSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_CreateAgentEnvironmentSecurityRequirement0, + }; + partial void PrepareCreateAgentEnvironmentArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? idempotencyKey, + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request); + partial void PrepareCreateAgentEnvironmentRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? idempotencyKey, + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request); + partial void ProcessCreateAgentEnvironmentResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateAgentEnvironmentResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateAgentEnvironmentAsync( + + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request, + string? idempotencyKey = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateAgentEnvironmentAsResponseAsync( + + request: request, + idempotencyKey: idempotencyKey, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateAgentEnvironmentAsResponseAsync( + + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request, + string? idempotencyKey = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateAgentEnvironmentArguments( + httpClient: HttpClient, + idempotencyKey: ref idempotencyKey, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateAgentEnvironmentSecurityRequirements, + operationName: "CreateAgentEnvironmentAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/agents/environments", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __idempotencyKey = global::System.String.IsNullOrWhiteSpace(idempotencyKey) + ? CreateIdempotencyKey() + : idempotencyKey; + __httpRequest.Headers.TryAddWithoutValidation("Idempotency-Key", __idempotencyKey); + + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateAgentEnvironmentRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + idempotencyKey: idempotencyKey, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAgentEnvironment", + methodName: "CreateAgentEnvironmentAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAgentEnvironment", + methodName: "CreateAgentEnvironmentAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAgentEnvironment", + methodName: "CreateAgentEnvironmentAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateAgentEnvironmentResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAgentEnvironment", + methodName: "CreateAgentEnvironmentAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAgentEnvironment", + methodName: "CreateAgentEnvironmentAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // The request was invalid. + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Authentication or project context was missing. + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The API key lacks the required permission. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The requested environment or referenced resource was not found. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request conflicted with the current environment state. + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request exceeded a rate or capacity limit. + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // An internal error occurred. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The service is temporarily unavailable. + if ((int)__response.StatusCode == 503) + { + string? __content_503 = null; + global::System.Exception? __exception_503 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_503 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_503 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_503, JsonSerializerContext); + } + else + { + __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_503 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_503, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_503 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_503, + responseBody: __content_503, + responseObject: __value_503, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateAgentEnvironmentResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.PublicEnvironmentResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.PublicEnvironmentResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// The required hosting type and its configuration. + /// + /// + /// The IDs of up to 10 vaults made available to an OpenAI-hosted environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateAgentEnvironmentAsync( + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted environment, + string? idempotencyKey = default, + global::System.Collections.Generic.IList? vaultIds = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.CreateAgentEnvironmentParams + { + Environment = environment, + VaultIds = vaultIds, + }; + + return await CreateAgentEnvironmentAsync( + idempotencyKey: idempotencyKey, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.ListAgentEnvironments.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.ListAgentEnvironments.g.cs new file mode 100644 index 000000000..dd587925a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.ListAgentEnvironments.g.cs @@ -0,0 +1,770 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class AgentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_ListAgentEnvironmentsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_ListAgentEnvironmentsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_ListAgentEnvironmentsSecurityRequirement0, + }; + partial void PrepareListAgentEnvironmentsArguments( + global::System.Net.Http.HttpClient httpClient, + ref long? limit, + ref global::tryAGI.OpenAI.ListOrderParam? order, + ref string? after, + ref global::tryAGI.OpenAI.EnvironmentTypeParam? type); + partial void PrepareListAgentEnvironmentsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + long? limit, + global::tryAGI.OpenAI.ListOrderParam? order, + string? after, + global::tryAGI.OpenAI.EnvironmentTypeParam? type); + partial void ProcessListAgentEnvironmentsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListAgentEnvironmentsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List agent environments
+ /// Lists OpenAI-hosted environments owned by the authenticated principal. Requires access to the prewarming beta. + ///
+ /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// + /// The hosting type of an execution environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListAgentEnvironmentsAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + string? after = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListAgentEnvironmentsAsResponseAsync( + limit: limit, + order: order, + after: after, + type: type, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List agent environments
+ /// Lists OpenAI-hosted environments owned by the authenticated principal. Requires access to the prewarming beta. + ///
+ /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// + /// The hosting type of an execution environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ListAgentEnvironmentsAsResponseAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + string? after = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListAgentEnvironmentsArguments( + httpClient: HttpClient, + limit: ref limit, + order: ref order, + after: ref after, + type: ref type); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListAgentEnvironmentsSecurityRequirements, + operationName: "ListAgentEnvironmentsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/agents/environments", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("order", order?.ToValueString()) + .AddOptionalParameter("after", after) + .AddOptionalParameter("type", type?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListAgentEnvironmentsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + order: order, + after: after, + type: type); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAgentEnvironments", + methodName: "ListAgentEnvironmentsAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAgentEnvironments", + methodName: "ListAgentEnvironmentsAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAgentEnvironments", + methodName: "ListAgentEnvironmentsAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListAgentEnvironmentsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAgentEnvironments", + methodName: "ListAgentEnvironmentsAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAgentEnvironments", + methodName: "ListAgentEnvironmentsAsync", + pathTemplate: "\"/agents/environments\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // The request was invalid. + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Authentication or project context was missing. + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The API key lacks the required permission. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The requested environment or referenced resource was not found. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request conflicted with the current environment state. + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // An internal error occurred. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The service is temporarily unavailable. + if ((int)__response.StatusCode == 503) + { + string? __content_503 = null; + global::System.Exception? __exception_503 = null; + global::tryAGI.OpenAI.ErrorResponse2? __value_503 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_503 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_503, JsonSerializerContext); + } + else + { + __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_503 = global::tryAGI.OpenAI.ErrorResponse2.FromJson(__content_503, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_503 = __ex; + } + + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_503, + responseBody: __content_503, + responseObject: __value_503, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListAgentEnvironmentsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.AgentEnvironmentListResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.AgentEnvironmentListResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::tryAGI.OpenAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps ListAgentEnvironmentsAsync as an IAsyncEnumerable<global::tryAGI.OpenAI.PublicEnvironmentResource> that auto-pages over the response. + /// + /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// The hosting type of an execution environment. + /// + /// Initial cursor to start enumerating from. Defaults to null (first page). + /// + public global::System.Collections.Generic.IAsyncEnumerable ListAgentEnvironmentsAutoPagingAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + string? after = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::tryAGI.OpenAI.AutoSDKPager.CursorAsync( + fetchPage: (__cursor, __ct) => ListAgentEnvironmentsAsync( + limit: limit, + order: order, + after: __cursor, + type: type, + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextCursor: static __response => __response is null ? null : __response.LastId, + initialCursor: after, + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DecisionsClient.CreateDecision.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DecisionsClient.CreateDecision.g.cs index cbf06d285..56966a854 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DecisionsClient.CreateDecision.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DecisionsClient.CreateDecision.g.cs @@ -44,7 +44,7 @@ partial void ProcessCreateDecisionResponseContent( /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// @@ -69,7 +69,7 @@ partial void ProcessCreateDecisionResponseContent( /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// @@ -440,12 +440,12 @@ partial void ProcessCreateDecisionResponseContent( /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// /// - /// The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported. + /// The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported. /// /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironment.g.cs new file mode 100644 index 000000000..2a4660757 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironment.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IAgentsClient + { + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAgentEnvironmentAsync( + + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request, + string? idempotencyKey = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateAgentEnvironmentAsResponseAsync( + + global::tryAGI.OpenAI.CreateAgentEnvironmentParams request, + string? idempotencyKey = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create an agent environment
+ /// Creates an OpenAI-hosted environment before creating a session. Requires access to the prewarming beta. + ///
+ /// + /// Optional idempotency key. When omitted, the SDK generates one for this request. + /// + /// + /// The required hosting type and its configuration. + /// + /// + /// The IDs of up to 10 vaults made available to an OpenAI-hosted environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAgentEnvironmentAsync( + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted environment, + string? idempotencyKey = default, + global::System.Collections.Generic.IList? vaultIds = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.ListAgentEnvironments.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.ListAgentEnvironments.g.cs new file mode 100644 index 000000000..c83d0ad55 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.ListAgentEnvironments.g.cs @@ -0,0 +1,81 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IAgentsClient + { + /// + /// List agent environments
+ /// Lists OpenAI-hosted environments owned by the authenticated principal. Requires access to the prewarming beta. + ///
+ /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// + /// The hosting type of an execution environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListAgentEnvironmentsAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + string? after = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List agent environments
+ /// Lists OpenAI-hosted environments owned by the authenticated principal. Requires access to the prewarming beta. + ///
+ /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// + /// The hosting type of an execution environment. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListAgentEnvironmentsAsResponseAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + string? after = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps ListAgentEnvironmentsAsync as an IAsyncEnumerable<global::tryAGI.OpenAI.PublicEnvironmentResource> that auto-pages over the response. + /// + /// + /// Default Value: 20 + /// + /// + /// The order in which paginated resources are returned.
+ /// Default Value: desc + /// + /// + /// The hosting type of an execution environment. + /// + /// Initial cursor to start enumerating from. Defaults to null (first page). + /// + global::System.Collections.Generic.IAsyncEnumerable ListAgentEnvironmentsAutoPagingAsync( + long? limit = default, + global::tryAGI.OpenAI.ListOrderParam? order = default, + global::tryAGI.OpenAI.EnvironmentTypeParam? type = default, + string? after = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDecisionsClient.CreateDecision.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDecisionsClient.CreateDecision.g.cs index aa009598e..13d8f3c30 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDecisionsClient.CreateDecision.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDecisionsClient.CreateDecision.g.cs @@ -7,7 +7,7 @@ public partial interface IDecisionsClient /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// @@ -22,7 +22,7 @@ public partial interface IDecisionsClient /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// @@ -37,12 +37,12 @@ public partial interface IDecisionsClient /// /// Create a decision
/// Use this endpoint to ask classification or scoring questions about the same input. You’ll get the answers back in the order you asked the questions.
- /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images must be data URLs; external URLs and file IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
+ /// For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images per request. Images can be base64 data URLs or publicly accessible HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function calls, files, audio, and item references aren’t supported.
/// Sometimes a question returns a refusal instead of an answer. The result has type `refusal` and includes the question’s name, or `null` if you didn’t give it one. ///
/// /// - /// The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported. + /// The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported. /// /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObject.g.cs new file mode 100644 index 000000000..c470bc1db --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class AgentEnvironmentListResourceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.AgentEnvironmentListResourceObject Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.AgentEnvironmentListResourceObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.AgentEnvironmentListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.AgentEnvironmentListResourceObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.AgentEnvironmentListResourceObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectNullable.g.cs new file mode 100644 index 000000000..0ca1696b2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class AgentEnvironmentListResourceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.AgentEnvironmentListResourceObject? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.AgentEnvironmentListResourceObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.AgentEnvironmentListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.AgentEnvironmentListResourceObject? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.AgentEnvironmentListResourceObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParam.g.cs new file mode 100644 index 000000000..e5d40ef28 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParam.g.cs @@ -0,0 +1,57 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class CreateEnvironmentParamJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateEnvironmentParam Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? openaiHosted = default; + if (discriminator?.Type == global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType.OpenaiHosted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted)}"); + openaiHosted = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::tryAGI.OpenAI.CreateEnvironmentParam( + discriminator?.Type, + openaiHosted + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateEnvironmentParam value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsOpenaiHosted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenaiHosted(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorType.g.cs new file mode 100644 index 000000000..822526f25 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateEnvironmentParamDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..17f10e9cf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateEnvironmentParamDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedType.g.cs new file mode 100644 index 000000000..5e0f8a4f7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateEnvironmentParamOpenaiHostedTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeNullable.g.cs new file mode 100644 index 000000000..c63f608cb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateEnvironmentParamOpenaiHostedTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParam.g.cs new file mode 100644 index 000000000..92049bebb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParam.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class EnvironmentTypeParamJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.EnvironmentTypeParam Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.EnvironmentTypeParamExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.EnvironmentTypeParam)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.EnvironmentTypeParam); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.EnvironmentTypeParam value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.EnvironmentTypeParamExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParamNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParamNullable.g.cs new file mode 100644 index 000000000..2c7f2200e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentTypeParamNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class EnvironmentTypeParamNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.EnvironmentTypeParam? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.EnvironmentTypeParamExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.EnvironmentTypeParam)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.EnvironmentTypeParam?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.EnvironmentTypeParam? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.EnvironmentTypeParamExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs new file mode 100644 index 000000000..8f79ef451 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveAllowedToolsChoiceParamToolDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..ba25ebc0f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveAllowedToolsChoiceParamToolDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamType.g.cs new file mode 100644 index 000000000..7274dfff0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveAllowedToolsChoiceParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeNullable.g.cs new file mode 100644 index 000000000..6f2bea18f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveAllowedToolsChoiceParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamType.g.cs new file mode 100644 index 000000000..9443a4432 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveFunctionToolChoiceParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveFunctionToolChoiceParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeNullable.g.cs new file mode 100644 index 000000000..4653e7baf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveFunctionToolChoiceParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveFunctionToolChoiceParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamType.g.cs new file mode 100644 index 000000000..9c00e11ed --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveMCPToolChoiceParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveMCPToolChoiceParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveMCPToolChoiceParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveMCPToolChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveMCPToolChoiceParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveMCPToolChoiceParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeNullable.g.cs new file mode 100644 index 000000000..a9cfde252 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveMCPToolChoiceParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveMCPToolChoiceParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveMCPToolChoiceParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveMCPToolChoiceParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveMCPToolChoiceParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveMCPToolChoiceParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs new file mode 100644 index 000000000..415edddd2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..9b19ca362 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs new file mode 100644 index 000000000..334fc08d6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..32e5bab24 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamType.g.cs new file mode 100644 index 000000000..b61872711 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificApplyPatchParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificApplyPatchParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeNullable.g.cs new file mode 100644 index 000000000..1c6dedaa6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificApplyPatchParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificApplyPatchParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamType.g.cs new file mode 100644 index 000000000..670402c51 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificCodeInterpreterParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeNullable.g.cs new file mode 100644 index 000000000..3e0d44363 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificCodeInterpreterParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamType.g.cs new file mode 100644 index 000000000..459872a3c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificComputerParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificComputerParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificComputerParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificComputerParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificComputerParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificComputerParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificComputerParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeNullable.g.cs new file mode 100644 index 000000000..ab8888a2d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificComputerParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificComputerParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificComputerParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificComputerParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificComputerParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificComputerParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificComputerParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamType.g.cs new file mode 100644 index 000000000..57e3418d7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificCustomToolParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificCustomToolParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificCustomToolParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificCustomToolParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificCustomToolParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificCustomToolParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeNullable.g.cs new file mode 100644 index 000000000..c28445eb6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificCustomToolParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificCustomToolParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificCustomToolParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificCustomToolParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificCustomToolParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificCustomToolParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamType.g.cs new file mode 100644 index 000000000..7f00eaa37 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificFileSearchParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificFileSearchParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificFileSearchParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificFileSearchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificFileSearchParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificFileSearchParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeNullable.g.cs new file mode 100644 index 000000000..981335bd7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificFileSearchParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificFileSearchParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificFileSearchParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificFileSearchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificFileSearchParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificFileSearchParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamType.g.cs new file mode 100644 index 000000000..f75c0a8c6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificFunctionShellParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificFunctionShellParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeNullable.g.cs new file mode 100644 index 000000000..e2d57c7e6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificFunctionShellParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificFunctionShellParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamType.g.cs new file mode 100644 index 000000000..b7cdb6421 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificImageGenParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificImageGenParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificImageGenParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificImageGenParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificImageGenParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificImageGenParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificImageGenParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeNullable.g.cs new file mode 100644 index 000000000..a933e0274 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificImageGenParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificImageGenParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificImageGenParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificImageGenParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificImageGenParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificImageGenParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificImageGenParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamType.g.cs new file mode 100644 index 000000000..1b34a9549 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificProgrammaticToolCallingParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeNullable.g.cs new file mode 100644 index 000000000..b546b836c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificProgrammaticToolCallingParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamType.g.cs new file mode 100644 index 000000000..5d7229c85 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificWebSearchParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificWebSearchParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificWebSearchParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificWebSearchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificWebSearchParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificWebSearchParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeNullable.g.cs new file mode 100644 index 000000000..a273697b2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificWebSearchParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificWebSearchParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificWebSearchParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificWebSearchParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificWebSearchParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificWebSearchParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamType.g.cs new file mode 100644 index 000000000..709e8510b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificWebSearchPreviewParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeNullable.g.cs new file mode 100644 index 000000000..9bafb0c6d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveSpecificWebSearchPreviewParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnum.g.cs new file mode 100644 index 000000000..da9b17b46 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnum.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveToolChoiceValueEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveToolChoiceValueEnum Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveToolChoiceValueEnumExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveToolChoiceValueEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveToolChoiceValueEnum); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveToolChoiceValueEnum value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.LiveToolChoiceValueEnumExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnumNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnumNullable.g.cs new file mode 100644 index 000000000..5d6163f1c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnumNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class LiveToolChoiceValueEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.LiveToolChoiceValueEnum? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.LiveToolChoiceValueEnumExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.LiveToolChoiceValueEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.LiveToolChoiceValueEnum?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.LiveToolChoiceValueEnum? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.LiveToolChoiceValueEnumExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEvent.g.cs index f06bcc80d..c0f44101d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEvent.g.cs @@ -35,6 +35,20 @@ public class SessionEventJsonConverter : global::System.Text.Json.Serialization. throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady)}"); agentSessionEnvironmentReady = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? agentSessionEnvironmentSuspended = default; + if (discriminator?.Type == global::tryAGI.OpenAI.SessionEventDiscriminatorType.AgentSessionEnvironmentSuspended) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended)}"); + agentSessionEnvironmentSuspended = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? agentSessionEnvironmentExpired = default; + if (discriminator?.Type == global::tryAGI.OpenAI.SessionEventDiscriminatorType.AgentSessionEnvironmentExpired) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired)}"); + agentSessionEnvironmentExpired = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? agentSessionEnvironmentReset = default; if (discriminator?.Type == global::tryAGI.OpenAI.SessionEventDiscriminatorType.AgentSessionEnvironmentReset) { @@ -245,6 +259,10 @@ public class SessionEventJsonConverter : global::System.Text.Json.Serialization. agentSessionEnvironmentReady, + agentSessionEnvironmentSuspended, + + agentSessionEnvironmentExpired, + agentSessionEnvironmentReset, agentOutputCommandExecutionOutputDelta, @@ -328,6 +346,18 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgentSessionEnvironmentReady(), typeInfo); } + else if (value.IsAgentSessionEnvironmentSuspended) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgentSessionEnvironmentSuspended(), typeInfo); + } + else if (value.IsAgentSessionEnvironmentExpired) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgentSessionEnvironmentExpired(), typeInfo); + } else if (value.IsAgentSessionEnvironmentReset) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredType.g.cs new file mode 100644 index 000000000..70c21edf7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SessionEventAgentSessionEnvironmentExpiredTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeNullable.g.cs new file mode 100644 index 000000000..a396d1d4f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SessionEventAgentSessionEnvironmentExpiredTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedType.g.cs new file mode 100644 index 000000000..2abed918a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SessionEventAgentSessionEnvironmentSuspendedTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeNullable.g.cs new file mode 100644 index 000000000..98bdccfa7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SessionEventAgentSessionEnvironmentSuspendedTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant2.g.cs new file mode 100644 index 000000000..0a0fb39c3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant2.g.cs @@ -0,0 +1,222 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class ToolChoiceVariant2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ToolChoiceVariant2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Function) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam)}"); + function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Mcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam)}"); + mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.FileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam)}"); + fileSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam)}"); + webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam)}"); + webSearchPreview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificImageGenParam)}"); + imageGeneration = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Computer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificComputerParam)}"); + computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam)}"); + codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam)}"); + programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Shell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam)}"); + shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Custom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam)}"); + applyPatch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::tryAGI.OpenAI.ToolChoiceVariant2( + discriminator?.Type, + function, + + mcp, + + fileSearch, + + webSearch, + + webSearchPreview, + + imageGeneration, + + computer, + + codeInterpreter, + + programmaticToolCalling, + + shell, + + custom, + + applyPatch + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ToolChoiceVariant2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsFunction) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); + } + else if (value.IsMcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMcp(), typeInfo); + } + else if (value.IsFileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFileSearch(), typeInfo); + } + else if (value.IsWebSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearch(), typeInfo); + } + else if (value.IsWebSearchPreview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearchPreview(), typeInfo); + } + else if (value.IsImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageGeneration(), typeInfo); + } + else if (value.IsComputer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComputer(), typeInfo); + } + else if (value.IsCodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCodeInterpreter(), typeInfo); + } + else if (value.IsProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProgrammaticToolCalling(), typeInfo); + } + else if (value.IsShell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickShell(), typeInfo); + } + else if (value.IsCustom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); + } + else if (value.IsApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApplyPatch(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant22.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant22.g.cs new file mode 100644 index 000000000..712bf183d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceVariant22.g.cs @@ -0,0 +1,222 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class ToolChoiceVariant22JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ToolChoiceVariant22 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Function) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam)}"); + function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Mcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam)}"); + mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.FileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam)}"); + fileSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam)}"); + webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam)}"); + webSearchPreview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificImageGenParam)}"); + imageGeneration = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Computer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificComputerParam)}"); + computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam)}"); + codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam)}"); + programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Shell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam)}"); + shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Custom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam)}"); + applyPatch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::tryAGI.OpenAI.ToolChoiceVariant22( + discriminator?.Type, + function, + + mcp, + + fileSearch, + + webSearch, + + webSearchPreview, + + imageGeneration, + + computer, + + codeInterpreter, + + programmaticToolCalling, + + shell, + + custom, + + applyPatch + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ToolChoiceVariant22 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsFunction) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); + } + else if (value.IsMcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMcp(), typeInfo); + } + else if (value.IsFileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFileSearch(), typeInfo); + } + else if (value.IsWebSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearch(), typeInfo); + } + else if (value.IsWebSearchPreview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearchPreview(), typeInfo); + } + else if (value.IsImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageGeneration(), typeInfo); + } + else if (value.IsComputer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComputer(), typeInfo); + } + else if (value.IsCodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCodeInterpreter(), typeInfo); + } + else if (value.IsProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProgrammaticToolCalling(), typeInfo); + } + else if (value.IsShell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickShell(), typeInfo); + } + else if (value.IsCustom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); + } + else if (value.IsApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApplyPatch(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem15.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem15.g.cs index a22b0f86f..9bcb04e9b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem15.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem15.g.cs @@ -17,99 +17,92 @@ public class ToolsItem15JsonConverter : global::System.Text.Json.Serialization.J var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::tryAGI.OpenAI.LiveFunctionToolInputParam? function = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Function) + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.Function) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolInputParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam)}"); function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.WebSearch) + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.Mcp) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam)}"); - webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam)}"); + mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.FileSearch) + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.FileSearch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam)}"); fileSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? codeInterpreter = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.CodeInterpreter) + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam)}"); - codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam)}"); + webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveHostedShellToolInputParam? shell = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Shell) + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearchPreview) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam)}"); - shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam)}"); + webSearchPreview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? imageGeneration = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ImageGeneration) + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.ImageGeneration) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificImageGenParam)}"); imageGeneration = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveMCPToolInputParam? mcp = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Mcp) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolInputParam)}"); - mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::tryAGI.OpenAI.LiveCustomToolInputParam? custom = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Custom) + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.Computer) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCustomToolInputParam)}"); - custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificComputerParam)}"); + computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveNamespaceToolInputParam? @namespace = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Namespace) + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.CodeInterpreter) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam)}"); - @namespace = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam)}"); + codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveToolSearchToolInputParam? toolSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ToolSearch) + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.ProgrammaticToolCalling) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam)}"); - toolSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam)}"); + programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? programmaticToolCalling = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ProgrammaticToolCalling) + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.Shell) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam)}"); - programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam)}"); + shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveComputerToolInputParam? computer = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Computer) + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveComputerToolInputParam)}"); - computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? applyPatch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ApplyPatch) + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType.ApplyPatch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam)}"); applyPatch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -117,27 +110,25 @@ public class ToolsItem15JsonConverter : global::System.Text.Json.Serialization.J discriminator?.Type, function, - webSearch, + mcp, fileSearch, - codeInterpreter, + webSearch, - shell, + webSearchPreview, imageGeneration, - mcp, - - custom, - - @namespace, + computer, - toolSearch, + codeInterpreter, programmaticToolCalling, - computer, + shell, + + custom, applyPatch ); @@ -156,80 +147,74 @@ public override void Write( if (value.IsFunction) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); } - else if (value.IsWebSearch) + else if (value.IsMcp) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearch(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMcp(), typeInfo); } else if (value.IsFileSearch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFileSearch(), typeInfo); } - else if (value.IsCodeInterpreter) + else if (value.IsWebSearch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCodeInterpreter(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearch(), typeInfo); } - else if (value.IsShell) + else if (value.IsWebSearchPreview) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickShell(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearchPreview(), typeInfo); } else if (value.IsImageGeneration) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageGeneration(), typeInfo); } - else if (value.IsMcp) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMcp(), typeInfo); - } - else if (value.IsCustom) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); - } - else if (value.IsNamespace) + else if (value.IsComputer) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickNamespace(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComputer(), typeInfo); } - else if (value.IsToolSearch) + else if (value.IsCodeInterpreter) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolSearch(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCodeInterpreter(), typeInfo); } else if (value.IsProgrammaticToolCalling) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProgrammaticToolCalling(), typeInfo); } - else if (value.IsComputer) + else if (value.IsShell) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComputer(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickShell(), typeInfo); + } + else if (value.IsCustom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); } else if (value.IsApplyPatch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApplyPatch(), typeInfo); } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem16.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem16.g.cs index fa0f6609f..1bee852b4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem16.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem16.g.cs @@ -17,96 +17,96 @@ public class ToolsItem16JsonConverter : global::System.Text.Json.Serialization.J var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::tryAGI.OpenAI.LiveFunctionToolInputParam? function = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Function) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Function) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolInputParam)}"); function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.WebSearch) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.WebSearch) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam)}"); webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.FileSearch) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.FileSearch) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam)}"); fileSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? codeInterpreter = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.CodeInterpreter) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.CodeInterpreter) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam)}"); codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveHostedShellToolInputParam? shell = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Shell) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Shell) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam)}"); shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? imageGeneration = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ImageGeneration) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ImageGeneration) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam)}"); imageGeneration = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveMCPToolInputParam? mcp = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Mcp) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Mcp) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolInputParam)}"); mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveCustomToolInputParam? custom = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Custom) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Custom) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCustomToolInputParam)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveNamespaceToolInputParam? @namespace = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Namespace) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Namespace) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam)}"); @namespace = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveToolSearchToolInputParam? toolSearch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ToolSearch) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ToolSearch) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam)}"); toolSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? programmaticToolCalling = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ProgrammaticToolCalling) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ProgrammaticToolCalling) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam)}"); programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveComputerToolInputParam? computer = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Computer) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.Computer) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveComputerToolInputParam)}"); computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? applyPatch = default; - if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ApplyPatch) + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType.ApplyPatch) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam)}"); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem17.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem17.g.cs index f8715f74d..9d997de0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem17.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem17.g.cs @@ -17,30 +17,129 @@ public class ToolsItem17JsonConverter : global::System.Text.Json.Serialization.J var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::tryAGI.OpenAI.BetaFunctionToolParam? function = default; - if (discriminator?.Type == global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType.Function) + global::tryAGI.OpenAI.LiveFunctionToolInputParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Function) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaFunctionToolParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFunctionToolInputParam)}"); function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::tryAGI.OpenAI.BetaCustomToolParam? custom = default; - if (discriminator?.Type == global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType.Custom) + global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.WebSearch) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaCustomToolParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam)}"); + webSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.FileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam)}"); + fileSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? codeInterpreter = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.CodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam)}"); + codeInterpreter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveHostedShellToolInputParam? shell = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Shell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam)}"); + shell = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? imageGeneration = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam)}"); + imageGeneration = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveMCPToolInputParam? mcp = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Mcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveMCPToolInputParam)}"); + mcp = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveCustomToolInputParam? custom = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Custom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveCustomToolInputParam)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::tryAGI.OpenAI.LiveNamespaceToolInputParam? @namespace = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Namespace) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam)}"); + @namespace = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveToolSearchToolInputParam? toolSearch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ToolSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam)}"); + toolSearch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? programmaticToolCalling = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam)}"); + programmaticToolCalling = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveComputerToolInputParam? computer = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.Computer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveComputerToolInputParam)}"); + computer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? applyPatch = default; + if (discriminator?.Type == global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType.ApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam)}"); + applyPatch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::tryAGI.OpenAI.ToolsItem17( discriminator?.Type, function, - custom + webSearch, + + fileSearch, + + codeInterpreter, + + shell, + + imageGeneration, + + mcp, + + custom, + + @namespace, + + toolSearch, + + programmaticToolCalling, + + computer, + + applyPatch ); return __value; @@ -57,16 +156,82 @@ public override void Write( if (value.IsFunction) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaFunctionToolParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); } + else if (value.IsWebSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebSearch(), typeInfo); + } + else if (value.IsFileSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFileSearch(), typeInfo); + } + else if (value.IsCodeInterpreter) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCodeInterpreter(), typeInfo); + } + else if (value.IsShell) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickShell(), typeInfo); + } + else if (value.IsImageGeneration) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageGeneration(), typeInfo); + } + else if (value.IsMcp) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMcp(), typeInfo); + } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaCustomToolParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); } + else if (value.IsNamespace) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickNamespace(), typeInfo); + } + else if (value.IsToolSearch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolSearch(), typeInfo); + } + else if (value.IsProgrammaticToolCalling) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProgrammaticToolCalling(), typeInfo); + } + else if (value.IsComputer) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComputer(), typeInfo); + } + else if (value.IsApplyPatch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApplyPatch(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem18.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem18.g.cs index e4eac6216..2f660b9f6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem18.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem18.g.cs @@ -17,19 +17,19 @@ public class ToolsItem18JsonConverter : global::System.Text.Json.Serialization.J var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? function = default; - if (discriminator?.Type == global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType.Function) + global::tryAGI.OpenAI.BetaFunctionToolParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType.Function) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaFunctionToolParam)}"); function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::tryAGI.OpenAI.BetaCustomToolParam? custom = default; - if (discriminator?.Type == global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType.Custom) + if (discriminator?.Type == global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType.Custom) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaCustomToolParam)}"); @@ -57,8 +57,8 @@ public override void Write( if (value.IsFunction) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaFunctionToolParam).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); } else if (value.IsCustom) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem19.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem19.g.cs new file mode 100644 index 000000000..7268ef7a3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem19.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class ToolsItem19JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ToolsItem19 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? function = default; + if (discriminator?.Type == global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType.Function) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam)}"); + function = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.BetaCustomToolParam? custom = default; + if (discriminator?.Type == global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType.Custom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.BetaCustomToolParam)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::tryAGI.OpenAI.ToolsItem19( + discriminator?.Type, + function, + + custom + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ToolsItem19 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsFunction) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFunction(), typeInfo); + } + else if (value.IsCustom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.BetaCustomToolParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.BetaCustomToolParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpired.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpired.g.cs new file mode 100644 index 000000000..aa13ce174 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpired.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class WebhookAgentEnvironmentExpiredJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + sessionEnvelope = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? webhookAgentEnvironmentExpiredVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2).Name}"); + webhookAgentEnvironmentExpiredVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired( + sessionEnvelope, + + webhookAgentEnvironmentExpiredVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsSessionEnvelope) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickSessionEnvelope(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsWebhookAgentEnvironmentExpiredVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickWebhookAgentEnvironmentExpiredVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2Type.g.cs new file mode 100644 index 000000000..a99fa44f4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentExpiredVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeNullable.g.cs new file mode 100644 index 000000000..17dc06119 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentExpiredVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailed.g.cs new file mode 100644 index 000000000..a7d8c0afd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailed.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class WebhookAgentEnvironmentFailedJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + sessionEnvelope = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? webhookAgentEnvironmentFailedVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2).Name}"); + webhookAgentEnvironmentFailedVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed( + sessionEnvelope, + + webhookAgentEnvironmentFailedVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsSessionEnvelope) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickSessionEnvelope(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsWebhookAgentEnvironmentFailedVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickWebhookAgentEnvironmentFailedVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2Type.g.cs new file mode 100644 index 000000000..da3c5de82 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentFailedVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeNullable.g.cs new file mode 100644 index 000000000..daedf58e4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentFailedVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReady.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReady.g.cs new file mode 100644 index 000000000..9c73be968 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReady.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class WebhookAgentEnvironmentReadyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentReady Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + sessionEnvelope = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? webhookAgentEnvironmentReadyVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2).Name}"); + webhookAgentEnvironmentReadyVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::tryAGI.OpenAI.WebhookAgentEnvironmentReady( + sessionEnvelope, + + webhookAgentEnvironmentReadyVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentReady value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsSessionEnvelope) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickSessionEnvelope(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsWebhookAgentEnvironmentReadyVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickWebhookAgentEnvironmentReadyVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2Type.g.cs new file mode 100644 index 000000000..0669541c0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentReadyVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeNullable.g.cs new file mode 100644 index 000000000..ee327dd18 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentReadyVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspended.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspended.g.cs new file mode 100644 index 000000000..f9d2680ba --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspended.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class WebhookAgentEnvironmentSuspendedJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + sessionEnvelope = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? webhookAgentEnvironmentSuspendedVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2).Name}"); + webhookAgentEnvironmentSuspendedVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended( + sessionEnvelope, + + webhookAgentEnvironmentSuspendedVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsSessionEnvelope) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickSessionEnvelope(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsWebhookAgentEnvironmentSuspendedVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickWebhookAgentEnvironmentSuspendedVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs new file mode 100644 index 000000000..e886cb6c7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentSuspendedVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeNullable.g.cs new file mode 100644 index 000000000..f0cd3d446 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class WebhookAgentEnvironmentSuspendedVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs index 207291392..8940540b4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -3199,8 +3199,21 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallAction), TypeInfoPropertyName = "WebSearchToolCallAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType), TypeInfoPropertyName = "WebSearchToolCallActionDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequired), TypeInfoPropertyName = "WebhookAgentSessionActionRequired2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired), TypeInfoPropertyName = "WebhookAgentEnvironmentExpired2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type), TypeInfoPropertyName = "WebhookAgentEnvironmentExpiredVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentEnvironmentEvent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed), TypeInfoPropertyName = "WebhookAgentEnvironmentFailed2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type), TypeInfoPropertyName = "WebhookAgentEnvironmentFailedVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReady), TypeInfoPropertyName = "WebhookAgentEnvironmentReady2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type), TypeInfoPropertyName = "WebhookAgentEnvironmentReadyVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended), TypeInfoPropertyName = "WebhookAgentEnvironmentSuspended2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type), TypeInfoPropertyName = "WebhookAgentEnvironmentSuspendedVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequired), TypeInfoPropertyName = "WebhookAgentSessionActionRequired2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type), TypeInfoPropertyName = "WebhookAgentSessionActionRequiredVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentSessionActionRequiredPayloadResource))] @@ -3657,19 +3670,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParamEnvironmentVariant1DiscriminatorType), TypeInfoPropertyName = "LiveHostedShellToolInputParamEnvironmentVariant1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParamType), TypeInfoPropertyName = "LiveImageGenerationToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParamType), TypeInfoPropertyName = "LiveMCPToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParamType), TypeInfoPropertyName = "LiveCustomToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParamType), TypeInfoPropertyName = "LiveNamespaceToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParamType), TypeInfoPropertyName = "LiveToolSearchToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParamType), TypeInfoPropertyName = "LiveProgrammaticToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParamType), TypeInfoPropertyName = "LiveComputerToolInputParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam))] internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3721,14 +3721,61 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolInputParamType), TypeInfoPropertyName = "LiveMCPToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveCustomToolInputParamType), TypeInfoPropertyName = "LiveCustomToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParamType), TypeInfoPropertyName = "LiveNamespaceToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParamType), TypeInfoPropertyName = "LiveToolSearchToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParamType), TypeInfoPropertyName = "LiveProgrammaticToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParamType), TypeInfoPropertyName = "LiveComputerToolInputParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParamType), TypeInfoPropertyName = "LiveApplyPatchToolInputParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolChoiceEnum), TypeInfoPropertyName = "LiveToolChoiceEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType), TypeInfoPropertyName = "LiveFunctionToolChoiceParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType), TypeInfoPropertyName = "LiveMCPToolChoiceParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType), TypeInfoPropertyName = "LiveSpecificFileSearchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType), TypeInfoPropertyName = "LiveSpecificWebSearchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType), TypeInfoPropertyName = "LiveSpecificWebSearchPreviewParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType), TypeInfoPropertyName = "LiveSpecificImageGenParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType), TypeInfoPropertyName = "LiveSpecificComputerParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType), TypeInfoPropertyName = "LiveSpecificCodeInterpreterParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType), TypeInfoPropertyName = "LiveSpecificProgrammaticToolCallingParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType), TypeInfoPropertyName = "LiveSpecificFunctionShellParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType), TypeInfoPropertyName = "LiveSpecificCustomToolParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType), TypeInfoPropertyName = "LiveSpecificApplyPatchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum), TypeInfoPropertyName = "LiveToolChoiceValueEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType), TypeInfoPropertyName = "LiveAllowedToolsChoiceParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem15), TypeInfoPropertyName = "ToolsItem152")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType), TypeInfoPropertyName = "LiveAllowedToolsChoiceParamToolDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem16), TypeInfoPropertyName = "ToolsItem162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType), TypeInfoPropertyName = "LiveResponsesDelegationSettingsInputParamToolDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfLiveToolChoiceEnumObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfLiveToolChoiceEnumToolChoiceVariant2LiveAllowedToolsChoiceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceVariant2), TypeInfoPropertyName = "ToolChoiceVariant22_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType), TypeInfoPropertyName = "LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParamType), TypeInfoPropertyName = "LiveResponsesDelegationParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DelegationVariant1Discriminator))] @@ -3765,10 +3812,14 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedServerEvents), TypeInfoPropertyName = "LiveDataChannelConfigParamAllowedServerEvents2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem16), TypeInfoPropertyName = "ToolsItem162")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem17), TypeInfoPropertyName = "ToolsItem172")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType), TypeInfoPropertyName = "LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfLiveToolChoiceEnumToolChoiceVariant22LiveAllowedToolsChoiceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceVariant22), TypeInfoPropertyName = "ToolChoiceVariant222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType), TypeInfoPropertyName = "LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType), TypeInfoPropertyName = "LiveResponsesDelegationUpdateParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AwsExternalStorageProviderResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AwsExternalStorageProviderResponseType), TypeInfoPropertyName = "AwsExternalStorageProviderResponseType2")] @@ -4093,6 +4144,8 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseUsageResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DecisionResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrderParam), TypeInfoPropertyName = "ListOrderParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTypeParam), TypeInfoPropertyName = "EnvironmentTypeParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTypeResource), TypeInfoPropertyName = "EnvironmentTypeResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentStatusResource), TypeInfoPropertyName = "EnvironmentStatusResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileId))] @@ -4119,14 +4172,85 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentEnvironmentListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject), TypeInfoPropertyName = "AgentEnvironmentListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ErrorBodyResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ErrorResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrderParam), TypeInfoPropertyName = "ListOrderParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource), TypeInfoPropertyName = "EnvironmentFilePageObjectResource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject), TypeInfoPropertyName = "EnvironmentFileResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileListResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentPackagesParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SetupCommandParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkAccessParam), TypeInfoPropertyName = "NetworkAccessParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkPolicyParam))] + internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DesktopParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReference))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType), TypeInfoPropertyName = "HostedSkillParamSkillReferenceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type), TypeInfoPropertyName = "InlineCapabilitySourceParamBase64Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType), TypeInfoPropertyName = "InlineCapabilitySourceParamBase64MediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParam), TypeInfoPropertyName = "InlineCapabilitySourceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType), TypeInfoPropertyName = "InlineCapabilitySourceParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInline))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType), TypeInfoPropertyName = "HostedSkillParamInlineType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParam), TypeInfoPropertyName = "HostedSkillParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType), TypeInfoPropertyName = "HostedSkillParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInline))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType), TypeInfoPropertyName = "HostedPluginParamInlineType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParam), TypeInfoPropertyName = "HostedPluginParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType), TypeInfoPropertyName = "HostedPluginParamDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamFileId))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType), TypeInfoPropertyName = "HostedEnvironmentFileParamFileIdType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamInline))] @@ -4134,6 +4258,21 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParam), TypeInfoPropertyName = "HostedEnvironmentFileParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminatorType), TypeInfoPropertyName = "HostedEnvironmentFileParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType), TypeInfoPropertyName = "CreateEnvironmentParamOpenaiHostedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParam), TypeInfoPropertyName = "CreateEnvironmentParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType), TypeInfoPropertyName = "CreateEnvironmentParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateAgentEnvironmentParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource), TypeInfoPropertyName = "EnvironmentFilePageObjectResource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject), TypeInfoPropertyName = "EnvironmentFileResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SubagentObjectResource), TypeInfoPropertyName = "SubagentObjectResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OutputTextResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OutputTextResourceType), TypeInfoPropertyName = "OutputTextResourceType2")] @@ -4181,57 +4320,6 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionCallOutputItemResourceType), TypeInfoPropertyName = "FunctionCallOutputItemResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentMessageItemResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentMessageItemResourceType), TypeInfoPropertyName = "AgentMessageItemResourceType2")] - internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.McpCallItemResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.McpCallItemResourceType), TypeInfoPropertyName = "McpCallItemResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerScreenshotResource))] @@ -4420,34 +4508,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject), TypeInfoPropertyName = "EnvironmentTemplateListResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentPackagesParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SetupCommandParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkAccessParam), TypeInfoPropertyName = "NetworkAccessParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkPolicyParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DesktopParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReference))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType), TypeInfoPropertyName = "HostedSkillParamSkillReferenceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type), TypeInfoPropertyName = "InlineCapabilitySourceParamBase64Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType), TypeInfoPropertyName = "InlineCapabilitySourceParamBase64MediaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParam), TypeInfoPropertyName = "InlineCapabilitySourceParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType), TypeInfoPropertyName = "InlineCapabilitySourceParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInline))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType), TypeInfoPropertyName = "HostedSkillParamInlineType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParam), TypeInfoPropertyName = "HostedSkillParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType), TypeInfoPropertyName = "HostedSkillParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInline))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType), TypeInfoPropertyName = "HostedPluginParamInlineType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParam), TypeInfoPropertyName = "HostedPluginParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType), TypeInfoPropertyName = "HostedPluginParamDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentTemplateParams))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateEnvironmentTemplateParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedEnvironmentTemplateResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject), TypeInfoPropertyName = "DeletedEnvironmentTemplateResourceObject2")] @@ -4566,11 +4627,10 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEnvironmentStateResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType), TypeInfoPropertyName = "SessionEventAgentSessionEnvironmentReadyType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType), TypeInfoPropertyName = "SessionEventAgentSessionEnvironmentSuspendedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType), TypeInfoPropertyName = "SessionEventAgentSessionEnvironmentExpiredType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType), TypeInfoPropertyName = "SessionEventAgentSessionEnvironmentResetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta))] @@ -4630,68 +4690,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnOutputTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartAddedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEvent), TypeInfoPropertyName = "SessionEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType), TypeInfoPropertyName = "SessionEventDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateSessionReasoningParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateSessionAgentParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateAgentSessionParams))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResourceObject), TypeInfoPropertyName = "DeletedSessionResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactResourceObject), TypeInfoPropertyName = "SessionArtifactResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactListResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactListResourceObject), TypeInfoPropertyName = "SessionArtifactListResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionArtifactResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionArtifactResourceObject), TypeInfoPropertyName = "DeletedSessionArtifactResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BrowserAuthenticationFieldValueParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthentication))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BrowserOriginAccessDecisionParam), TypeInfoPropertyName = "BrowserOriginAccessDecisionParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserOriginAccessParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParam), TypeInfoPropertyName = "ComputerUseApprovalResponseParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminatorType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessageType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputMessageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancel))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancelType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputCancelType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionCallOutputParam), TypeInfoPropertyName = "FunctionCallOutputParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResultType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputToolResultType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParam), TypeInfoPropertyName = "SessionInputParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamDiscriminatorType), TypeInfoPropertyName = "SessionInputParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSessionEventsParams))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTurnTraceResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTurnTraceResourceObject), TypeInfoPropertyName = "SessionTurnTraceResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTraceListResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTraceListResourceObject), TypeInfoPropertyName = "SessionTraceListResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultStatusParam), TypeInfoPropertyName = "VaultStatusParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultStatusFilterParam), TypeInfoPropertyName = "VaultStatusFilterParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultResourceObject), TypeInfoPropertyName = "VaultResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultListResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultListResourceObject), TypeInfoPropertyName = "VaultListResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateVaultParams))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateVaultParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4743,6 +4743,71 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEvent), TypeInfoPropertyName = "SessionEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType), TypeInfoPropertyName = "SessionEventDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateSessionReasoningParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateSessionAgentParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateAgentSessionParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResourceObject), TypeInfoPropertyName = "DeletedSessionResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactResourceObject), TypeInfoPropertyName = "SessionArtifactResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionArtifactListResourceObject), TypeInfoPropertyName = "SessionArtifactListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionArtifactResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionArtifactResourceObject), TypeInfoPropertyName = "DeletedSessionArtifactResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BrowserAuthenticationFieldValueParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthentication))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BrowserOriginAccessDecisionParam), TypeInfoPropertyName = "BrowserOriginAccessDecisionParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParamType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamBrowserOriginAccessParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParam), TypeInfoPropertyName = "ComputerUseApprovalResponseParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminatorType), TypeInfoPropertyName = "ComputerUseApprovalResponseParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessageType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancel))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancelType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputCancelType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionCallOutputParam), TypeInfoPropertyName = "FunctionCallOutputParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResultType), TypeInfoPropertyName = "SessionInputParamAgentSessionInputToolResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParam), TypeInfoPropertyName = "SessionInputParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionInputParamDiscriminatorType), TypeInfoPropertyName = "SessionInputParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSessionEventsParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTurnTraceResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTurnTraceResourceObject), TypeInfoPropertyName = "SessionTurnTraceResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTraceListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionTraceListResourceObject), TypeInfoPropertyName = "SessionTraceListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultStatusParam), TypeInfoPropertyName = "VaultStatusParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultStatusFilterParam), TypeInfoPropertyName = "VaultStatusFilterParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultResourceObject), TypeInfoPropertyName = "VaultResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VaultListResourceObject), TypeInfoPropertyName = "VaultListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateVaultParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateVaultParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedVaultResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedVaultResourceObject), TypeInfoPropertyName = "DeletedVaultResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceNone))] @@ -5013,8 +5078,8 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchExecutionType), TypeInfoPropertyName = "BetaToolSearchExecutionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaEmptyModelParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamType), TypeInfoPropertyName = "BetaNamespaceToolParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem17), TypeInfoPropertyName = "ToolsItem172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem18), TypeInfoPropertyName = "ToolsItem182")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionToolParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType), TypeInfoPropertyName = "BetaNamespaceToolParamToolDiscriminatorType2")] @@ -5140,6 +5205,57 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchCallItemParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputItemParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaAdditionalToolsItemParam))] + internal sealed partial class SourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaReasoningItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaCompactionSummaryItemParam))] @@ -5205,57 +5321,6 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaMCPApprovalResponseType), TypeInfoPropertyName = "BetaMCPApprovalResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaMCPApprovalRequestType), TypeInfoPropertyName = "BetaMCPApprovalRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaMCPListToolsType), TypeInfoPropertyName = "BetaMCPListToolsType2")] - internal sealed partial class SourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaMCPListToolsTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputItemParamType), TypeInfoPropertyName = "BetaApplyPatchToolCallOutputItemParamType2")] @@ -5331,8 +5396,8 @@ internal sealed partial class SourceGenerationContextChunk9 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminatorType), TypeInfoPropertyName = "BetaToolSearchOutputToolDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType), TypeInfoPropertyName = "BetaToolSearchOutputNamespaceToolParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem18), TypeInfoPropertyName = "ToolsItem182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem19), TypeInfoPropertyName = "ToolsItem192")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType), TypeInfoPropertyName = "BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType2")] @@ -5651,6 +5716,57 @@ internal sealed partial class SourceGenerationContextChunk9 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaPromptCacheHitDiagnosticsBodyType), TypeInfoPropertyName = "BetaPromptCacheHitDiagnosticsBodyType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaPromptCacheMissDiagnosticsBodyType), TypeInfoPropertyName = "BetaPromptCacheMissDiagnosticsBodyType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaCacheMissReasonTypeEnum), TypeInfoPropertyName = "BetaCacheMissReasonTypeEnum2")] + internal sealed partial class SourceGenerationContextChunk10 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaOutputItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaOutputItemDiscriminatorType), TypeInfoPropertyName = "BetaOutputItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseErrorCode), TypeInfoPropertyName = "BetaResponseErrorCode2")] @@ -5718,57 +5834,6 @@ internal sealed partial class SourceGenerationContextChunk9 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseOutputItemDoneEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseOutputItemDoneEventType), TypeInfoPropertyName = "BetaResponseOutputItemDoneEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseOutputItemAddedEvent))] - internal sealed partial class SourceGenerationContextChunk10 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseOutputItemAddedEventType), TypeInfoPropertyName = "BetaResponseOutputItemAddedEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseInProgressEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseInProgressEventType), TypeInfoPropertyName = "BetaResponseInProgressEventType2")] @@ -6166,6 +6231,57 @@ internal sealed partial class SourceGenerationContextChunk10 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalRunResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponse))] + internal sealed partial class SourceGenerationContextChunk11 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject), TypeInfoPropertyName = "AdminApiKeysDeleteResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteResponseResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteResponseResponseObject), TypeInfoPropertyName = "DeleteResponseResponseObject2")] @@ -6233,57 +6349,6 @@ internal sealed partial class SourceGenerationContextChunk10 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Output?), TypeInfoPropertyName = "NullableOutput2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ChatCompletionModerationOutputDiscriminatorType?), TypeInfoPropertyName = "NullableChatCompletionModerationOutputDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ChatCompletionModerationErrorType?), TypeInfoPropertyName = "NullableChatCompletionModerationErrorType2")] - internal sealed partial class SourceGenerationContextChunk11 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ChatCompletionModerationResultsType?), TypeInfoPropertyName = "NullableChatCompletionModerationResultsType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType?), TypeInfoPropertyName = "NullableChatCompletionNamedToolChoiceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomType?), TypeInfoPropertyName = "NullableChatCompletionNamedToolChoiceCustomType2")] @@ -6719,6 +6784,57 @@ internal sealed partial class SourceGenerationContextChunk11 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringImageGenCompletedEventSize2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenCompletedEventSize?), TypeInfoPropertyName = "NullableImageGenCompletedEventSize2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenCompletedEventQuality?), TypeInfoPropertyName = "NullableImageGenCompletedEventQuality2")] + internal sealed partial class SourceGenerationContextChunk12 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenCompletedEventBackground?), TypeInfoPropertyName = "NullableImageGenCompletedEventBackground2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenCompletedEventOutputFormat?), TypeInfoPropertyName = "NullableImageGenCompletedEventOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenPartialImageEventType?), TypeInfoPropertyName = "NullableImageGenPartialImageEventType2")] @@ -6784,57 +6900,6 @@ internal sealed partial class SourceGenerationContextChunk11 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSIPTransportType?), TypeInfoPropertyName = "NullableLiveSIPTransportType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSIPTrunkAuthType?), TypeInfoPropertyName = "NullableLiveSIPTrunkAuthType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveServerEvent2?), TypeInfoPropertyName = "NullableLiveServerEvent22")] - internal sealed partial class SourceGenerationContextChunk12 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Transport?), TypeInfoPropertyName = "NullableTransport2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSessionCreateRequestTransportDiscriminatorType?), TypeInfoPropertyName = "NullableLiveSessionCreateRequestTransportDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Transport2?), TypeInfoPropertyName = "NullableTransport22")] @@ -7236,6 +7301,57 @@ internal sealed partial class SourceGenerationContextChunk12 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType?), TypeInfoPropertyName = "NullableRealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningModeEnum?), TypeInfoPropertyName = "NullableReasoningModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningSummary?), TypeInfoPropertyName = "NullableReasoningSummary2")] + internal sealed partial class SourceGenerationContextChunk13 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningContext?), TypeInfoPropertyName = "NullableReasoningContext2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningGenerateSummary?), TypeInfoPropertyName = "NullableReasoningGenerateSummary2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItemType?), TypeInfoPropertyName = "NullableReasoningItemType2")] @@ -7301,57 +7417,6 @@ internal sealed partial class SourceGenerationContextChunk12 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseQueuedEventType?), TypeInfoPropertyName = "NullableResponseQueuedEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType?), TypeInfoPropertyName = "NullableResponseReasoningSummaryPartAddedEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType?), TypeInfoPropertyName = "NullableResponseReasoningSummaryPartAddedEventPartType2")] - internal sealed partial class SourceGenerationContextChunk13 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType?), TypeInfoPropertyName = "NullableResponseReasoningSummaryPartDoneEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventStatus?), TypeInfoPropertyName = "NullableResponseReasoningSummaryPartDoneEventStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType?), TypeInfoPropertyName = "NullableResponseReasoningSummaryPartDoneEventPartType2")] @@ -7596,6 +7661,14 @@ internal sealed partial class SourceGenerationContextChunk13 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchCallStatus?), TypeInfoPropertyName = "NullableWebSearchCallStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallAction?), TypeInfoPropertyName = "NullableWebSearchToolCallAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType?), TypeInfoPropertyName = "NullableWebSearchToolCallActionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentExpired2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentExpiredVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentFailed2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentFailedVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReady?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentReady2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentReadyVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentSuspended2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type?), TypeInfoPropertyName = "NullableWebhookAgentEnvironmentSuspendedVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequired?), TypeInfoPropertyName = "NullableWebhookAgentSessionActionRequired2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type?), TypeInfoPropertyName = "NullableWebhookAgentSessionActionRequiredVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookAgentSessionCreated?), TypeInfoPropertyName = "NullableWebhookAgentSessionCreated2")] @@ -7747,6 +7820,57 @@ internal sealed partial class SourceGenerationContextChunk13 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellToolParamType?), TypeInfoPropertyName = "NullableFunctionShellToolParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType?), TypeInfoPropertyName = "NullableFunctionShellToolParamEnvironmentVariant1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CustomTextFormatParamType?), TypeInfoPropertyName = "NullableCustomTextFormatParamType2")] + internal sealed partial class SourceGenerationContextChunk14 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GrammarSyntax1?), TypeInfoPropertyName = "NullableGrammarSyntax12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CustomGrammarFormatParamType?), TypeInfoPropertyName = "NullableCustomGrammarFormatParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CustomToolParamType?), TypeInfoPropertyName = "NullableCustomToolParamType2")] @@ -7816,61 +7940,10 @@ internal sealed partial class SourceGenerationContextChunk13 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchOutputItemParamType?), TypeInfoPropertyName = "NullableToolSearchOutputItemParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParamType?), TypeInfoPropertyName = "NullableAdditionalToolsItemParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParamRole?), TypeInfoPropertyName = "NullableAdditionalToolsItemParamRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionSummaryItemParamType?), TypeInfoPropertyName = "NullableCompactionSummaryItemParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemStatus?), TypeInfoPropertyName = "NullableFunctionShellCallItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemParamType?), TypeInfoPropertyName = "NullableFunctionShellCallItemParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType?), TypeInfoPropertyName = "NullableFunctionShellCallItemParamEnvironmentVariant1DiscriminatorType2")] - internal sealed partial class SourceGenerationContextChunk14 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionSummaryItemParamType?), TypeInfoPropertyName = "NullableCompactionSummaryItemParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemStatus?), TypeInfoPropertyName = "NullableFunctionShellCallItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemParamType?), TypeInfoPropertyName = "NullableFunctionShellCallItemParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType?), TypeInfoPropertyName = "NullableFunctionShellCallItemParamEnvironmentVariant1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType?), TypeInfoPropertyName = "NullableFunctionShellCallOutputTimeoutOutcomeParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType?), TypeInfoPropertyName = "NullableFunctionShellCallOutputExitOutcomeParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam?), TypeInfoPropertyName = "NullableFunctionShellCallOutputOutcomeParam2")] @@ -7927,9 +8000,27 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveComputerToolInputParamType?), TypeInfoPropertyName = "NullableLiveComputerToolInputParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParamType?), TypeInfoPropertyName = "NullableLiveApplyPatchToolInputParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolChoiceEnum?), TypeInfoPropertyName = "NullableLiveToolChoiceEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType?), TypeInfoPropertyName = "NullableLiveFunctionToolChoiceParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType?), TypeInfoPropertyName = "NullableLiveMCPToolChoiceParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType?), TypeInfoPropertyName = "NullableLiveSpecificFileSearchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType?), TypeInfoPropertyName = "NullableLiveSpecificWebSearchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType?), TypeInfoPropertyName = "NullableLiveSpecificWebSearchPreviewParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType?), TypeInfoPropertyName = "NullableLiveSpecificImageGenParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType?), TypeInfoPropertyName = "NullableLiveSpecificComputerParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType?), TypeInfoPropertyName = "NullableLiveSpecificCodeInterpreterParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType?), TypeInfoPropertyName = "NullableLiveSpecificProgrammaticToolCallingParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType?), TypeInfoPropertyName = "NullableLiveSpecificFunctionShellParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType?), TypeInfoPropertyName = "NullableLiveSpecificCustomToolParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType?), TypeInfoPropertyName = "NullableLiveSpecificApplyPatchParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum?), TypeInfoPropertyName = "NullableLiveToolChoiceValueEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType?), TypeInfoPropertyName = "NullableLiveAllowedToolsChoiceParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem15?), TypeInfoPropertyName = "NullableToolsItem152")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType?), TypeInfoPropertyName = "NullableLiveAllowedToolsChoiceParamToolDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem16?), TypeInfoPropertyName = "NullableToolsItem162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationSettingsInputParamToolDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "NullableOneOfLiveToolChoiceEnumObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "NullableOneOfLiveToolChoiceEnumToolChoiceVariant2LiveAllowedToolsChoiceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceVariant2?), TypeInfoPropertyName = "NullableToolChoiceVariant22_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParamType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DelegationVariant1DiscriminatorType?), TypeInfoPropertyName = "NullableDelegationVariant1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveInitialMessageStatus?), TypeInfoPropertyName = "NullableLiveInitialMessageStatus2")] @@ -7950,8 +8041,11 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedClientEvents?), TypeInfoPropertyName = "NullableLiveDataChannelConfigParamAllowedClientEvents2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>?), TypeInfoPropertyName = "NullableOneOfLiveDataChannelConfigParamAllowedServerEventsIListLiveAllowedServerEventParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedServerEvents?), TypeInfoPropertyName = "NullableLiveDataChannelConfigParamAllowedServerEvents2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem16?), TypeInfoPropertyName = "NullableToolsItem162")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem17?), TypeInfoPropertyName = "NullableToolsItem172")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "NullableOneOfLiveToolChoiceEnumToolChoiceVariant22LiveAllowedToolsChoiceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceVariant22?), TypeInfoPropertyName = "NullableToolChoiceVariant222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType?), TypeInfoPropertyName = "NullableLiveResponsesDelegationUpdateParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AwsExternalStorageProviderResponseType?), TypeInfoPropertyName = "NullableAwsExternalStorageProviderResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AzureExternalStorageProviderResponseType?), TypeInfoPropertyName = "NullableAzureExternalStorageProviderResponseType2")] @@ -8115,6 +8209,8 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnswerResourceRefusalType?), TypeInfoPropertyName = "NullableAnswerResourceRefusalType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnswerResource?), TypeInfoPropertyName = "NullableAnswerResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnswerResourceDiscriminatorType?), TypeInfoPropertyName = "NullableAnswerResourceDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrderParam?), TypeInfoPropertyName = "NullableListOrderParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTypeParam?), TypeInfoPropertyName = "NullableEnvironmentTypeParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTypeResource?), TypeInfoPropertyName = "NullableEnvironmentTypeResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentStatusResource?), TypeInfoPropertyName = "NullableEnvironmentStatusResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileIdType?), TypeInfoPropertyName = "NullableHostedEnvironmentFileResourceFileIdType2")] @@ -8129,13 +8225,28 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginResource?), TypeInfoPropertyName = "NullableHostedPluginResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType?), TypeInfoPropertyName = "NullableHostedPluginResourceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject?), TypeInfoPropertyName = "NullablePublicEnvironmentResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrderParam?), TypeInfoPropertyName = "NullableListOrderParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?), TypeInfoPropertyName = "NullableEnvironmentFilePageObjectResource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?), TypeInfoPropertyName = "NullableEnvironmentFileResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject?), TypeInfoPropertyName = "NullableAgentEnvironmentListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkAccessParam?), TypeInfoPropertyName = "NullableNetworkAccessParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?), TypeInfoPropertyName = "NullableHostedSkillParamSkillReferenceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamBase64Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamBase64MediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParam?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?), TypeInfoPropertyName = "NullableHostedSkillParamInlineType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParam?), TypeInfoPropertyName = "NullableHostedSkillParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?), TypeInfoPropertyName = "NullableHostedSkillParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?), TypeInfoPropertyName = "NullableHostedPluginParamInlineType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParam?), TypeInfoPropertyName = "NullableHostedPluginParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?), TypeInfoPropertyName = "NullableHostedPluginParamDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType?), TypeInfoPropertyName = "NullableHostedEnvironmentFileParamFileIdType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamInlineType?), TypeInfoPropertyName = "NullableHostedEnvironmentFileParamInlineType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParam?), TypeInfoPropertyName = "NullableHostedEnvironmentFileParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminatorType?), TypeInfoPropertyName = "NullableHostedEnvironmentFileParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType?), TypeInfoPropertyName = "NullableCreateEnvironmentParamOpenaiHostedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParam?), TypeInfoPropertyName = "NullableCreateEnvironmentParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType?), TypeInfoPropertyName = "NullableCreateEnvironmentParamDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?), TypeInfoPropertyName = "NullableEnvironmentFilePageObjectResource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?), TypeInfoPropertyName = "NullableEnvironmentFileResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SubagentObjectResource?), TypeInfoPropertyName = "NullableSubagentObjectResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OutputTextResourceType?), TypeInfoPropertyName = "NullableOutputTextResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EncryptedContentResourceType?), TypeInfoPropertyName = "NullableEncryptedContentResourceType2")] @@ -8220,6 +8331,57 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PersistedAgentToolResourceComputerUseType?), TypeInfoPropertyName = "NullablePersistedAgentToolResourceComputerUseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PersistedAgentToolResource?), TypeInfoPropertyName = "NullablePersistedAgentToolResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PersistedAgentToolResourceDiscriminatorType?), TypeInfoPropertyName = "NullablePersistedAgentToolResourceDiscriminatorType2")] + internal sealed partial class SourceGenerationContextChunk15 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentResourceObject?), TypeInfoPropertyName = "NullableAgentResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AgentListResourceObject?), TypeInfoPropertyName = "NullableAgentListResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningEffortParam?), TypeInfoPropertyName = "NullableReasoningEffortParam2")] @@ -8257,18 +8419,6 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType?), TypeInfoPropertyName = "NullableHostedTemplateFileResourceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTemplateResourceObject?), TypeInfoPropertyName = "NullableEnvironmentTemplateResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject?), TypeInfoPropertyName = "NullableEnvironmentTemplateListResourceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.NetworkAccessParam?), TypeInfoPropertyName = "NullableNetworkAccessParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?), TypeInfoPropertyName = "NullableHostedSkillParamSkillReferenceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamBase64Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamBase64MediaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParam?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?), TypeInfoPropertyName = "NullableInlineCapabilitySourceParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?), TypeInfoPropertyName = "NullableHostedSkillParamInlineType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParam?), TypeInfoPropertyName = "NullableHostedSkillParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?), TypeInfoPropertyName = "NullableHostedSkillParamDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?), TypeInfoPropertyName = "NullableHostedPluginParamInlineType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParam?), TypeInfoPropertyName = "NullableHostedPluginParam2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?), TypeInfoPropertyName = "NullableHostedPluginParamDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject?), TypeInfoPropertyName = "NullableDeletedEnvironmentTemplateResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionStatusResource?), TypeInfoPropertyName = "NullableSessionStatusResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserAuthenticationType?), TypeInfoPropertyName = "NullableComputerUseApprovalRequestKindResourceBrowserAuthenticationType2")] @@ -8328,60 +8478,8 @@ internal sealed partial class SourceGenerationContextChunk14 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventErrorType?), TypeInfoPropertyName = "NullableSessionEventErrorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEnvironmentStatusResource?), TypeInfoPropertyName = "NullableSessionEnvironmentStatusResource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionEnvironmentReadyType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] - internal sealed partial class SourceGenerationContextChunk15 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionEnvironmentSuspendedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionEnvironmentExpiredType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionEnvironmentResetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentOutputCommandExecutionOutputDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionCreatedType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionCreatedType2")] @@ -8412,6 +8510,9 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnOutputTextDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnOutputTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartAddedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEvent?), TypeInfoPropertyName = "NullableSessionEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType?), TypeInfoPropertyName = "NullableSessionEventDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResourceObject?), TypeInfoPropertyName = "NullableDeletedSessionResourceObject2")] @@ -8586,7 +8687,7 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchToolParamType?), TypeInfoPropertyName = "NullableBetaToolSearchToolParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchExecutionType?), TypeInfoPropertyName = "NullableBetaToolSearchExecutionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamType?), TypeInfoPropertyName = "NullableBetaNamespaceToolParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem17?), TypeInfoPropertyName = "NullableToolsItem172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem18?), TypeInfoPropertyName = "NullableToolsItem182")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType?), TypeInfoPropertyName = "NullableBetaNamespaceToolParamToolDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaCustomToolParamType?), TypeInfoPropertyName = "NullableBetaCustomToolParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Format3?), TypeInfoPropertyName = "NullableFormat32")] @@ -8727,7 +8828,7 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionCallItemStatus?), TypeInfoPropertyName = "NullableBetaFunctionCallItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminatorType?), TypeInfoPropertyName = "NullableBetaToolSearchOutputToolDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType?), TypeInfoPropertyName = "NullableBetaToolSearchOutputNamespaceToolParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem18?), TypeInfoPropertyName = "NullableToolsItem182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolsItem19?), TypeInfoPropertyName = "NullableToolsItem192")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType?), TypeInfoPropertyName = "NullableBetaToolSearchOutputNamespaceToolParamToolDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParamType?), TypeInfoPropertyName = "NullableBetaToolSearchOutputFunctionToolParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaToolSearchCallItemParamType?), TypeInfoPropertyName = "NullableBetaToolSearchCallItemParamType2")] @@ -8743,6 +8844,57 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaAgentMessageItemParamType?), TypeInfoPropertyName = "NullableBetaAgentMessageItemParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ContentItem6?), TypeInfoPropertyName = "NullableContentItem62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaAgentMessageItemParamContentItemDiscriminatorType?), TypeInfoPropertyName = "NullableBetaAgentMessageItemParamContentItemDiscriminatorType2")] + internal sealed partial class SourceGenerationContextChunk16 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaEncryptedContentParamType?), TypeInfoPropertyName = "NullableBetaEncryptedContentParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaInputImageContentParamAutoParamType?), TypeInfoPropertyName = "NullableBetaInputImageContentParamAutoParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaDetailEnum?), TypeInfoPropertyName = "NullableBetaDetailEnum2")] @@ -8844,57 +8996,6 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeType?), TypeInfoPropertyName = "NullableBetaFunctionShellCallOutputTimeoutOutcomeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionShellCallType?), TypeInfoPropertyName = "NullableBetaFunctionShellCallType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionShellCallStatus?), TypeInfoPropertyName = "NullableBetaFunctionShellCallStatus2")] - internal sealed partial class SourceGenerationContextChunk16 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaFunctionShellCallEnvironmentVariant1DiscriminatorType?), TypeInfoPropertyName = "NullableBetaFunctionShellCallEnvironmentVariant1DiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaContainerReferenceResourceType?), TypeInfoPropertyName = "NullableBetaContainerReferenceResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaLocalEnvironmentResourceType?), TypeInfoPropertyName = "NullableBetaLocalEnvironmentResourceType2")] @@ -9260,6 +9361,57 @@ internal sealed partial class SourceGenerationContextChunk16 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + internal sealed partial class SourceGenerationContextChunk17 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] @@ -9363,57 +9515,6 @@ internal sealed partial class SourceGenerationContextChunk16 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class SourceGenerationContextChunk17 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata, - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_0ffeca8e0fd10c1e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_2728b0f309136770")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_e582eeb48daa18b3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_aa2fa50684e533e3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_fc9fff4902f1d3b1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9f8e385d0d57d1e8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_6800b692cbb762f1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2_fe3c1cd2e870870e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_0db8095b248d3316")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_95e54e44510b0009")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_d5b932e79734fe15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_1c153a37bcc8cc3b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_eb95b0359d773380")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_acdfa0e7d1e3ea10")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_2dfbd10a45d64018")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_8c499820eaa0ad81")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_88d857ee171edc8e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages_d72fd0d7007510fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference_9c1ade5264e2d427")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>?), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_2c308d3a0e1a6420")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy_4cfbf8c2a0aac51c")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_0c2e57e4e5ae27ff")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "MessageContentRefusalObject_76182275c0945058")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "ResponseCustomToolCallInputDoneEvent_a725c754433a20c8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_e709669a9d6096a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "RunStepDetailsToolCallsFunctionObject_13a1058b9149fee5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf?), TypeInfoPropertyName = "LiveSessionClosedReasonVariant5_b88f2527c0e5b7fe")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2_7adc5ef6e7f9329b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2_a3069e343df19e94")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2_f592d0e936020169")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2_a2e9595bbb80a363")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2_431c77466c8c749b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2_5d3fa966457ed4f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2_9d4e1679c4ee0cf0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf?), TypeInfoPropertyName = "BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2_6b4ba830529526bb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "BetaResponseCustomToolCallInputDoneEvent_b347195b6f520c7e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf?), TypeInfoPropertyName = "CreateTranscriptionResponseVerboseJson_68e1a12ab49326fd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9503,12 +9604,13 @@ internal sealed partial class SourceGenerationContextChunk17 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9534,6 +9636,11 @@ internal sealed partial class SourceGenerationContextChunk17 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9549,10 +9656,6 @@ internal sealed partial class SourceGenerationContextChunk17 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9576,7 +9679,7 @@ internal sealed partial class SourceGenerationContextChunk17 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9590,7 +9693,7 @@ internal sealed partial class SourceGenerationContextChunk17 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -9794,6 +9897,10 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.VoiceIdsOrCustomVoiceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.VoiceIdsSharedJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebSearchToolCallActionJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentSessionActionRequiredJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentSessionCreatedJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.WebhookAgentSessionFailedJsonConverter()); @@ -9823,10 +9930,13 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SkillsVariant1ItemJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.EnvironmentVariant14JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem15JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem16JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolChoiceVariant2JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.DelegationVariant1JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.LiveInitialItemJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem16JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem17JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolChoiceVariant22JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProviderJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ReasoningModeEnumJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PromptCacheDiagnosticsJsonConverter()); @@ -9856,7 +9966,11 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileParamJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AgentContentResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.MessageContentResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.InputContentResourceJsonConverter()); @@ -9873,9 +9987,6 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PersistedAgentToolConfigParamJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedTemplateSkillResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedTemplateFileResourceJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ComputerUseApprovalRequestKindResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SessionRequiredActionResourceJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.McpTransportResourceJsonConverter()); @@ -9912,7 +10023,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.BetaReasoningModeEnumJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.BetaTextResponseFormatConfigurationJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.BetaToolJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem17JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem18JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.Format3JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.EnvironmentVariant15JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.NetworkPolicy4JsonConverter()); @@ -9931,7 +10042,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.EnvironmentVariant16JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OutputsVariant1Item2JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.BetaToolSearchOutputToolJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem18JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolsItem19JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AnnotationsItem4JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ContentItem6JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OutputVariant2Item2JsonConverter()); @@ -10219,10 +10330,10 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter?, global::tryAGI.OpenAI.LiveCustomVoiceParam>()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>()); - options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter()); @@ -14036,6 +14147,22 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type) + + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type?) + || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type) || typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type?) @@ -15056,10 +15183,74 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.LiveToolChoiceEnum?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType) || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParamType) || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParamType?) @@ -15128,6 +15319,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType) || typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType?) @@ -15668,6 +15863,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.AnswerResourceDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam) + + || typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeParam) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeParam?) + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeResource) || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeResource?) @@ -15712,17 +15915,45 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject?) - || typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam) + || typeToConvert == typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject) - || typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam?) + || typeToConvert == typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject?) - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource) + || typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam) - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?) + || typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam?) - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType) - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?) || typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType) @@ -15736,6 +15967,22 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject) + + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SubagentObjectResource) || typeToConvert == typeof(global::tryAGI.OpenAI.SubagentObjectResource?) @@ -16132,65 +16379,29 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateSkillResourceInlineType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateResourceObject) - - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateResourceObject?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject) - - || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam) - - || typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type) - - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType) - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType) - || typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType) + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateResourceObject) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateResourceObject?) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType) + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject) - || typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject?) || typeToConvert == typeof(global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject) @@ -16388,17 +16599,13 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType?) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType) @@ -16516,6 +16723,18 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType?) @@ -28167,6 +28386,46 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.WebSearchToolCallActionDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type?)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type?)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type?)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type?)) + { + return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type)) { return new global::tryAGI.OpenAI.JsonConverters.WebhookAgentSessionActionRequiredVariant2TypeJsonConverter(); @@ -30717,6 +30976,156 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.LiveToolChoiceEnumNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificComputerParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnumJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveToolChoiceValueEnum?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveToolChoiceValueEnumNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType)) { return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolDiscriminatorTypeJsonConverter(); @@ -30727,6 +31136,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationParamType)) { return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationParamTypeJsonConverter(); @@ -30897,6 +31316,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType)) { return new global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationUpdateParamTypeJsonConverter(); @@ -32247,6 +32676,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.AnswerResourceDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam)) + { + return new global::tryAGI.OpenAI.JsonConverters.ListOrderParamJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam?)) + { + return new global::tryAGI.OpenAI.JsonConverters.ListOrderParamNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeParam)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentTypeParamJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeParam?)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentTypeParamNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentTypeResource)) { return new global::tryAGI.OpenAI.JsonConverters.EnvironmentTypeResourceJsonConverter(); @@ -32274,117 +32723,187 @@ public override bool CanConvert(global::System.Type typeToConvert) if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileIdType?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceFileIdTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceFileIdTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceInlineTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceInlineTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceSkillReferenceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceSkillReferenceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceInlineType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceInlineTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceInlineType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceInlineTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceInlineType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceInlineTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceInlineType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceInlineTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceDiscriminatorTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceInlineTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.PublicEnvironmentResourceObjectJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceInlineTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.PublicEnvironmentResourceObjectNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceDiscriminatorTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.AgentEnvironmentListResourceObject?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileResourceDiscriminatorTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceSkillReferenceTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.NetworkAccessParamJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceSkillReferenceTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.NetworkAccessParamNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceInlineType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceInlineTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamSkillReferenceTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceInlineType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceInlineTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamSkillReferenceTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceDiscriminatorTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64TypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillResourceDiscriminatorTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceInlineType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceInlineTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64MediaTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceInlineType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceInlineTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64MediaTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceDiscriminatorTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamDiscriminatorTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?)) { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginResourceDiscriminatorTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamDiscriminatorTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType)) { - return new global::tryAGI.OpenAI.JsonConverters.PublicEnvironmentResourceObjectJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamInlineTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.PublicEnvironmentResourceObject?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?)) { - return new global::tryAGI.OpenAI.JsonConverters.PublicEnvironmentResourceObjectNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamInlineTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType)) { - return new global::tryAGI.OpenAI.JsonConverters.ListOrderParamJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamDiscriminatorTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.ListOrderParam?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?)) { - return new global::tryAGI.OpenAI.JsonConverters.ListOrderParamNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamDiscriminatorTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType)) { - return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFilePageObjectResourceJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamInlineTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?)) { - return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFilePageObjectResourceNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamInlineTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType)) { - return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFileResourceObjectJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamDiscriminatorTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?)) { - return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFileResourceObjectNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamDiscriminatorTypeNullableJsonConverter(); } if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType)) @@ -32417,6 +32936,46 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.HostedEnvironmentFileParamDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType)) + { + return new global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType)) + { + return new global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFilePageObjectResourceJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFilePageObjectResource?)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFilePageObjectResourceNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFileResourceObjectJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.EnvironmentFileResourceObject?)) + { + return new global::tryAGI.OpenAI.JsonConverters.EnvironmentFileResourceObjectNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.SubagentObjectResource)) { return new global::tryAGI.OpenAI.JsonConverters.SubagentObjectResourceJsonConverter(); @@ -33467,96 +34026,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.EnvironmentTemplateListResourceObjectNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam)) - { - return new global::tryAGI.OpenAI.JsonConverters.NetworkAccessParamJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.NetworkAccessParam?)) - { - return new global::tryAGI.OpenAI.JsonConverters.NetworkAccessParamNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamSkillReferenceTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamSkillReferenceTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64TypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type?)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64TypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64MediaTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamBase64MediaTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamDiscriminatorTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.InlineCapabilitySourceParamDiscriminatorTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamInlineTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamInlineType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamInlineTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamDiscriminatorTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedSkillParamDiscriminatorTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamInlineTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamInlineType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamInlineTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamDiscriminatorTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.HostedPluginParamDiscriminatorTypeNullableJsonConverter(); - } - if (typeToConvert == typeof(global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject)) { return new global::tryAGI.OpenAI.JsonConverters.DeletedEnvironmentTemplateResourceObjectJsonConverter(); @@ -34047,34 +34516,24 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentReadyTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType)) { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType?)) { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType)) { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?)) + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType?)) { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusNullableJsonConverter(); + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeNullableJsonConverter(); } if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType)) @@ -34367,6 +34826,36 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartAddedTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType)) { return new global::tryAGI.OpenAI.JsonConverters.SessionEventDiscriminatorTypeJsonConverter(); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs index cb6d2a4ad..96ff994eb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -11057,7 +11057,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionActionRequired? Type2756 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired? Type2756 { get; set; } /// /// /// @@ -11065,10763 +11065,11023 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2? Type2758 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? Type2758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type? Type2759 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type? Type2759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionActionRequiredPayloadResource? Type2760 { get; set; } + public global::tryAGI.OpenAI.AgentEnvironmentEvent? Type2760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionCreated? Type2761 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed? Type2761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionCreatedVariant2? Type2762 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? Type2762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionCreatedVariant2Type? Type2763 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type? Type2763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionCreatedPayloadResource? Type2764 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReady? Type2764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionEnvelopeObject? Type2765 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? Type2765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionFailed? Type2766 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type? Type2766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionFailedVariant2? Type2767 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended? Type2767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionFailedVariant2Type? Type2768 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? Type2768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionEnvironmentPayloadResource? Type2769 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type? Type2769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionIdle? Type2770 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionActionRequired? Type2770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionIdleVariant2? Type2771 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2? Type2771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionIdleVariant2Type? Type2772 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionActionRequiredVariant2Type? Type2772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionInProgress? Type2773 { get; set; } + public global::tryAGI.OpenAI.AgentSessionActionRequiredPayloadResource? Type2773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionInProgressVariant2? Type2774 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionCreated? Type2774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookAgentSessionInProgressVariant2Type? Type2775 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionCreatedVariant2? Type2775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2776 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionCreatedVariant2Type? Type2776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2777 { get; set; } + public global::tryAGI.OpenAI.AgentSessionCreatedPayloadResource? Type2777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2778 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelopeObject? Type2778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2779 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionFailed? Type2779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2780 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionFailedVariant2? Type2780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2781 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionFailedVariant2Type? Type2781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2782 { get; set; } + public global::tryAGI.OpenAI.AgentSessionEnvironmentPayloadResource? Type2782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2783 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionIdle? Type2783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpired? Type2784 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionIdleVariant2? Type2784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2785 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionIdleVariant2Type? Type2785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2786 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionInProgress? Type2786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2787 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionInProgressVariant2? Type2787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailed? Type2788 { get; set; } + public global::tryAGI.OpenAI.WebhookAgentSessionInProgressVariant2Type? Type2788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2789 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2790 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2791 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2792 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2793 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2794 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2795 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2796 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2797 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpired? Type2797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2798 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2799 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2800 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2801 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailed? Type2801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2802 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2803 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2804 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2805 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2806 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2807 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2808 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2809 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2810 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2811 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2812 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2813 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2814 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2815 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncoming? Type2816 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncomingData? Type2817 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type2818 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncomingDataSipMediaSecurity? Type2819 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2819 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2820 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncomingDataSipHeader? Type2821 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncomingObject? Type2822 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveCallIncomingType? Type2823 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncoming? Type2824 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingData? Type2825 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataType? Type2826 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type2827 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataSipMediaSecurity? Type2828 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2829 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncoming? Type2829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataSipHeader? Type2830 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncomingData? Type2830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingObject? Type2831 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type2831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookLiveTransportIncomingType? Type2832 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncomingDataSipMediaSecurity? Type2832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2833 { get; set; } + public global::System.Collections.Generic.IList? Type2833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2834 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncomingDataSipHeader? Type2834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type2835 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncomingObject? Type2835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipMediaSecurity? Type2836 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveCallIncomingType? Type2836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2837 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncoming? Type2837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2838 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingData? Type2838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2839 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataType? Type2839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2840 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type2840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2841 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataSipMediaSecurity? Type2841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2842 { get; set; } + public global::System.Collections.Generic.IList? Type2842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2843 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingDataSipHeader? Type2843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2844 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingObject? Type2844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2845 { get; set; } + public global::tryAGI.OpenAI.WebhookLiveTransportIncomingType? Type2845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2846 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2847 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2848 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type2848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailed? Type2849 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipMediaSecurity? Type2849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2850 { get; set; } + public global::System.Collections.Generic.IList? Type2850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2851 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2852 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2853 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2854 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2855 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2856 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyAlertCreated? Type2857 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedObject? Type2858 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedType? Type2859 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedData? Type2860 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssued? Type2861 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedObject? Type2862 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailed? Type2862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedType? Type2863 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedData? Type2864 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreated? Type2865 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedObject? Type2866 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedType? Type2867 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedData? Type2868 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyWarningIssued? Type2869 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedObject? Type2870 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyAlertCreated? Type2870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedType? Type2871 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedObject? Type2871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedData? Type2872 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedType? Type2872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MisalignmentErrorType? Type2873 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyAlertCreatedData? Type2873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MisalignmentErrorTypeEnum? Type2874 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssued? Type2874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MisalignmentSteer? Type2875 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedObject? Type2875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationInputType? Type2876 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedType? Type2876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationResultBodyType? Type2877 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyDeactivationIssuedData? Type2877 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2878 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreated? Type2878 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type2879 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedObject? Type2879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2880 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedType? Type2880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheTTLEnum? Type2881 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyOrgAlertCreatedData? Type2881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheModeEnum? Type2882 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyWarningIssued? Type2882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheBreakpointParamMode? Type2883 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedObject? Type2883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationMode? Type2884 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedType? Type2884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationConfigParam? Type2885 { get; set; } + public global::tryAGI.OpenAI.WebhookSafetyWarningIssuedData? Type2885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationPolicyParam? Type2886 { get; set; } + public global::tryAGI.OpenAI.MisalignmentErrorType? Type2886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillReferenceParamType? Type2887 { get; set; } + public global::tryAGI.OpenAI.MisalignmentErrorTypeEnum? Type2887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2888 { get; set; } + public global::tryAGI.OpenAI.MisalignmentSteer? Type2888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2889 { get; set; } + public global::tryAGI.OpenAI.ModerationInputType? Type2889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2890 { get; set; } + public global::tryAGI.OpenAI.ModerationResultBodyType? Type2890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillParamType? Type2891 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2892 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type2892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2893 { get; set; } + public global::System.Collections.Generic.IList? Type2893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2894 { get; set; } + public global::tryAGI.OpenAI.PromptCacheTTLEnum? Type2894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2895 { get; set; } + public global::tryAGI.OpenAI.PromptCacheModeEnum? Type2895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStatus? Type2896 { get; set; } + public global::tryAGI.OpenAI.PromptCacheBreakpointParamMode? Type2896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRole? Type2897 { get; set; } + public global::tryAGI.OpenAI.ModerationMode? Type2897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheBreakpointConfig? Type2898 { get; set; } + public global::tryAGI.OpenAI.ModerationConfigParam? Type2898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheBreakpointConfigMode? Type2899 { get; set; } + public global::tryAGI.OpenAI.ModerationPolicyParam? Type2899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentType? Type2900 { get; set; } + public global::tryAGI.OpenAI.SkillReferenceParamType? Type2900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBody? Type2901 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBodyType? Type2902 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBody? Type2903 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBodyType? Type2904 { get; set; } + public global::tryAGI.OpenAI.InlineSkillParamType? Type2904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2905 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2906 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2907 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2908 { get; set; } + public global::System.Collections.Generic.IList? Type2908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TopLogProb? Type2909 { get; set; } + public global::tryAGI.OpenAI.MessageStatus? Type2909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProb? Type2910 { get; set; } + public global::tryAGI.OpenAI.MessageRole? Type2910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2911 { get; set; } + public global::tryAGI.OpenAI.PromptCacheBreakpointConfig? Type2911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContentType? Type2912 { get; set; } + public global::tryAGI.OpenAI.PromptCacheBreakpointConfigMode? Type2912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2913 { get; set; } + public global::tryAGI.OpenAI.InputTextContentType? Type2913 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2914 { get; set; } + public global::tryAGI.OpenAI.FileCitationBody? Type2914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContent? Type2915 { get; set; } + public global::tryAGI.OpenAI.FileCitationBodyType? Type2915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContentType? Type2916 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBody? Type2916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextContentType? Type2917 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBodyType? Type2917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningTextContentType? Type2918 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContentType? Type2919 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageDetail? Type2920 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentType? Type2921 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2922 { get; set; } + public global::tryAGI.OpenAI.TopLogProb? Type2922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2923 { get; set; } + public global::tryAGI.OpenAI.LogProb? Type2923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileInputDetail? Type2924 { get; set; } + public global::System.Collections.Generic.IList? Type2924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentType? Type2925 { get; set; } + public global::tryAGI.OpenAI.OutputTextContentType? Type2925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessagePhase2? Type2926 { get; set; } + public global::System.Collections.Generic.IList? Type2926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageType? Type2927 { get; set; } + public global::System.Collections.Generic.IList? Type2927 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2928 { get; set; } + public global::tryAGI.OpenAI.TextContent? Type2928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem3? Type2929 { get; set; } + public global::tryAGI.OpenAI.TextContentType? Type2929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2930 { get; set; } + public global::tryAGI.OpenAI.SummaryTextContentType? Type2930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2931 { get; set; } + public global::tryAGI.OpenAI.ReasoningTextContentType? Type2931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DirectToolCallCaller? Type2932 { get; set; } + public global::tryAGI.OpenAI.RefusalContentType? Type2932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DirectToolCallCallerType? Type2933 { get; set; } + public global::tryAGI.OpenAI.ImageDetail? Type2933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramToolCallCaller? Type2934 { get; set; } + public global::tryAGI.OpenAI.InputImageContentType? Type2934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramToolCallCallerType? Type2935 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallCallerDiscriminator? Type2936 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallCallerDiscriminatorType? Type2937 { get; set; } + public global::tryAGI.OpenAI.FileInputDetail? Type2937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DirectToolCallCallerParam? Type2938 { get; set; } + public global::tryAGI.OpenAI.InputFileContentType? Type2938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DirectToolCallCallerParamType? Type2939 { get; set; } + public global::tryAGI.OpenAI.MessagePhase2? Type2939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramToolCallCallerParam? Type2940 { get; set; } + public global::tryAGI.OpenAI.MessageType? Type2940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramToolCallCallerParamType? Type2941 { get; set; } + public global::System.Collections.Generic.IList? Type2941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallCallerParamDiscriminator? Type2942 { get; set; } + public global::tryAGI.OpenAI.ContentItem3? Type2942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallCallerParamDiscriminatorType? Type2943 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageBackground? Type2944 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageOutputFormat? Type2945 { get; set; } + public global::tryAGI.OpenAI.DirectToolCallCaller? Type2945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallType? Type2946 { get; set; } + public global::tryAGI.OpenAI.DirectToolCallCallerType? Type2946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type2947 { get; set; } + public global::tryAGI.OpenAI.ProgramToolCallCaller? Type2947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type2948 { get; set; } + public global::tryAGI.OpenAI.ProgramToolCallCallerType? Type2948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallSizeVariant1? Type2949 { get; set; } + public global::tryAGI.OpenAI.ToolCallCallerDiscriminator? Type2949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallQuality? Type2950 { get; set; } + public global::tryAGI.OpenAI.ToolCallCallerDiscriminatorType? Type2950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickButtonType? Type2951 { get; set; } + public global::tryAGI.OpenAI.DirectToolCallCallerParam? Type2951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickParamType? Type2952 { get; set; } + public global::tryAGI.OpenAI.DirectToolCallCallerParamType? Type2952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClickActionType? Type2953 { get; set; } + public global::tryAGI.OpenAI.ProgramToolCallCallerParam? Type2953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CoordParam? Type2954 { get; set; } + public global::tryAGI.OpenAI.ProgramToolCallCallerParamType? Type2954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragParamType? Type2955 { get; set; } + public global::tryAGI.OpenAI.ToolCallCallerParamDiscriminator? Type2955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2956 { get; set; } + public global::tryAGI.OpenAI.ToolCallCallerParamDiscriminatorType? Type2956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPressActionType? Type2957 { get; set; } + public global::tryAGI.OpenAI.ImageBackground? Type2957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MoveParamType? Type2958 { get; set; } + public global::tryAGI.OpenAI.ImageOutputFormat? Type2958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScreenshotParamType? Type2959 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallType? Type2959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScrollParamType? Type2960 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type2960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TypeParamType? Type2961 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type2961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitParamType? Type2962 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallSizeVariant1? Type2962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2963 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallQuality? Type2963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallType? Type2964 { get; set; } + public global::tryAGI.OpenAI.ClickButtonType? Type2964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolType? Type2965 { get; set; } + public global::tryAGI.OpenAI.ClickParamType? Type2965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankerVersionType? Type2966 { get; set; } + public global::tryAGI.OpenAI.DoubleClickActionType? Type2966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HybridSearchOptions? Type2967 { get; set; } + public global::tryAGI.OpenAI.CoordParam? Type2967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankingOptions? Type2968 { get; set; } + public global::tryAGI.OpenAI.DragParamType? Type2968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Filters2? Type2969 { get; set; } + public global::System.Collections.Generic.IList? Type2969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolType? Type2970 { get; set; } + public global::tryAGI.OpenAI.KeyPressActionType? Type2970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolType? Type2971 { get; set; } + public global::tryAGI.OpenAI.MoveParamType? Type2971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerEnvironment? Type2972 { get; set; } + public global::tryAGI.OpenAI.ScreenshotParamType? Type2972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2973 { get; set; } + public global::tryAGI.OpenAI.ScrollParamType? Type2973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2974 { get; set; } + public global::tryAGI.OpenAI.TypeParamType? Type2974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2975 { get; set; } + public global::tryAGI.OpenAI.WaitParamType? Type2975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy2? Type2976 { get; set; } + public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2977 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallType? Type2977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2978 { get; set; } + public global::tryAGI.OpenAI.FunctionToolType? Type2978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgrammaticToolCallingParamType? Type2979 { get; set; } + public global::tryAGI.OpenAI.RankerVersionType? Type2979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolParamType? Type2980 { get; set; } + public global::tryAGI.OpenAI.HybridSearchOptions? Type2980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParam? Type2981 { get; set; } + public global::tryAGI.OpenAI.RankingOptions? Type2981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamType? Type2982 { get; set; } + public global::tryAGI.OpenAI.Filters2? Type2982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy3? Type2983 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolType? Type2983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2984 { get; set; } + public global::tryAGI.OpenAI.ComputerToolType? Type2984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2985 { get; set; } + public global::tryAGI.OpenAI.ComputerEnvironment? Type2985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2986 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsItem2? Type2987 { get; set; } + public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type2988 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type2989 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy2? Type2989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalSkillParam? Type2990 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParam? Type2991 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type2992 { get; set; } + public global::tryAGI.OpenAI.ProgrammaticToolCallingParamType? Type2992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2993 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolParamType? Type2993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParam? Type2994 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParam? Type2994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParamType? Type2995 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamType? Type2995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamType? Type2996 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy3? Type2996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant1? Type2997 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type2998 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type2999 { get; set; } + public global::System.Collections.Generic.IList? Type2999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParam? Type3000 { get; set; } + public global::tryAGI.OpenAI.SkillsItem2? Type3000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParamType? Type3001 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type3001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GrammarSyntax1? Type3002 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type3002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type3003 { get; set; } + public global::tryAGI.OpenAI.LocalSkillParam? Type3003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type3004 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParam? Type3004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamType? Type3005 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type3005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Format2? Type3006 { get; set; } + public global::System.Collections.Generic.IList? Type3006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type3007 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParam? Type3007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type3008 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParamType? Type3008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmptyModelParam? Type3009 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamType? Type3009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParam? Type3010 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant1? Type3010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParamType? Type3011 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type3011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamType? Type3012 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type3012 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3013 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParam? Type3013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem13? Type3014 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParamType? Type3014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type3015 { get; set; } + public global::tryAGI.OpenAI.GrammarSyntax1? Type3015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type3016 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type3016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchToolParamType? Type3017 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type3017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocation? Type3018 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamType? Type3018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocationType? Type3019 { get; set; } + public global::tryAGI.OpenAI.Format2? Type3019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContextSize? Type3020 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type3020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContentType? Type3021 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type3021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type3022 { get; set; } + public global::tryAGI.OpenAI.EmptyModelParam? Type3022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3023 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParam? Type3023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type3024 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParamType? Type3024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputType? Type3025 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamType? Type3025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdditionalToolsType? Type3026 { get; set; } + public global::System.Collections.Generic.IList? Type3026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramType? Type3027 { get; set; } + public global::tryAGI.OpenAI.ToolsItem13? Type3027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramOutputStatus? Type3028 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type3028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramOutputType? Type3029 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type3029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionBodyType? Type3030 { get; set; } + public global::tryAGI.OpenAI.ToolSearchToolParamType? Type3030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type3031 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocation? Type3031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type3032 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocationType? Type3032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecActionType? Type3033 { get; set; } + public global::tryAGI.OpenAI.SearchContextSize? Type3033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellAction? Type3034 { get; set; } + public global::tryAGI.OpenAI.SearchContentType? Type3034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallStatus? Type3035 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type3035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResource? Type3036 { get; set; } + public global::System.Collections.Generic.IList? Type3036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type3037 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type3037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResource? Type3038 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputType? Type3038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type3039 { get; set; } + public global::tryAGI.OpenAI.AdditionalToolsType? Type3039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallType? Type3040 { get; set; } + public global::tryAGI.OpenAI.ProgramType? Type3040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant12? Type3041 { get; set; } + public global::tryAGI.OpenAI.ProgramOutputStatus? Type3041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type3042 { get; set; } + public global::tryAGI.OpenAI.ProgramOutputType? Type3042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type3043 { get; set; } + public global::tryAGI.OpenAI.CompactionBodyType? Type3043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type3044 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type3044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type3045 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type3045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type3046 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecActionType? Type3046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type3047 { get; set; } + public global::tryAGI.OpenAI.FunctionShellAction? Type3047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type3048 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallStatus? Type3048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type3049 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResource? Type3049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Outcome? Type3050 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type3050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type3051 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResource? Type3051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type3052 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type3052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type3053 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallType? Type3053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3054 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant12? Type3054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type3055 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type3055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type3056 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type3056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type3057 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type3057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type3058 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type3058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type3059 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type3059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type3060 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type3060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type3061 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type3061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type3062 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type3062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Operation? Type3063 { get; set; } + public global::tryAGI.OpenAI.Outcome? Type3063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type3064 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type3064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type3065 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type3065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type3066 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type3066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type3067 { get; set; } + public global::System.Collections.Generic.IList? Type3067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPProtocolErrorType? Type3068 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type3068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolExecutionErrorType? Type3069 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type3069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HTTPErrorType? Type3070 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type3070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DetailEnum? Type3071 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type3071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallItemStatus? Type3072 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type3072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type3073 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type3073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParam? Type3074 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type3074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParamType? Type3075 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type3075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type3076 { get; set; } + public global::tryAGI.OpenAI.Operation? Type3076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type3077 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type3077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileDetailEnum? Type3078 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type3078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParam? Type3079 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type3079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParamType? Type3080 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type3080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type3081 { get; set; } + public global::tryAGI.OpenAI.MCPProtocolErrorType? Type3081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type3082 { get; set; } + public global::tryAGI.OpenAI.MCPToolExecutionErrorType? Type3082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3083 { get; set; } + public global::tryAGI.OpenAI.HTTPErrorType? Type3083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputVariant2Item? Type3084 { get; set; } + public global::tryAGI.OpenAI.DetailEnum? Type3084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type3085 { get; set; } + public global::tryAGI.OpenAI.FunctionCallItemStatus? Type3085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type3086 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type3086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationParam? Type3087 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParam? Type3087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationParamType? Type3088 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParamType? Type3088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationParam? Type3089 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type3089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationParamType? Type3090 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type3090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationParam? Type3091 { get; set; } + public global::tryAGI.OpenAI.FileDetailEnum? Type3091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationParamType? Type3092 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParam? Type3092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type3093 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParamType? Type3093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputFunctionToolParam? Type3094 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type3094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputFunctionToolParamType? Type3095 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type3095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamType? Type3096 { get; set; } + public global::System.Collections.Generic.IList? Type3096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3097 { get; set; } + public global::tryAGI.OpenAI.OutputVariant2Item? Type3097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem14? Type3098 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type3098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamToolDiscriminator? Type3099 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type3099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type3100 { get; set; } + public global::tryAGI.OpenAI.FileCitationParam? Type3100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type3101 { get; set; } + public global::tryAGI.OpenAI.FileCitationParamType? Type3101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3102 { get; set; } + public global::tryAGI.OpenAI.UrlCitationParam? Type3102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdditionalToolsItemParamType? Type3103 { get; set; } + public global::tryAGI.OpenAI.UrlCitationParamType? Type3103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdditionalToolsItemParamRole? Type3104 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationParam? Type3104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type3105 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationParamType? Type3105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellActionParam? Type3106 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type3106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type3107 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputFunctionToolParam? Type3107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type3108 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputFunctionToolParamType? Type3108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant13? Type3109 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamType? Type3109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type3110 { get; set; } + public global::System.Collections.Generic.IList? Type3110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type3111 { get; set; } + public global::tryAGI.OpenAI.ToolsItem14? Type3111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type3112 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamToolDiscriminator? Type3112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type3113 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type3113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type3114 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type3114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type3115 { get; set; } + public global::System.Collections.Generic.IList? Type3115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type3116 { get; set; } + public global::tryAGI.OpenAI.AdditionalToolsItemParamType? Type3116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type3117 { get; set; } + public global::tryAGI.OpenAI.AdditionalToolsItemParamRole? Type3117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type3118 { get; set; } + public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type3118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type3119 { get; set; } + public global::tryAGI.OpenAI.FunctionShellActionParam? Type3119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type3120 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type3120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3121 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type3121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type3122 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant13? Type3122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type3123 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type3123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type3124 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type3124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type3125 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type3125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type3126 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type3126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type3127 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type3127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type3128 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type3128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type3129 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type3129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type3130 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type3130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type3131 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type3131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type3132 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type3132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type3133 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type3133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type3134 { get; set; } + public global::System.Collections.Generic.IList? Type3134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionTriggerItemParamType? Type3135 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type3135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParamType? Type3136 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type3136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramItemParamType? Type3137 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type3137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramOutputItemStatus? Type3138 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type3138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProgramOutputItemParamType? Type3139 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type3139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResource? Type3140 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type3140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResourceObject? Type3141 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type3141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type3142 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type3142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type3143 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type3143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCustomVoiceParam? Type3144 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type3144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf?, global::tryAGI.OpenAI.LiveCustomVoiceParam>? Type3145 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type3145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type3146 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type3146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialSessionAudioOutputParamVoiceVariant1? Type3147 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type3147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveClientDelegationParam? Type3148 { get; set; } + public global::tryAGI.OpenAI.CompactionTriggerItemParamType? Type3148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveClientDelegationParamType? Type3149 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParamType? Type3149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesServiceTier? Type3150 { get; set; } + public global::tryAGI.OpenAI.ProgramItemParamType? Type3150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveReasoningEffort? Type3151 { get; set; } + public global::tryAGI.OpenAI.ProgramOutputItemStatus? Type3151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveReasoningSummary? Type3152 { get; set; } + public global::tryAGI.OpenAI.ProgramOutputItemParamType? Type3152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationReasoningInputParam? Type3153 { get; set; } + public global::tryAGI.OpenAI.ConversationResource? Type3153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTextVerbosity? Type3154 { get; set; } + public global::tryAGI.OpenAI.ConversationResourceObject? Type3154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationTextInputParam? Type3155 { get; set; } + public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type3155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Type3156 { get; set; } + public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type3156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveFunctionToolInputParamType? Type3157 { get; set; } + public global::tryAGI.OpenAI.LiveCustomVoiceParam? Type3157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? Type3158 { get; set; } + public global::tryAGI.OpenAI.OneOf?, global::tryAGI.OpenAI.LiveCustomVoiceParam>? Type3158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveWebSearchToolInputParamType? Type3159 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type3159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? Type3160 { get; set; } + public global::tryAGI.OpenAI.LiveInitialSessionAudioOutputParamVoiceVariant1? Type3160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveFileSearchToolInputParamType? Type3161 { get; set; } + public global::tryAGI.OpenAI.LiveClientDelegationParam? Type3161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? Type3162 { get; set; } + public global::tryAGI.OpenAI.LiveClientDelegationParamType? Type3162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParamType? Type3163 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesServiceTier? Type3163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContainerMemoryLimit? Type3164 { get; set; } + public global::tryAGI.OpenAI.LiveReasoningEffort? Type3164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContainerNetworkPolicyDisabledParam? Type3165 { get; set; } + public global::tryAGI.OpenAI.LiveReasoningSummary? Type3165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContainerNetworkPolicyDisabledParamType? Type3166 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationReasoningInputParam? Type3166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellNetworkPolicyAllowlistParam? Type3167 { get; set; } + public global::tryAGI.OpenAI.LiveTextVerbosity? Type3167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellNetworkPolicyAllowlistParamType? Type3168 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationTextInputParam? Type3168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSkillReferenceParam? Type3169 { get; set; } + public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Type3169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSkillReferenceParamType? Type3170 { get; set; } + public global::tryAGI.OpenAI.LiveFunctionToolInputParamType? Type3170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInlineSkillSourceParam? Type3171 { get; set; } + public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? Type3171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInlineSkillSourceParamType? Type3172 { get; set; } + public global::tryAGI.OpenAI.LiveWebSearchToolInputParamType? Type3172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInlineSkillSourceParamMediaType? Type3173 { get; set; } + public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? Type3173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInlineSkillParam? Type3174 { get; set; } + public global::tryAGI.OpenAI.LiveFileSearchToolInputParamType? Type3174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInlineSkillParamType? Type3175 { get; set; } + public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? Type3175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParam? Type3176 { get; set; } + public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParamType? Type3176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamType? Type3177 { get; set; } + public global::tryAGI.OpenAI.LiveContainerMemoryLimit? Type3177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicyVariant1? Type3178 { get; set; } + public global::tryAGI.OpenAI.LiveContainerNetworkPolicyDisabledParam? Type3178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamNetworkPolicyVariant1Discriminator? Type3179 { get; set; } + public global::tryAGI.OpenAI.LiveContainerNetworkPolicyDisabledParamType? Type3179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamNetworkPolicyVariant1DiscriminatorType? Type3180 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellNetworkPolicyAllowlistParam? Type3180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3181 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellNetworkPolicyAllowlistParamType? Type3181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsVariant1Item? Type3182 { get; set; } + public global::tryAGI.OpenAI.LiveSkillReferenceParam? Type3182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamSkillsVariant1ItemDiscriminator? Type3183 { get; set; } + public global::tryAGI.OpenAI.LiveSkillReferenceParamType? Type3183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamSkillsVariant1ItemDiscriminatorType? Type3184 { get; set; } + public global::tryAGI.OpenAI.LiveInlineSkillSourceParam? Type3184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContainerReferenceParam? Type3185 { get; set; } + public global::tryAGI.OpenAI.LiveInlineSkillSourceParamType? Type3185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContainerReferenceParamType? Type3186 { get; set; } + public global::tryAGI.OpenAI.LiveInlineSkillSourceParamMediaType? Type3186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveLocalSkillParam? Type3187 { get; set; } + public global::tryAGI.OpenAI.LiveInlineSkillParam? Type3187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveLocalEnvironmentParam? Type3188 { get; set; } + public global::tryAGI.OpenAI.LiveInlineSkillParamType? Type3188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveLocalEnvironmentParamType? Type3189 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParam? Type3189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3190 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamType? Type3190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Type3191 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicyVariant1? Type3191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellToolInputParamType? Type3192 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamNetworkPolicyVariant1Discriminator? Type3192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant14? Type3193 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamNetworkPolicyVariant1DiscriminatorType? Type3193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellToolInputParamEnvironmentVariant1Discriminator? Type3194 { get; set; } + public global::System.Collections.Generic.IList? Type3194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellToolInputParamEnvironmentVariant1DiscriminatorType? Type3195 { get; set; } + public global::tryAGI.OpenAI.SkillsVariant1Item? Type3195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? Type3196 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamSkillsVariant1ItemDiscriminator? Type3196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveImageGenerationToolInputParamType? Type3197 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellContainerAutoParamSkillsVariant1ItemDiscriminatorType? Type3197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveMCPToolInputParam? Type3198 { get; set; } + public global::tryAGI.OpenAI.LiveContainerReferenceParam? Type3198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveMCPToolInputParamType? Type3199 { get; set; } + public global::tryAGI.OpenAI.LiveContainerReferenceParamType? Type3199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCustomToolInputParam? Type3200 { get; set; } + public global::tryAGI.OpenAI.LiveLocalSkillParam? Type3200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCustomToolInputParamType? Type3201 { get; set; } + public global::tryAGI.OpenAI.LiveLocalEnvironmentParam? Type3201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Type3202 { get; set; } + public global::tryAGI.OpenAI.LiveLocalEnvironmentParamType? Type3202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveNamespaceToolInputParamType? Type3203 { get; set; } + public global::System.Collections.Generic.IList? Type3203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? Type3204 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Type3204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveToolSearchToolInputParamType? Type3205 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellToolInputParamType? Type3205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? Type3206 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant14? Type3206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveProgrammaticToolInputParamType? Type3207 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellToolInputParamEnvironmentVariant1Discriminator? Type3207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveComputerToolInputParam? Type3208 { get; set; } + public global::tryAGI.OpenAI.LiveHostedShellToolInputParamEnvironmentVariant1DiscriminatorType? Type3208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveComputerToolInputParamType? Type3209 { get; set; } + public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? Type3209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? Type3210 { get; set; } + public global::tryAGI.OpenAI.LiveImageGenerationToolInputParamType? Type3210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveApplyPatchToolInputParamType? Type3211 { get; set; } + public global::tryAGI.OpenAI.LiveMCPToolInputParam? Type3211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveToolChoiceEnum? Type3212 { get; set; } + public global::tryAGI.OpenAI.LiveMCPToolInputParamType? Type3212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParam? Type3213 { get; set; } + public global::tryAGI.OpenAI.LiveCustomToolInputParam? Type3213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3214 { get; set; } + public global::tryAGI.OpenAI.LiveCustomToolInputParamType? Type3214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem15? Type3215 { get; set; } + public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Type3215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator? Type3216 { get; set; } + public global::tryAGI.OpenAI.LiveNamespaceToolInputParamType? Type3216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? Type3217 { get; set; } + public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? Type3217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type3218 { get; set; } + public global::tryAGI.OpenAI.LiveToolSearchToolInputParamType? Type3218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationParam? Type3219 { get; set; } + public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? Type3219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationParamType? Type3220 { get; set; } + public global::tryAGI.OpenAI.LiveProgrammaticToolInputParamType? Type3220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DelegationVariant1Discriminator? Type3221 { get; set; } + public global::tryAGI.OpenAI.LiveComputerToolInputParam? Type3221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DelegationVariant1DiscriminatorType? Type3222 { get; set; } + public global::tryAGI.OpenAI.LiveComputerToolInputParamType? Type3222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialMessageStatus? Type3223 { get; set; } + public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? Type3223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialInputTextContentPartParam? Type3224 { get; set; } + public global::tryAGI.OpenAI.LiveApplyPatchToolInputParamType? Type3224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialInputTextContentPartParamType? Type3225 { get; set; } + public global::tryAGI.OpenAI.LiveToolChoiceEnum? Type3225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParam? Type3226 { get; set; } + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Type3226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParamType? Type3227 { get; set; } + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType? Type3227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParamRole? Type3228 { get; set; } + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Type3228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3229 { get; set; } + public global::tryAGI.OpenAI.LiveMCPToolChoiceParamType? Type3229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialUserMessageItemParam? Type3230 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? Type3230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialUserMessageItemParamType? Type3231 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificFileSearchParamType? Type3231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialUserMessageItemParamRole? Type3232 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? Type3232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialTextContentPartParam? Type3233 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchParamType? Type3233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialTextContentPartParamType? Type3234 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? Type3234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialOutputTextContentPartParam? Type3235 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType? Type3235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialOutputTextContentPartParamType? Type3236 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? Type3236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParam? Type3237 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificImageGenParamType? Type3237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamType? Type3238 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Type3238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamRole? Type3239 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificComputerParamType? Type3239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3240 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? Type3240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem4? Type3241 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType? Type3241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamContentItemDiscriminator? Type3242 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? Type3242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamContentItemDiscriminatorType? Type3243 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType? Type3243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialItem? Type3244 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Type3244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialItemDiscriminator? Type3245 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType? Type3245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialItemDiscriminatorRole? Type3246 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Type3246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveAllowedServerEventParam? Type3247 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificCustomToolParamType? Type3247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDataChannelConfigParam? Type3248 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? Type3248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type3249 { get; set; } + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType? Type3249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedClientEvents? Type3250 { get; set; } + public global::tryAGI.OpenAI.LiveToolChoiceValueEnum? Type3250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type3251 { get; set; } + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam? Type3251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedServerEvents? Type3252 { get; set; } + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType? Type3252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3253 { get; set; } + public global::System.Collections.Generic.IList? Type3253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParam? Type3254 { get; set; } + public global::tryAGI.OpenAI.ToolsItem15? Type3254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3255 { get; set; } + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator? Type3255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem16? Type3256 { get; set; } + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? Type3256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator? Type3257 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParam? Type3257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? Type3258 { get; set; } + public global::System.Collections.Generic.IList? Type3258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType? Type3259 { get; set; } + public global::tryAGI.OpenAI.ToolsItem16? Type3259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AwsExternalStorageProviderResponse? Type3260 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminator? Type3260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AwsExternalStorageProviderResponseType? Type3261 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? Type3261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AzureExternalStorageProviderResponse? Type3262 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AzureExternalStorageProviderResponseType? Type3263 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceVariant2? Type3263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GcpExternalStorageProviderResponse? Type3264 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator? Type3264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GcpExternalStorageProviderResponseType? Type3265 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? Type3265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OciExternalStorageProviderResponse? Type3266 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationParam? Type3266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OciExternalStorageProviderResponseType? Type3267 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationParamType? Type3267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProviderDiscriminator? Type3268 { get; set; } + public global::tryAGI.OpenAI.DelegationVariant1Discriminator? Type3268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProviderDiscriminatorType? Type3269 { get; set; } + public global::tryAGI.OpenAI.DelegationVariant1DiscriminatorType? Type3269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificProgrammaticToolCallingParamType? Type3270 { get; set; } + public global::tryAGI.OpenAI.LiveInitialMessageStatus? Type3270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type3271 { get; set; } + public global::tryAGI.OpenAI.LiveInitialInputTextContentPartParam? Type3271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type3272 { get; set; } + public global::tryAGI.OpenAI.LiveInitialInputTextContentPartParamType? Type3272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CyberAccessProgramEnum? Type3273 { get; set; } + public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParam? Type3273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningModeEnumEnum? Type3274 { get; set; } + public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParamType? Type3274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CacheMissReasonTypeEnum? Type3275 { get; set; } + public global::tryAGI.OpenAI.LiveInitialDeveloperMessageItemParamRole? Type3275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheMissDiagnosticsBody? Type3276 { get; set; } + public global::System.Collections.Generic.IList? Type3276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheMissDiagnosticsBodyType? Type3277 { get; set; } + public global::tryAGI.OpenAI.LiveInitialUserMessageItemParam? Type3277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheHitDiagnosticsBody? Type3278 { get; set; } + public global::tryAGI.OpenAI.LiveInitialUserMessageItemParamType? Type3278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheHitDiagnosticsBodyType? Type3279 { get; set; } + public global::tryAGI.OpenAI.LiveInitialUserMessageItemParamRole? Type3279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheComparisonResponseNotFoundDiagnosticsBody? Type3280 { get; set; } + public global::tryAGI.OpenAI.LiveInitialTextContentPartParam? Type3280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheComparisonResponseNotFoundDiagnosticsBodyType? Type3281 { get; set; } + public global::tryAGI.OpenAI.LiveInitialTextContentPartParamType? Type3281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheUnavailableDiagnosticsBody? Type3282 { get; set; } + public global::tryAGI.OpenAI.LiveInitialOutputTextContentPartParam? Type3282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheUnavailableDiagnosticsBodyType? Type3283 { get; set; } + public global::tryAGI.OpenAI.LiveInitialOutputTextContentPartParamType? Type3283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheDiagnosticsDiscriminator? Type3284 { get; set; } + public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParam? Type3284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheDiagnosticsDiscriminatorType? Type3285 { get; set; } + public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamType? Type3285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationErrorBody? Type3286 { get; set; } + public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamRole? Type3286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationErrorBodyType? Type3287 { get; set; } + public global::System.Collections.Generic.IList? Type3287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Input4? Type3288 { get; set; } + public global::tryAGI.OpenAI.ContentItem4? Type3288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationInputDiscriminator? Type3289 { get; set; } + public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamContentItemDiscriminator? Type3289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationInputDiscriminatorType? Type3290 { get; set; } + public global::tryAGI.OpenAI.LiveInitialAssistantMessageItemParamContentItemDiscriminatorType? Type3290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Output5? Type3291 { get; set; } + public global::tryAGI.OpenAI.LiveInitialItem? Type3291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationOutputDiscriminator? Type3292 { get; set; } + public global::tryAGI.OpenAI.LiveInitialItemDiscriminator? Type3292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModerationOutputDiscriminatorType? Type3293 { get; set; } + public global::tryAGI.OpenAI.LiveInitialItemDiscriminatorRole? Type3293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompactionCompactingStreamingEventType? Type3294 { get; set; } + public global::tryAGI.OpenAI.LiveAllowedServerEventParam? Type3294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseShellCallCommandAddedStreamingEventType? Type3295 { get; set; } + public global::tryAGI.OpenAI.LiveDataChannelConfigParam? Type3295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseShellCallCommandDeltaStreamingEventType? Type3296 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type3296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseShellCallCommandDoneStreamingEventType? Type3297 { get; set; } + public global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedClientEvents? Type3297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ShellCallOutputDelta? Type3298 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type3298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseShellCallOutputContentDeltaStreamingEventType? Type3299 { get; set; } + public global::tryAGI.OpenAI.LiveDataChannelConfigParamAllowedServerEvents? Type3299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseShellCallOutputContentDoneStreamingEventType? Type3300 { get; set; } + public global::System.Collections.Generic.IList? Type3300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationBody? Type3301 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParam? Type3301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateConversationBody? Type3302 { get; set; } + public global::System.Collections.Generic.IList? Type3302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type3303 { get; set; } + public global::tryAGI.OpenAI.ToolsItem17? Type3303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyCaseNoticeType? Type3304 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminator? Type3304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyCaseNotice? Type3305 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? Type3305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyCaseResource? Type3306 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyCaseResourceObject? Type3307 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceVariant22? Type3307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyAlertErrorType? Type3308 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator? Type3308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyAlertResource? Type3309 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? Type3309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SafetyAlertResourceObject? Type3310 { get; set; } + public global::tryAGI.OpenAI.LiveResponsesDelegationUpdateParamType? Type3310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageOrder? Type3311 { get; set; } + public global::tryAGI.OpenAI.AwsExternalStorageProviderResponse? Type3311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageStatus? Type3312 { get; set; } + public global::tryAGI.OpenAI.AwsExternalStorageProviderResponseType? Type3312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageResponse? Type3313 { get; set; } + public global::tryAGI.OpenAI.AzureExternalStorageProviderResponse? Type3313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageResponseObject? Type3314 { get; set; } + public global::tryAGI.OpenAI.AzureExternalStorageProviderResponseType? Type3314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Provider2? Type3315 { get; set; } + public global::tryAGI.OpenAI.GcpExternalStorageProviderResponse? Type3315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageResponseProviderDiscriminator? Type3316 { get; set; } + public global::tryAGI.OpenAI.GcpExternalStorageProviderResponseType? Type3316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageResponseProviderDiscriminatorType? Type3317 { get; set; } + public global::tryAGI.OpenAI.OciExternalStorageProviderResponse? Type3317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageListResource? Type3318 { get; set; } + public global::tryAGI.OpenAI.OciExternalStorageProviderResponseType? Type3318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageListResourceObject? Type3319 { get; set; } + public global::tryAGI.OpenAI.ProviderDiscriminator? Type3319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3320 { get; set; } + public global::tryAGI.OpenAI.ProviderDiscriminatorType? Type3320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AwsExternalStorageProviderParams? Type3321 { get; set; } + public global::tryAGI.OpenAI.SpecificProgrammaticToolCallingParamType? Type3321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AwsExternalStorageProviderParamsType? Type3322 { get; set; } + public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type3322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AzureExternalStorageProviderParams? Type3323 { get; set; } + public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type3323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AzureExternalStorageProviderParamsType? Type3324 { get; set; } + public global::tryAGI.OpenAI.CyberAccessProgramEnum? Type3324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GcpExternalStorageProviderParams? Type3325 { get; set; } + public global::tryAGI.OpenAI.ReasoningModeEnumEnum? Type3325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GcpExternalStorageProviderParamsType? Type3326 { get; set; } + public global::tryAGI.OpenAI.CacheMissReasonTypeEnum? Type3326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OciExternalStorageProviderParams? Type3327 { get; set; } + public global::tryAGI.OpenAI.PromptCacheMissDiagnosticsBody? Type3327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OciExternalStorageProviderParamsType? Type3328 { get; set; } + public global::tryAGI.OpenAI.PromptCacheMissDiagnosticsBodyType? Type3328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateExternalStorageBody? Type3329 { get; set; } + public global::tryAGI.OpenAI.PromptCacheHitDiagnosticsBody? Type3329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Provider3? Type3330 { get; set; } + public global::tryAGI.OpenAI.PromptCacheHitDiagnosticsBodyType? Type3330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateExternalStorageBodyProviderDiscriminator? Type3331 { get; set; } + public global::tryAGI.OpenAI.PromptCacheComparisonResponseNotFoundDiagnosticsBody? Type3331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateExternalStorageBodyProviderDiscriminatorType? Type3332 { get; set; } + public global::tryAGI.OpenAI.PromptCacheComparisonResponseNotFoundDiagnosticsBodyType? Type3332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageDeletedResource? Type3333 { get; set; } + public global::tryAGI.OpenAI.PromptCacheUnavailableDiagnosticsBody? Type3333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExternalStorageDeletedResourceObject? Type3334 { get; set; } + public global::tryAGI.OpenAI.PromptCacheUnavailableDiagnosticsBodyType? Type3334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitCurrency? Type3335 { get; set; } + public global::tryAGI.OpenAI.PromptCacheDiagnosticsDiscriminator? Type3335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitCurrencyEnum? Type3336 { get; set; } + public global::tryAGI.OpenAI.PromptCacheDiagnosticsDiscriminatorType? Type3336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitInterval? Type3337 { get; set; } + public global::tryAGI.OpenAI.ModerationErrorBody? Type3337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitIntervalEnum? Type3338 { get; set; } + public global::tryAGI.OpenAI.ModerationErrorBodyType? Type3338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitEnforcementStatus? Type3339 { get; set; } + public global::tryAGI.OpenAI.Input4? Type3339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitEnforcementStatusEnum? Type3340 { get; set; } + public global::tryAGI.OpenAI.ModerationInputDiscriminator? Type3340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpendLimitEnforcement? Type3341 { get; set; } + public global::tryAGI.OpenAI.ModerationInputDiscriminatorType? Type3341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationSpendLimitResource? Type3342 { get; set; } + public global::tryAGI.OpenAI.Output5? Type3342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationSpendLimitResourceObject? Type3343 { get; set; } + public global::tryAGI.OpenAI.ModerationOutputDiscriminator? Type3343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBody? Type3344 { get; set; } + public global::tryAGI.OpenAI.ModerationOutputDiscriminatorType? Type3344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBodyCurrency? Type3345 { get; set; } + public global::tryAGI.OpenAI.ResponseCompactionCompactingStreamingEventType? Type3345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBodyInterval? Type3346 { get; set; } + public global::tryAGI.OpenAI.ResponseShellCallCommandAddedStreamingEventType? Type3346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationSpendLimitDeletedResource? Type3347 { get; set; } + public global::tryAGI.OpenAI.ResponseShellCallCommandDeltaStreamingEventType? Type3347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationSpendLimitDeletedResourceObject? Type3348 { get; set; } + public global::tryAGI.OpenAI.ResponseShellCallCommandDoneStreamingEventType? Type3348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectSpendLimitResource? Type3349 { get; set; } + public global::tryAGI.OpenAI.ShellCallOutputDelta? Type3349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectSpendLimitResourceObject? Type3350 { get; set; } + public global::tryAGI.OpenAI.ResponseShellCallOutputContentDeltaStreamingEventType? Type3350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateProjectSpendLimitBody? Type3351 { get; set; } + public global::tryAGI.OpenAI.ResponseShellCallOutputContentDoneStreamingEventType? Type3351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateProjectSpendLimitBodyCurrency? Type3352 { get; set; } + public global::tryAGI.OpenAI.CreateConversationBody? Type3352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateProjectSpendLimitBodyInterval? Type3353 { get; set; } + public global::tryAGI.OpenAI.UpdateConversationBody? Type3353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectSpendLimitDeletedResource? Type3354 { get; set; } + public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type3354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectSpendLimitDeletedResourceObject? Type3355 { get; set; } + public global::tryAGI.OpenAI.SafetyCaseNoticeType? Type3355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateProjectServiceAccountApiKeyBody? Type3356 { get; set; } + public global::tryAGI.OpenAI.SafetyCaseNotice? Type3356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceAccountApiKeyBody? Type3357 { get; set; } + public global::tryAGI.OpenAI.SafetyCaseResource? Type3357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceAccountApiKeyBodyObject? Type3358 { get; set; } + public global::tryAGI.OpenAI.SafetyCaseResourceObject? Type3358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContentProvenanceBody? Type3359 { get; set; } + public global::tryAGI.OpenAI.SafetyAlertErrorType? Type3359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProvenanceCheckObject? Type3360 { get; set; } + public global::tryAGI.OpenAI.SafetyAlertResource? Type3360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProvenanceDetectionResultApi? Type3361 { get; set; } + public global::tryAGI.OpenAI.SafetyAlertResourceObject? Type3361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.C2PAValidationStateApi? Type3362 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageOrder? Type3362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.C2PAProvenanceResult? Type3363 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageStatus? Type3363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.C2PAProvenanceResultType? Type3364 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageResponse? Type3364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SynthIDProvenanceResult? Type3365 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageResponseObject? Type3365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SynthIDProvenanceResultType? Type3366 { get; set; } + public global::tryAGI.OpenAI.Provider2? Type3366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProvenanceResource? Type3367 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageResponseProviderDiscriminator? Type3367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3368 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageResponseProviderDiscriminatorType? Type3368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResultsItem2? Type3369 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageListResource? Type3369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProvenanceResourceResultDiscriminator? Type3370 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageListResourceObject? Type3370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProvenanceResourceResultDiscriminatorType? Type3371 { get; set; } + public global::System.Collections.Generic.IList? Type3371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrderEnum? Type3372 { get; set; } + public global::tryAGI.OpenAI.AwsExternalStorageProviderParams? Type3372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModel? Type3373 { get; set; } + public global::tryAGI.OpenAI.AwsExternalStorageProviderParamsType? Type3373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModelEnum? Type3374 { get; set; } + public global::tryAGI.OpenAI.AzureExternalStorageProviderParams? Type3374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoStatus? Type3375 { get; set; } + public global::tryAGI.OpenAI.AzureExternalStorageProviderParamsType? Type3375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSize? Type3376 { get; set; } + public global::tryAGI.OpenAI.GcpExternalStorageProviderParams? Type3376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error22? Type3377 { get; set; } + public global::tryAGI.OpenAI.GcpExternalStorageProviderParamsType? Type3377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResource? Type3378 { get; set; } + public global::tryAGI.OpenAI.OciExternalStorageProviderParams? Type3378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResourceObject? Type3379 { get; set; } + public global::tryAGI.OpenAI.OciExternalStorageProviderParamsType? Type3379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResource? Type3380 { get; set; } + public global::tryAGI.OpenAI.CreateExternalStorageBody? Type3380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResourceObject? Type3381 { get; set; } + public global::tryAGI.OpenAI.Provider3? Type3381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3382 { get; set; } + public global::tryAGI.OpenAI.CreateExternalStorageBodyProviderDiscriminator? Type3382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageRefParam2? Type3383 { get; set; } + public global::tryAGI.OpenAI.CreateExternalStorageBodyProviderDiscriminatorType? Type3383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSeconds? Type3384 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageDeletedResource? Type3384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type3385 { get; set; } + public global::tryAGI.OpenAI.ExternalStorageDeletedResourceObject? Type3385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type3386 { get; set; } + public global::tryAGI.OpenAI.SpendLimitCurrency? Type3386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoJsonBody? Type3387 { get; set; } + public global::tryAGI.OpenAI.SpendLimitCurrencyEnum? Type3387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type3388 { get; set; } + public global::tryAGI.OpenAI.SpendLimitInterval? Type3388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoCharacterResource? Type3389 { get; set; } + public global::tryAGI.OpenAI.SpendLimitIntervalEnum? Type3389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoReferenceInputParam? Type3390 { get; set; } + public global::tryAGI.OpenAI.SpendLimitEnforcementStatus? Type3390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type3391 { get; set; } + public global::tryAGI.OpenAI.SpendLimitEnforcementStatusEnum? Type3391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type3392 { get; set; } + public global::tryAGI.OpenAI.SpendLimitEnforcement? Type3392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type3393 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendLimitResource? Type3393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type3394 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendLimitResourceObject? Type3394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type3395 { get; set; } + public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBody? Type3395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type3396 { get; set; } + public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBodyCurrency? Type3396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResource? Type3397 { get; set; } + public global::tryAGI.OpenAI.UpdateOrganizationSpendLimitBodyInterval? Type3397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type3398 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendLimitDeletedResource? Type3398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoContentVariant? Type3399 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendLimitDeletedResourceObject? Type3399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoRemixBody? Type3400 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendLimitResource? Type3400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationEnum? Type3401 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendLimitResourceObject? Type3401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersonalityEnum? Type3402 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectSpendLimitBody? Type3402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersonalityEnumEnum? Type3403 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectSpendLimitBodyCurrency? Type3403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsBody? Type3404 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectSpendLimitBodyInterval? Type3404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResource? Type3405 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendLimitDeletedResource? Type3405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResourceObject? Type3406 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendLimitDeletedResourceObject? Type3406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type3407 { get; set; } + public global::tryAGI.OpenAI.CreateProjectServiceAccountApiKeyBody? Type3407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierEnum2? Type3408 { get; set; } + public global::tryAGI.OpenAI.ServiceAccountApiKeyBody? Type3408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type3409 { get; set; } + public global::tryAGI.OpenAI.ServiceAccountApiKeyBodyObject? Type3409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemField? Type3410 { get; set; } + public global::tryAGI.OpenAI.CreateContentProvenanceBody? Type3410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type3411 { get; set; } + public global::tryAGI.OpenAI.ProvenanceCheckObject? Type3411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type3412 { get; set; } + public global::tryAGI.OpenAI.ProvenanceDetectionResultApi? Type3412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResource? Type3413 { get; set; } + public global::tryAGI.OpenAI.C2PAValidationStateApi? Type3413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResourceObject? Type3414 { get; set; } + public global::tryAGI.OpenAI.C2PAProvenanceResult? Type3414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3415 { get; set; } + public global::tryAGI.OpenAI.C2PAProvenanceResultType? Type3415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResource? Type3416 { get; set; } + public global::tryAGI.OpenAI.SynthIDProvenanceResult? Type3416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResourceObject? Type3417 { get; set; } + public global::tryAGI.OpenAI.SynthIDProvenanceResultType? Type3417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResource? Type3418 { get; set; } + public global::tryAGI.OpenAI.ProvenanceResource? Type3418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResourceObject? Type3419 { get; set; } + public global::System.Collections.Generic.IList? Type3419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3420 { get; set; } + public global::tryAGI.OpenAI.ResultsItem2? Type3420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillBody? Type3421 { get; set; } + public global::tryAGI.OpenAI.ProvenanceResourceResultDiscriminator? Type3421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? Type3422 { get; set; } + public global::tryAGI.OpenAI.ProvenanceResourceResultDiscriminatorType? Type3422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type3423 { get; set; } + public global::tryAGI.OpenAI.OrderEnum? Type3423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResource? Type3424 { get; set; } + public global::tryAGI.OpenAI.VideoModel? Type3424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type3425 { get; set; } + public global::tryAGI.OpenAI.VideoModelEnum? Type3425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResource? Type3426 { get; set; } + public global::tryAGI.OpenAI.VideoStatus? Type3426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResourceObject? Type3427 { get; set; } + public global::tryAGI.OpenAI.VideoSize? Type3427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResource? Type3428 { get; set; } + public global::tryAGI.OpenAI.Error22? Type3428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type3429 { get; set; } + public global::tryAGI.OpenAI.VideoResource? Type3429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3430 { get; set; } + public global::tryAGI.OpenAI.VideoResourceObject? Type3430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillVersionBody? Type3431 { get; set; } + public global::tryAGI.OpenAI.VideoListResource? Type3431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type3432 { get; set; } + public global::tryAGI.OpenAI.VideoListResourceObject? Type3432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type3433 { get; set; } + public global::System.Collections.Generic.IList? Type3433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type3434 { get; set; } + public global::tryAGI.OpenAI.ImageRefParam2? Type3434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflow? Type3435 { get; set; } + public global::tryAGI.OpenAI.VideoSeconds? Type3435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type3436 { get; set; } + public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type3436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionRateLimits? Type3437 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionStatus? Type3438 { get; set; } + public global::tryAGI.OpenAI.CreateVideoJsonBody? Type3438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type3439 { get; set; } + public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type3439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionFileUpload? Type3440 { get; set; } + public global::tryAGI.OpenAI.VideoCharacterResource? Type3440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionHistory? Type3441 { get; set; } + public global::tryAGI.OpenAI.VideoReferenceInputParam? Type3441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type3442 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type3442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResource? Type3443 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResourceObject? Type3444 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type3444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowTracingParam? Type3445 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type3445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowParam? Type3446 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type3447 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type3447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParam? Type3448 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResource? Type3448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type3449 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type3449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RateLimitsParam? Type3450 { get; set; } + public global::tryAGI.OpenAI.VideoContentVariant? Type3450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type3451 { get; set; } + public global::tryAGI.OpenAI.CreateVideoRemixBody? Type3451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileUploadParam? Type3452 { get; set; } + public global::tryAGI.OpenAI.TruncationEnum? Type3452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HistoryParam? Type3453 { get; set; } + public global::tryAGI.OpenAI.PersonalityEnum? Type3453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type3454 { get; set; } + public global::tryAGI.OpenAI.PersonalityEnumEnum? Type3454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatSessionBody? Type3455 { get; set; } + public global::tryAGI.OpenAI.TokenCountsBody? Type3455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputText? Type3456 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResource? Type3456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputTextType? Type3457 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResourceObject? Type3457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedText? Type3458 { get; set; } + public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type3458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type3459 { get; set; } + public global::tryAGI.OpenAI.ServiceTierEnum2? Type3459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AttachmentType? Type3460 { get; set; } + public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type3460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Attachment? Type3461 { get; set; } + public global::tryAGI.OpenAI.ItemField? Type3461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoice9? Type3462 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type3462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InferenceOptions? Type3463 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type3463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItem? Type3464 { get; set; } + public global::tryAGI.OpenAI.CompactResource? Type3464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemObject? Type3465 { get; set; } + public global::tryAGI.OpenAI.CompactResourceObject? Type3465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemType? Type3466 { get; set; } + public global::System.Collections.Generic.IList? Type3466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3467 { get; set; } + public global::tryAGI.OpenAI.SkillResource? Type3467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem5? Type3468 { get; set; } + public global::tryAGI.OpenAI.SkillResourceObject? Type3468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type3469 { get; set; } + public global::tryAGI.OpenAI.SkillListResource? Type3469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type3470 { get; set; } + public global::tryAGI.OpenAI.SkillListResourceObject? Type3470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3471 { get; set; } + public global::System.Collections.Generic.IList? Type3471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSource? Type3472 { get; set; } + public global::tryAGI.OpenAI.CreateSkillBody? Type3472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSourceType? Type3473 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? Type3473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotation? Type3474 { get; set; } + public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type3474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationType? Type3475 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResource? Type3475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSource? Type3476 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type3476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type3477 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResource? Type3477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotation? Type3478 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResourceObject? Type3478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationType? Type3479 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResource? Type3479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputText? Type3480 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type3480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextType? Type3481 { get; set; } + public global::System.Collections.Generic.IList? Type3481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3482 { get; set; } + public global::tryAGI.OpenAI.CreateSkillVersionBody? Type3482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem3? Type3483 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type3483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type3484 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type3484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type3485 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type3485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItem? Type3486 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflow? Type3486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemObject? Type3487 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type3487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemType? Type3488 { get; set; } + public global::tryAGI.OpenAI.ChatSessionRateLimits? Type3488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3489 { get; set; } + public global::tryAGI.OpenAI.ChatSessionStatus? Type3489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItem? Type3490 { get; set; } + public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type3490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemObject? Type3491 { get; set; } + public global::tryAGI.OpenAI.ChatSessionFileUpload? Type3491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemType? Type3492 { get; set; } + public global::tryAGI.OpenAI.ChatSessionHistory? Type3492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallStatus? Type3493 { get; set; } + public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type3493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItem? Type3494 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResource? Type3494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemObject? Type3495 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResourceObject? Type3495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemType? Type3496 { get; set; } + public global::tryAGI.OpenAI.WorkflowTracingParam? Type3496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskType? Type3497 { get; set; } + public global::tryAGI.OpenAI.WorkflowParam? Type3497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItem? Type3498 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type3498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemObject? Type3499 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParam? Type3499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemType? Type3500 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type3500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupTask? Type3501 { get; set; } + public global::tryAGI.OpenAI.RateLimitsParam? Type3501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItem? Type3502 { get; set; } + public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type3502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemObject? Type3503 { get; set; } + public global::tryAGI.OpenAI.FileUploadParam? Type3503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemType? Type3504 { get; set; } + public global::tryAGI.OpenAI.HistoryParam? Type3504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3505 { get; set; } + public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type3505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItem? Type3506 { get; set; } + public global::tryAGI.OpenAI.CreateChatSessionBody? Type3506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type3507 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputText? Type3507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type3508 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputTextType? Type3508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResource? Type3509 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedText? Type3509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type3510 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type3510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3511 { get; set; } + public global::tryAGI.OpenAI.AttachmentType? Type3511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatus? Type3512 { get; set; } + public global::tryAGI.OpenAI.Attachment? Type3512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatusType? Type3513 { get; set; } + public global::tryAGI.OpenAI.ToolChoice9? Type3513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatus? Type3514 { get; set; } + public global::tryAGI.OpenAI.InferenceOptions? Type3514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatusType? Type3515 { get; set; } + public global::tryAGI.OpenAI.UserMessageItem? Type3515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatus? Type3516 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemObject? Type3516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatusType? Type3517 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemType? Type3517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResource? Type3518 { get; set; } + public global::System.Collections.Generic.IList? Type3518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceObject? Type3519 { get; set; } + public global::tryAGI.OpenAI.ContentItem5? Type3519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Status? Type3520 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type3520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type3521 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type3521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type3522 { get; set; } + public global::System.Collections.Generic.IList? Type3522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResource? Type3523 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSource? Type3523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type3524 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSourceType? Type3524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResource? Type3525 { get; set; } + public global::tryAGI.OpenAI.FileAnnotation? Type3525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResourceObject? Type3526 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationType? Type3526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3527 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSource? Type3527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputText? Type3528 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type3528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputTextType? Type3529 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotation? Type3529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageDetailParam? Type3530 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationType? Type3530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputImage? Type3531 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputText? Type3531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputImageType? Type3532 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextType? Type3532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3533 { get; set; } + public global::System.Collections.Generic.IList? Type3533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputContentPartsItem? Type3534 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem3? Type3534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputContentPartDiscriminator? Type3535 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type3535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputContentPartDiscriminatorType? Type3536 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type3536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputContent? Type3537 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItem? Type3537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputMessage? Type3538 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemObject? Type3538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputMessageRole? Type3539 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemType? Type3539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputMessageType? Type3540 { get; set; } + public global::System.Collections.Generic.IList? Type3540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInput? Type3541 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItem? Type3541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3542 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemObject? Type3542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputVariant2Item? Type3543 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemType? Type3543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputVariant2ItemDiscriminator? Type3544 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallStatus? Type3544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionInputVariant2ItemDiscriminatorType? Type3545 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItem? Type3545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamPredicate? Type3546 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemObject? Type3546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamPredicateType? Type3547 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemType? Type3547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChoiceValueParam? Type3548 { get; set; } + public global::tryAGI.OpenAI.TaskType? Type3548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChoiceOptionParam? Type3549 { get; set; } + public global::tryAGI.OpenAI.TaskItem? Type3549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamChoice? Type3550 { get; set; } + public global::tryAGI.OpenAI.TaskItemObject? Type3550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamChoiceType? Type3551 { get; set; } + public global::tryAGI.OpenAI.TaskItemType? Type3551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3552 { get; set; } + public global::tryAGI.OpenAI.TaskGroupTask? Type3552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScoreLevelParam? Type3553 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItem? Type3553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamScore? Type3554 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemObject? Type3554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamScoreType? Type3555 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemType? Type3555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3556 { get; set; } + public global::System.Collections.Generic.IList? Type3556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParam? Type3557 { get; set; } + public global::tryAGI.OpenAI.ThreadItem? Type3557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamDiscriminator? Type3558 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type3558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.QuestionParamDiscriminatorType? Type3559 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type3559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionRequest? Type3560 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResource? Type3560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3561 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type3561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourcePredicate? Type3562 { get; set; } + public global::System.Collections.Generic.IList? Type3562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourcePredicateType? Type3563 { get; set; } + public global::tryAGI.OpenAI.ActiveStatus? Type3563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChoiceValueResource? Type3564 { get; set; } + public global::tryAGI.OpenAI.ActiveStatusType? Type3564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChoiceProbabilityResource? Type3565 { get; set; } + public global::tryAGI.OpenAI.LockedStatus? Type3565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceChoice? Type3566 { get; set; } + public global::tryAGI.OpenAI.LockedStatusType? Type3566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceChoiceType? Type3567 { get; set; } + public global::tryAGI.OpenAI.ClosedStatus? Type3567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3568 { get; set; } + public global::tryAGI.OpenAI.ClosedStatusType? Type3568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScoreProbabilityResource? Type3569 { get; set; } + public global::tryAGI.OpenAI.ThreadResource? Type3569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceScore? Type3570 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceObject? Type3570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceScoreType? Type3571 { get; set; } + public global::tryAGI.OpenAI.Status? Type3571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3572 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type3572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceRefusal? Type3573 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type3573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceRefusalType? Type3574 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResource? Type3574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResource? Type3575 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type3575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceDiscriminator? Type3576 { get; set; } + public global::tryAGI.OpenAI.ThreadListResource? Type3576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnswerResourceDiscriminatorType? Type3577 { get; set; } + public global::tryAGI.OpenAI.ThreadListResourceObject? Type3577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTokensDetailsResource? Type3578 { get; set; } + public global::System.Collections.Generic.IList? Type3578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTokensDetailsResource? Type3579 { get; set; } + public global::tryAGI.OpenAI.DecisionInputText? Type3579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageResource? Type3580 { get; set; } + public global::tryAGI.OpenAI.DecisionInputTextType? Type3580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DecisionResponse? Type3581 { get; set; } + public global::tryAGI.OpenAI.ImageDetailParam? Type3581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3582 { get; set; } + public global::tryAGI.OpenAI.DecisionInputImage? Type3582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentTypeResource? Type3583 { get; set; } + public global::tryAGI.OpenAI.DecisionInputImageType? Type3583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentStatusResource? Type3584 { get; set; } + public global::System.Collections.Generic.IList? Type3584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileId? Type3585 { get; set; } + public global::tryAGI.OpenAI.DecisionInputContentPartsItem? Type3585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileIdType? Type3586 { get; set; } + public global::tryAGI.OpenAI.DecisionInputContentPartDiscriminator? Type3586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceInline? Type3587 { get; set; } + public global::tryAGI.OpenAI.DecisionInputContentPartDiscriminatorType? Type3587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType? Type3588 { get; set; } + public global::tryAGI.OpenAI.DecisionInputContent? Type3588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResource? Type3589 { get; set; } + public global::tryAGI.OpenAI.DecisionInputMessage? Type3589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminator? Type3590 { get; set; } + public global::tryAGI.OpenAI.DecisionInputMessageRole? Type3590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType? Type3591 { get; set; } + public global::tryAGI.OpenAI.DecisionInputMessageType? Type3591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceSkillReference? Type3592 { get; set; } + public global::tryAGI.OpenAI.DecisionInput? Type3592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType? Type3593 { get; set; } + public global::System.Collections.Generic.IList? Type3593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceInline? Type3594 { get; set; } + public global::tryAGI.OpenAI.DecisionInputVariant2Item? Type3594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceInlineType? Type3595 { get; set; } + public global::tryAGI.OpenAI.DecisionInputVariant2ItemDiscriminator? Type3595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResource? Type3596 { get; set; } + public global::tryAGI.OpenAI.DecisionInputVariant2ItemDiscriminatorType? Type3596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceDiscriminator? Type3597 { get; set; } + public global::tryAGI.OpenAI.QuestionParamPredicate? Type3597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType? Type3598 { get; set; } + public global::tryAGI.OpenAI.QuestionParamPredicateType? Type3598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginResourceInline? Type3599 { get; set; } + public global::tryAGI.OpenAI.ChoiceValueParam? Type3599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginResourceInlineType? Type3600 { get; set; } + public global::tryAGI.OpenAI.ChoiceOptionParam? Type3600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginResource? Type3601 { get; set; } + public global::tryAGI.OpenAI.QuestionParamChoice? Type3601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginResourceDiscriminator? Type3602 { get; set; } + public global::tryAGI.OpenAI.QuestionParamChoiceType? Type3602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType? Type3603 { get; set; } + public global::System.Collections.Generic.IList? Type3603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicEnvironmentResource? Type3604 { get; set; } + public global::tryAGI.OpenAI.ScoreLevelParam? Type3604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicEnvironmentResourceObject? Type3605 { get; set; } + public global::tryAGI.OpenAI.QuestionParamScore? Type3605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3606 { get; set; } + public global::tryAGI.OpenAI.QuestionParamScoreType? Type3606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3607 { get; set; } + public global::System.Collections.Generic.IList? Type3607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3608 { get; set; } + public global::tryAGI.OpenAI.QuestionParam? Type3608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorBodyResource? Type3609 { get; set; } + public global::tryAGI.OpenAI.QuestionParamDiscriminator? Type3609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorResponse2? Type3610 { get; set; } + public global::tryAGI.OpenAI.QuestionParamDiscriminatorType? Type3610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrderParam? Type3611 { get; set; } + public global::tryAGI.OpenAI.DecisionRequest? Type3611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentFilePageObjectResource? Type3612 { get; set; } + public global::System.Collections.Generic.IList? Type3612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentFileResource? Type3613 { get; set; } + public global::tryAGI.OpenAI.AnswerResourcePredicate? Type3613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentFileResourceObject? Type3614 { get; set; } + public global::tryAGI.OpenAI.AnswerResourcePredicateType? Type3614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentFileListResource? Type3615 { get; set; } + public global::tryAGI.OpenAI.ChoiceValueResource? Type3615 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3616 { get; set; } + public global::tryAGI.OpenAI.ChoiceProbabilityResource? Type3616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamFileId? Type3617 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceChoice? Type3617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType? Type3618 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceChoiceType? Type3618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamInline? Type3619 { get; set; } + public global::System.Collections.Generic.IList? Type3619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamInlineType? Type3620 { get; set; } + public global::tryAGI.OpenAI.ScoreProbabilityResource? Type3620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParam? Type3621 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceScore? Type3621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminator? Type3622 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceScoreType? Type3622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminatorType? Type3623 { get; set; } + public global::System.Collections.Generic.IList? Type3623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubagentObjectResource? Type3624 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceRefusal? Type3624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextResource? Type3625 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceRefusalType? Type3625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextResourceType? Type3626 { get; set; } + public global::tryAGI.OpenAI.AnswerResource? Type3626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EncryptedContentResource? Type3627 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceDiscriminator? Type3627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EncryptedContentResourceType? Type3628 { get; set; } + public global::tryAGI.OpenAI.AnswerResourceDiscriminatorType? Type3628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentContentResource? Type3629 { get; set; } + public global::tryAGI.OpenAI.InputTokensDetailsResource? Type3629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentContentResourceDiscriminator? Type3630 { get; set; } + public global::tryAGI.OpenAI.OutputTokensDetailsResource? Type3630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentContentResourceDiscriminatorType? Type3631 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageResource? Type3631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubagentStatusResource? Type3632 { get; set; } + public global::tryAGI.OpenAI.DecisionResponse? Type3632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubagentResource? Type3633 { get; set; } + public global::System.Collections.Generic.IList? Type3633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3634 { get; set; } + public global::tryAGI.OpenAI.ListOrderParam? Type3634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionMessageRoleResource? Type3635 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTypeParam? Type3635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceInputText? Type3636 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTypeResource? Type3636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceInputTextType? Type3637 { get; set; } + public global::tryAGI.OpenAI.EnvironmentStatusResource? Type3637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceInputImage? Type3638 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileId? Type3638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceInputImageType? Type3639 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceFileIdType? Type3639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceOutputText? Type3640 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceInline? Type3640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceOutputTextType? Type3641 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceInlineType? Type3641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResource? Type3642 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResource? Type3642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceDiscriminator? Type3643 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminator? Type3643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentResourceDiscriminatorType? Type3644 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileResourceDiscriminatorType? Type3644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemStatusResource? Type3645 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceSkillReference? Type3645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessagePhaseResource? Type3646 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceSkillReferenceType? Type3646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageItemResource? Type3647 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceInline? Type3647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageItemResourceType? Type3648 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceInlineType? Type3648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3649 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResource? Type3649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextResource? Type3650 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceDiscriminator? Type3650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextResourceType? Type3651 { get; set; } + public global::tryAGI.OpenAI.HostedSkillResourceDiscriminatorType? Type3651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemResource? Type3652 { get; set; } + public global::tryAGI.OpenAI.HostedPluginResourceInline? Type3652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemResourceType? Type3653 { get; set; } + public global::tryAGI.OpenAI.HostedPluginResourceInlineType? Type3653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3654 { get; set; } + public global::tryAGI.OpenAI.HostedPluginResource? Type3654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallStatusResource? Type3655 { get; set; } + public global::tryAGI.OpenAI.HostedPluginResourceDiscriminator? Type3655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallItemResource? Type3656 { get; set; } + public global::tryAGI.OpenAI.HostedPluginResourceDiscriminatorType? Type3656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallItemResourceType? Type3657 { get; set; } + public global::tryAGI.OpenAI.PublicEnvironmentResource? Type3657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceInputText? Type3658 { get; set; } + public global::tryAGI.OpenAI.PublicEnvironmentResourceObject? Type3658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceInputTextType? Type3659 { get; set; } + public global::System.Collections.Generic.IList? Type3659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceInputImage? Type3660 { get; set; } + public global::System.Collections.Generic.IList? Type3660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceInputImageType? Type3661 { get; set; } + public global::System.Collections.Generic.IList? Type3661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResource? Type3662 { get; set; } + public global::tryAGI.OpenAI.AgentEnvironmentListResource? Type3662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceDiscriminator? Type3663 { get; set; } + public global::tryAGI.OpenAI.AgentEnvironmentListResourceObject? Type3663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentResourceDiscriminatorType? Type3664 { get; set; } + public global::System.Collections.Generic.IList? Type3664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputResource? Type3665 { get; set; } + public global::tryAGI.OpenAI.ErrorBodyResource? Type3665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3666 { get; set; } + public global::tryAGI.OpenAI.ErrorResponse2? Type3666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemResource? Type3667 { get; set; } + public global::tryAGI.OpenAI.EnvironmentPackagesParam? Type3667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemResourceType? Type3668 { get; set; } + public global::tryAGI.OpenAI.SetupCommandParam? Type3668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentMessageItemResource? Type3669 { get; set; } + public global::tryAGI.OpenAI.NetworkAccessParam? Type3669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentMessageItemResourceType? Type3670 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicyParam? Type3670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpCallItemResource? Type3671 { get; set; } + public global::tryAGI.OpenAI.DesktopParam? Type3671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpCallItemResourceType? Type3672 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamSkillReference? Type3672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotResource? Type3673 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType? Type3673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotResourceType? Type3674 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64? Type3674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseCallItemResource? Type3675 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type? Type3675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseCallItemResourceType? Type3676 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType? Type3676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationFieldResource? Type3677 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParam? Type3677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationOptionResource? Type3678 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminator? Type3678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceBrowserAuthentication? Type3679 { get; set; } + public global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType? Type3679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceBrowserAuthenticationType? Type3680 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamInline? Type3680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3681 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamInlineType? Type3681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3682 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParam? Type3682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResource? Type3683 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamDiscriminator? Type3683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceDiscriminator? Type3684 { get; set; } + public global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType? Type3684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceDiscriminatorType? Type3685 { get; set; } + public global::tryAGI.OpenAI.HostedPluginParamInline? Type3685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationRequestItemResource? Type3686 { get; set; } + public global::tryAGI.OpenAI.HostedPluginParamInlineType? Type3686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationRequestItemResourceType? Type3687 { get; set; } + public global::tryAGI.OpenAI.HostedPluginParam? Type3687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResource? Type3688 { get; set; } + public global::tryAGI.OpenAI.HostedPluginParamDiscriminator? Type3688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResourceType? Type3689 { get; set; } + public global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType? Type3689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResourceAction? Type3690 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamFileId? Type3690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResource? Type3691 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamFileIdType? Type3691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResourceType? Type3692 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamInline? Type3692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResourceAction? Type3693 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamInlineType? Type3693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResource? Type3694 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParam? Type3694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceDiscriminator? Type3695 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminator? Type3695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceDiscriminatorAction? Type3696 { get; set; } + public global::tryAGI.OpenAI.HostedEnvironmentFileParamDiscriminatorType? Type3696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestResultItemResource? Type3697 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? Type3697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestResultItemResourceType? Type3698 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType? Type3698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceSearch? Type3699 { get; set; } + public global::System.Collections.Generic.IList? Type3699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceSearchType? Type3700 { get; set; } + public global::System.Collections.Generic.IList? Type3700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceOpenPage? Type3701 { get; set; } + public global::System.Collections.Generic.IList? Type3701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceOpenPageType? Type3702 { get; set; } + public global::System.Collections.Generic.IList? Type3702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceFindInPage? Type3703 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentParam? Type3703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceFindInPageType? Type3704 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator? Type3704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceOther? Type3705 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? Type3705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceOtherType? Type3706 { get; set; } + public global::tryAGI.OpenAI.CreateAgentEnvironmentParams? Type3706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResource? Type3707 { get; set; } + public global::tryAGI.OpenAI.EnvironmentFilePageObjectResource? Type3707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceDiscriminator? Type3708 { get; set; } + public global::tryAGI.OpenAI.EnvironmentFileResource? Type3708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionResourceDiscriminatorType? Type3709 { get; set; } + public global::tryAGI.OpenAI.EnvironmentFileResourceObject? Type3709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchCallItemResource? Type3710 { get; set; } + public global::tryAGI.OpenAI.EnvironmentFileListResource? Type3710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchCallItemResourceType? Type3711 { get; set; } + public global::System.Collections.Generic.IList? Type3711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CommandExecutionItemResource? Type3712 { get; set; } + public global::tryAGI.OpenAI.SubagentObjectResource? Type3712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CommandExecutionItemResourceType? Type3713 { get; set; } + public global::tryAGI.OpenAI.OutputTextResource? Type3713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InterruptSubagentCallItemResource? Type3714 { get; set; } + public global::tryAGI.OpenAI.OutputTextResourceType? Type3714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InterruptSubagentCallItemResourceType? Type3715 { get; set; } + public global::tryAGI.OpenAI.EncryptedContentResource? Type3715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSubagentCallItemResource? Type3716 { get; set; } + public global::tryAGI.OpenAI.EncryptedContentResourceType? Type3716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSubagentCallItemResourceType? Type3717 { get; set; } + public global::tryAGI.OpenAI.AgentContentResource? Type3717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SendSubagentInputCallItemResource? Type3718 { get; set; } + public global::tryAGI.OpenAI.AgentContentResourceDiscriminator? Type3718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SendSubagentInputCallItemResourceType? Type3719 { get; set; } + public global::tryAGI.OpenAI.AgentContentResourceDiscriminatorType? Type3719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResumeSubagentCallItemResource? Type3720 { get; set; } + public global::tryAGI.OpenAI.SubagentStatusResource? Type3720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResumeSubagentCallItemResourceType? Type3721 { get; set; } + public global::tryAGI.OpenAI.SubagentResource? Type3721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitForSubagentsCallItemResource? Type3722 { get; set; } + public global::System.Collections.Generic.IList? Type3722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitForSubagentsCallItemResourceType? Type3723 { get; set; } + public global::tryAGI.OpenAI.SessionMessageRoleResource? Type3723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CloseSubagentCallItemResource? Type3724 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceInputText? Type3724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CloseSubagentCallItemResourceType? Type3725 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceInputTextType? Type3725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnItemResource? Type3726 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceInputImage? Type3726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnItemResourceDiscriminator? Type3727 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceInputImageType? Type3727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnItemResourceDiscriminatorType? Type3728 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceOutputText? Type3728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionItemListResource? Type3729 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceOutputTextType? Type3729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionItemListResourceObject? Type3730 { get; set; } + public global::tryAGI.OpenAI.MessageContentResource? Type3730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3731 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceDiscriminator? Type3731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TurnObjectResource? Type3732 { get; set; } + public global::tryAGI.OpenAI.MessageContentResourceDiscriminatorType? Type3732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TurnStatusResource? Type3733 { get; set; } + public global::tryAGI.OpenAI.OutputItemStatusResource? Type3733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnErrorCodeResource? Type3734 { get; set; } + public global::tryAGI.OpenAI.MessagePhaseResource? Type3734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnErrorResource? Type3735 { get; set; } + public global::tryAGI.OpenAI.MessageItemResource? Type3735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTokensDetailsResource2? Type3736 { get; set; } + public global::tryAGI.OpenAI.MessageItemResourceType? Type3736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTokensDetailsResource2? Type3737 { get; set; } + public global::System.Collections.Generic.IList? Type3737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenUsageResource? Type3738 { get; set; } + public global::tryAGI.OpenAI.SummaryTextResource? Type3738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TurnResource? Type3739 { get; set; } + public global::tryAGI.OpenAI.SummaryTextResourceType? Type3739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnListResource? Type3740 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemResource? Type3740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnListResourceObject? Type3741 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemResourceType? Type3741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3742 { get; set; } + public global::System.Collections.Generic.IList? Type3742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningEffortResource? Type3743 { get; set; } + public global::tryAGI.OpenAI.FunctionCallStatusResource? Type3743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningSummaryResource? Type3744 { get; set; } + public global::tryAGI.OpenAI.FunctionCallItemResource? Type3744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningResource? Type3745 { get; set; } + public global::tryAGI.OpenAI.FunctionCallItemResourceType? Type3745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceText? Type3746 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceInputText? Type3746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceTextType? Type3747 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceInputTextType? Type3747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceJsonSchema? Type3748 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceInputImage? Type3748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceJsonSchemaType? Type3749 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceInputImageType? Type3749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResource? Type3750 { get; set; } + public global::tryAGI.OpenAI.InputContentResource? Type3750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceDiscriminator? Type3751 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceDiscriminator? Type3751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatResourceDiscriminatorType? Type3752 { get; set; } + public global::tryAGI.OpenAI.InputContentResourceDiscriminatorType? Type3752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VerbosityResource? Type3753 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputResource? Type3753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResource? Type3754 { get; set; } + public global::System.Collections.Generic.IList? Type3754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierResource? Type3755 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemResource? Type3755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceFunction? Type3756 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemResourceType? Type3756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceFunctionType? Type3757 { get; set; } + public global::tryAGI.OpenAI.AgentMessageItemResource? Type3757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceToolSearch? Type3758 { get; set; } + public global::tryAGI.OpenAI.AgentMessageItemResourceType? Type3758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceToolSearchType? Type3759 { get; set; } + public global::tryAGI.OpenAI.McpCallItemResource? Type3759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceProgrammaticToolCalling? Type3760 { get; set; } + public global::tryAGI.OpenAI.McpCallItemResourceType? Type3760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceProgrammaticToolCallingType? Type3761 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotResource? Type3761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceHttp? Type3762 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotResourceType? Type3762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceHttpType? Type3763 { get; set; } + public global::tryAGI.OpenAI.ComputerUseCallItemResource? Type3763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceStdio? Type3764 { get; set; } + public global::tryAGI.OpenAI.ComputerUseCallItemResourceType? Type3764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceStdioType? Type3765 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationFieldResource? Type3765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResource? Type3766 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationOptionResource? Type3766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceDiscriminator? Type3767 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceBrowserAuthentication? Type3767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportResourceDiscriminatorType? Type3768 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceBrowserAuthenticationType? Type3768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpConnectionOriginResource? Type3769 { get; set; } + public global::System.Collections.Generic.IList? Type3769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceMcp? Type3770 { get; set; } + public global::System.Collections.Generic.IList? Type3770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceMcpType? Type3771 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResource? Type3771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchModeResource? Type3772 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceDiscriminator? Type3772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchContextSizeResource? Type3773 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationHistoryRequestKindResourceDiscriminatorType? Type3773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchLocationResource? Type3774 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationRequestItemResource? Type3774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceWebSearch? Type3775 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationRequestItemResourceType? Type3775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceWebSearchType? Type3776 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResource? Type3776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceComputerUse? Type3777 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResourceType? Type3777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceComputerUseType? Type3778 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResourceAction? Type3778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResource? Type3779 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResource? Type3779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceDiscriminator? Type3780 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResourceType? Type3780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolResourceDiscriminatorType? Type3781 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResourceAction? Type3781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MultiAgentConfigResource? Type3782 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResource? Type3782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentResource? Type3783 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceDiscriminator? Type3783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentResourceObject? Type3784 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseKindResourceDiscriminatorAction? Type3784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3785 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestResultItemResource? Type3785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentListResource? Type3786 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestResultItemResourceType? Type3786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentListResourceObject? Type3787 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceSearch? Type3787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3788 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceSearchType? Type3788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningEffortParam? Type3789 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceOpenPage? Type3789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningSummaryParam? Type3790 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceOpenPageType? Type3790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningParam? Type3791 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceFindInPage? Type3791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamText? Type3792 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceFindInPageType? Type3792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamTextType? Type3793 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceOther? Type3793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamJsonSchema? Type3794 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceOtherType? Type3794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamJsonSchemaType? Type3795 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResource? Type3795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParam? Type3796 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceDiscriminator? Type3796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamDiscriminator? Type3797 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionResourceDiscriminatorType? Type3797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextFormatParamDiscriminatorType? Type3798 { get; set; } + public global::tryAGI.OpenAI.WebSearchCallItemResource? Type3798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VerbosityParam? Type3799 { get; set; } + public global::tryAGI.OpenAI.WebSearchCallItemResourceType? Type3799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextParam? Type3800 { get; set; } + public global::tryAGI.OpenAI.CommandExecutionItemResource? Type3800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierParam? Type3801 { get; set; } + public global::tryAGI.OpenAI.CommandExecutionItemResourceType? Type3801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamFunction? Type3802 { get; set; } + public global::tryAGI.OpenAI.InterruptSubagentCallItemResource? Type3802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamFunctionType? Type3803 { get; set; } + public global::tryAGI.OpenAI.InterruptSubagentCallItemResourceType? Type3803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamToolSearch? Type3804 { get; set; } + public global::tryAGI.OpenAI.CreateSubagentCallItemResource? Type3804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamToolSearchType? Type3805 { get; set; } + public global::tryAGI.OpenAI.CreateSubagentCallItemResourceType? Type3805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamProgrammaticToolCalling? Type3806 { get; set; } + public global::tryAGI.OpenAI.SendSubagentInputCallItemResource? Type3806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamProgrammaticToolCallingType? Type3807 { get; set; } + public global::tryAGI.OpenAI.SendSubagentInputCallItemResourceType? Type3807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamHttp? Type3808 { get; set; } + public global::tryAGI.OpenAI.ResumeSubagentCallItemResource? Type3808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamHttpType? Type3809 { get; set; } + public global::tryAGI.OpenAI.ResumeSubagentCallItemResourceType? Type3809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamStdio? Type3810 { get; set; } + public global::tryAGI.OpenAI.WaitForSubagentsCallItemResource? Type3810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamStdioType? Type3811 { get; set; } + public global::tryAGI.OpenAI.WaitForSubagentsCallItemResourceType? Type3811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParam? Type3812 { get; set; } + public global::tryAGI.OpenAI.CloseSubagentCallItemResource? Type3812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamDiscriminator? Type3813 { get; set; } + public global::tryAGI.OpenAI.CloseSubagentCallItemResourceType? Type3813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamDiscriminatorType? Type3814 { get; set; } + public global::tryAGI.OpenAI.SessionTurnItemResource? Type3814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpConnectionOriginParam? Type3815 { get; set; } + public global::tryAGI.OpenAI.SessionTurnItemResourceDiscriminator? Type3815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamMcp? Type3816 { get; set; } + public global::tryAGI.OpenAI.SessionTurnItemResourceDiscriminatorType? Type3816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamMcpType? Type3817 { get; set; } + public global::tryAGI.OpenAI.SessionItemListResource? Type3817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchModeParam? Type3818 { get; set; } + public global::tryAGI.OpenAI.SessionItemListResourceObject? Type3818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchContextSizeParam? Type3819 { get; set; } + public global::System.Collections.Generic.IList? Type3819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchLocationParam? Type3820 { get; set; } + public global::tryAGI.OpenAI.TurnObjectResource? Type3820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamWebSearch? Type3821 { get; set; } + public global::tryAGI.OpenAI.TurnStatusResource? Type3821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamWebSearchType? Type3822 { get; set; } + public global::tryAGI.OpenAI.SessionTurnErrorCodeResource? Type3822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamComputerUse? Type3823 { get; set; } + public global::tryAGI.OpenAI.SessionTurnErrorResource? Type3823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamComputerUseType? Type3824 { get; set; } + public global::tryAGI.OpenAI.InputTokensDetailsResource2? Type3824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParam? Type3825 { get; set; } + public global::tryAGI.OpenAI.OutputTokensDetailsResource2? Type3825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamDiscriminator? Type3826 { get; set; } + public global::tryAGI.OpenAI.TokenUsageResource? Type3826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PersistedAgentToolConfigParamDiscriminatorType? Type3827 { get; set; } + public global::tryAGI.OpenAI.TurnResource? Type3827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MultiAgentConfigCurrentParam? Type3828 { get; set; } + public global::tryAGI.OpenAI.SessionTurnListResource? Type3828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAgentParams? Type3829 { get; set; } + public global::tryAGI.OpenAI.SessionTurnListResourceObject? Type3829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3830 { get; set; } + public global::System.Collections.Generic.IList? Type3830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateAgentParams? Type3831 { get; set; } + public global::tryAGI.OpenAI.ReasoningEffortResource? Type3831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedAgentResource? Type3832 { get; set; } + public global::tryAGI.OpenAI.ReasoningSummaryResource? Type3832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedAgentResourceObject? Type3833 { get; set; } + public global::tryAGI.OpenAI.ReasoningResource? Type3833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentPackagesResource? Type3834 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceText? Type3834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkAccessResource? Type3835 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceTextType? Type3835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicyResource? Type3836 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceJsonSchema? Type3836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DesktopResource? Type3837 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceJsonSchemaType? Type3837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceSkillReference? Type3838 { get; set; } + public global::tryAGI.OpenAI.TextFormatResource? Type3838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceSkillReferenceType? Type3839 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceDiscriminator? Type3839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceInline? Type3840 { get; set; } + public global::tryAGI.OpenAI.TextFormatResourceDiscriminatorType? Type3840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceInlineType? Type3841 { get; set; } + public global::tryAGI.OpenAI.VerbosityResource? Type3841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResource? Type3842 { get; set; } + public global::tryAGI.OpenAI.TextResource? Type3842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminator? Type3843 { get; set; } + public global::tryAGI.OpenAI.ServiceTierResource? Type3843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType? Type3844 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceFunction? Type3844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceFileId? Type3845 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceFunctionType? Type3845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType? Type3846 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceToolSearch? Type3846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceInline? Type3847 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceToolSearchType? Type3847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType? Type3848 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceProgrammaticToolCalling? Type3848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResource? Type3849 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceProgrammaticToolCallingType? Type3849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminator? Type3850 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceHttp? Type3850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType? Type3851 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceHttpType? Type3851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentTemplateResource? Type3852 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceStdio? Type3852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentTemplateResourceObject? Type3853 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceStdioType? Type3853 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3854 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResource? Type3854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3855 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceDiscriminator? Type3855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentTemplateListResource? Type3856 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportResourceDiscriminatorType? Type3856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject? Type3857 { get; set; } + public global::tryAGI.OpenAI.McpConnectionOriginResource? Type3857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3858 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceMcp? Type3858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentPackagesParam? Type3859 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceMcpType? Type3859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetupCommandParam? Type3860 { get; set; } + public global::tryAGI.OpenAI.WebSearchModeResource? Type3860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkAccessParam? Type3861 { get; set; } + public global::tryAGI.OpenAI.WebSearchContextSizeResource? Type3861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicyParam? Type3862 { get; set; } + public global::tryAGI.OpenAI.WebSearchLocationResource? Type3862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DesktopParam? Type3863 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceWebSearch? Type3863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamSkillReference? Type3864 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceWebSearchType? Type3864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamSkillReferenceType? Type3865 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceComputerUse? Type3865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64? Type3866 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceComputerUseType? Type3866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64Type? Type3867 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResource? Type3867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParamBase64MediaType? Type3868 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceDiscriminator? Type3868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParam? Type3869 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolResourceDiscriminatorType? Type3869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminator? Type3870 { get; set; } + public global::tryAGI.OpenAI.MultiAgentConfigResource? Type3870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineCapabilitySourceParamDiscriminatorType? Type3871 { get; set; } + public global::tryAGI.OpenAI.AgentResource? Type3871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamInline? Type3872 { get; set; } + public global::tryAGI.OpenAI.AgentResourceObject? Type3872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamInlineType? Type3873 { get; set; } + public global::System.Collections.Generic.IList? Type3873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParam? Type3874 { get; set; } + public global::tryAGI.OpenAI.AgentListResource? Type3874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamDiscriminator? Type3875 { get; set; } + public global::tryAGI.OpenAI.AgentListResourceObject? Type3875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedSkillParamDiscriminatorType? Type3876 { get; set; } + public global::System.Collections.Generic.IList? Type3876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginParamInline? Type3877 { get; set; } + public global::tryAGI.OpenAI.ReasoningEffortParam? Type3877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginParamInlineType? Type3878 { get; set; } + public global::tryAGI.OpenAI.ReasoningSummaryParam? Type3878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginParam? Type3879 { get; set; } + public global::tryAGI.OpenAI.ReasoningParam? Type3879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginParamDiscriminator? Type3880 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamText? Type3880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedPluginParamDiscriminatorType? Type3881 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamTextType? Type3881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEnvironmentTemplateParams? Type3882 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamJsonSchema? Type3882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3883 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamJsonSchemaType? Type3883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3884 { get; set; } + public global::tryAGI.OpenAI.TextFormatParam? Type3884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3885 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamDiscriminator? Type3885 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3886 { get; set; } + public global::tryAGI.OpenAI.TextFormatParamDiscriminatorType? Type3886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEnvironmentTemplateParams? Type3887 { get; set; } + public global::tryAGI.OpenAI.VerbosityParam? Type3887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedEnvironmentTemplateResource? Type3888 { get; set; } + public global::tryAGI.OpenAI.TextParam? Type3888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject? Type3889 { get; set; } + public global::tryAGI.OpenAI.ServiceTierParam? Type3889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionSpendControlResource? Type3890 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamFunction? Type3890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionStatusResource? Type3891 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamFunctionType? Type3891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserAuthentication? Type3892 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamToolSearch? Type3892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserAuthenticationType? Type3893 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamToolSearchType? Type3893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserOriginAccess? Type3894 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamProgrammaticToolCalling? Type3894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserOriginAccessType? Type3895 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamProgrammaticToolCallingType? Type3895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResource? Type3896 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamHttp? Type3896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceDiscriminator? Type3897 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamHttpType? Type3897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceDiscriminatorType? Type3898 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamStdio? Type3898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceComputerUseApprovalRequest? Type3899 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamStdioType? Type3899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceComputerUseApprovalRequestType? Type3900 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParam? Type3900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceFunctionCall? Type3901 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamDiscriminator? Type3901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceFunctionCallType? Type3902 { get; set; } + public global::tryAGI.OpenAI.PersistedMcpTransportConfigParamDiscriminatorType? Type3902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceEnvironmentConnection? Type3903 { get; set; } + public global::tryAGI.OpenAI.McpConnectionOriginParam? Type3903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceEnvironmentConnectionType? Type3904 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamMcp? Type3904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResource? Type3905 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamMcpType? Type3905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceDiscriminator? Type3906 { get; set; } + public global::tryAGI.OpenAI.WebSearchModeParam? Type3906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionRequiredActionResourceDiscriminatorType? Type3907 { get; set; } + public global::tryAGI.OpenAI.WebSearchContextSizeParam? Type3907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceFunction? Type3908 { get; set; } + public global::tryAGI.OpenAI.WebSearchLocationParam? Type3908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceFunctionType? Type3909 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamWebSearch? Type3909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceProgrammaticToolCalling? Type3910 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamWebSearchType? Type3910 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceProgrammaticToolCallingType? Type3911 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamComputerUse? Type3911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceHttp? Type3912 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamComputerUseType? Type3912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceHttpType? Type3913 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParam? Type3913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceStdio? Type3914 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamDiscriminator? Type3914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceStdioType? Type3915 { get; set; } + public global::tryAGI.OpenAI.PersistedAgentToolConfigParamDiscriminatorType? Type3915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResource? Type3916 { get; set; } + public global::tryAGI.OpenAI.MultiAgentConfigCurrentParam? Type3916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceDiscriminator? Type3917 { get; set; } + public global::tryAGI.OpenAI.CreateAgentParams? Type3917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportResourceDiscriminatorType? Type3918 { get; set; } + public global::System.Collections.Generic.IList? Type3918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceMcp? Type3919 { get; set; } + public global::tryAGI.OpenAI.UpdateAgentParams? Type3919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceMcpType? Type3920 { get; set; } + public global::tryAGI.OpenAI.DeletedAgentResource? Type3920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceWebSearch? Type3921 { get; set; } + public global::tryAGI.OpenAI.DeletedAgentResourceObject? Type3921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceWebSearchType? Type3922 { get; set; } + public global::tryAGI.OpenAI.EnvironmentPackagesResource? Type3922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceComputerUse? Type3923 { get; set; } + public global::tryAGI.OpenAI.NetworkAccessResource? Type3923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceComputerUseType? Type3924 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicyResource? Type3924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResource? Type3925 { get; set; } + public global::tryAGI.OpenAI.DesktopResource? Type3925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceDiscriminator? Type3926 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceSkillReference? Type3926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolResourceDiscriminatorType? Type3927 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceSkillReferenceType? Type3927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionAgentResource? Type3928 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceInline? Type3928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3929 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceInlineType? Type3929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceNone? Type3930 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResource? Type3930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceNoneType? Type3931 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminator? Type3931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerSizeResource? Type3932 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateSkillResourceDiscriminatorType? Type3932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceOpenaiHosted? Type3933 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceFileId? Type3933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceOpenaiHostedType? Type3934 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceFileIdType? Type3934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceSelfHosted? Type3935 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceInline? Type3935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceSelfHostedType? Type3936 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceInlineType? Type3936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResource? Type3937 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResource? Type3937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceDiscriminator? Type3938 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminator? Type3938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentResourceDiscriminatorType? Type3939 { get; set; } + public global::tryAGI.OpenAI.HostedTemplateFileResourceDiscriminatorType? Type3939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionResource? Type3940 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTemplateResource? Type3940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionResourceObject? Type3941 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTemplateResourceObject? Type3941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3942 { get; set; } + public global::System.Collections.Generic.IList? Type3942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionListResource? Type3943 { get; set; } + public global::System.Collections.Generic.IList? Type3943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionListResourceObject? Type3944 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTemplateListResource? Type3944 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3945 { get; set; } + public global::tryAGI.OpenAI.EnvironmentTemplateListResourceObject? Type3945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionSpendControlParam? Type3946 { get; set; } + public global::System.Collections.Generic.IList? Type3946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamFunction? Type3947 { get; set; } + public global::tryAGI.OpenAI.CreateEnvironmentTemplateParams? Type3947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamFunctionType? Type3948 { get; set; } + public global::tryAGI.OpenAI.UpdateEnvironmentTemplateParams? Type3948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamToolSearch? Type3949 { get; set; } + public global::tryAGI.OpenAI.DeletedEnvironmentTemplateResource? Type3949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamToolSearchType? Type3950 { get; set; } + public global::tryAGI.OpenAI.DeletedEnvironmentTemplateResourceObject? Type3950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamProgrammaticToolCalling? Type3951 { get; set; } + public global::tryAGI.OpenAI.SessionSpendControlResource? Type3951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamProgrammaticToolCallingType? Type3952 { get; set; } + public global::tryAGI.OpenAI.SessionStatusResource? Type3952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamHttp? Type3953 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserAuthentication? Type3953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamHttpType? Type3954 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserAuthenticationType? Type3954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamStdio? Type3955 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserOriginAccess? Type3955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamStdioType? Type3956 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceBrowserOriginAccessType? Type3956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParam? Type3957 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResource? Type3957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamDiscriminator? Type3958 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceDiscriminator? Type3958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpTransportConfigParamDiscriminatorType? Type3959 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalRequestKindResourceDiscriminatorType? Type3959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamMcp? Type3960 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceComputerUseApprovalRequest? Type3960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamMcpType? Type3961 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceComputerUseApprovalRequestType? Type3961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamWebSearch? Type3962 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceFunctionCall? Type3962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamWebSearchType? Type3963 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceFunctionCallType? Type3963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamComputerUse? Type3964 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceEnvironmentConnection? Type3964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamComputerUseType? Type3965 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceEnvironmentConnectionType? Type3965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParam? Type3966 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResource? Type3966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamDiscriminator? Type3967 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceDiscriminator? Type3967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentToolConfigParamDiscriminatorType? Type3968 { get; set; } + public global::tryAGI.OpenAI.SessionRequiredActionResourceDiscriminatorType? Type3968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionAgentConfigParam? Type3969 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceFunction? Type3969 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3970 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceFunctionType? Type3970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamNone? Type3971 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceProgrammaticToolCalling? Type3971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamNoneType? Type3972 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceProgrammaticToolCallingType? Type3972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerSizeParam? Type3973 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceHttp? Type3973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamOpenaiHosted? Type3974 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceHttpType? Type3974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamOpenaiHostedType? Type3975 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceStdio? Type3975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamSelfHosted? Type3976 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceStdioType? Type3976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamSelfHostedType? Type3977 { get; set; } + public global::tryAGI.OpenAI.McpTransportResource? Type3977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParam? Type3978 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceDiscriminator? Type3978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamDiscriminator? Type3979 { get; set; } + public global::tryAGI.OpenAI.McpTransportResourceDiscriminatorType? Type3979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentParamDiscriminatorType? Type3980 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceMcp? Type3980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamInputText? Type3981 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceMcpType? Type3981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamInputTextType? Type3982 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceWebSearch? Type3982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamInputImage? Type3983 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceWebSearchType? Type3983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamInputImageType? Type3984 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceComputerUse? Type3984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParam? Type3985 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceComputerUseType? Type3985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamDiscriminator? Type3986 { get; set; } + public global::tryAGI.OpenAI.AgentToolResource? Type3986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentParamDiscriminatorType? Type3987 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceDiscriminator? Type3987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageParam? Type3988 { get; set; } + public global::tryAGI.OpenAI.AgentToolResourceDiscriminatorType? Type3988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageParamType? Type3989 { get; set; } + public global::tryAGI.OpenAI.SessionAgentResource? Type3989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageParamRole? Type3990 { get; set; } + public global::System.Collections.Generic.IList? Type3990 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3991 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceNone? Type3991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSessionInputParam? Type3992 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceNoneType? Type3992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3993 { get; set; } + public global::tryAGI.OpenAI.ContainerSizeResource? Type3993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAgentSessionParams? Type3994 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceOpenaiHosted? Type3994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDone? Type3995 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceOpenaiHostedType? Type3995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType? Type3996 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceSelfHosted? Type3996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionErrorResource? Type3997 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceSelfHostedType? Type3997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventError? Type3998 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResource? Type3998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventErrorType? Type3999 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceDiscriminator? Type3999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentStatusResource? Type4000 { get; set; } + public global::tryAGI.OpenAI.EnvironmentResourceDiscriminatorType? Type4000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentErrorResource? Type4001 { get; set; } + public global::tryAGI.OpenAI.SessionResource? Type4001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentStateResource? Type4002 { get; set; } + public global::tryAGI.OpenAI.SessionResourceObject? Type4002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? Type4003 { get; set; } + public global::System.Collections.Generic.IList? Type4003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType? Type4004 { get; set; } + public global::tryAGI.OpenAI.SessionListResource? Type4004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta? Type4005 { get; set; } + public global::tryAGI.OpenAI.SessionListResourceObject? Type4005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType? Type4006 { get; set; } + public global::System.Collections.Generic.IList? Type4006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone? Type4007 { get; set; } + public global::tryAGI.OpenAI.SessionSpendControlParam? Type4007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType? Type4008 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamFunction? Type4008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus? Type4009 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamFunctionType? Type4009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? Type4010 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamToolSearch? Type4010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType? Type4011 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamToolSearchType? Type4011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta? Type4012 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamProgrammaticToolCalling? Type4012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDeltaType? Type4013 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamProgrammaticToolCallingType? Type4013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionCreated? Type4014 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamHttp? Type4014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionCreatedType? Type4015 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamHttpType? Type4015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreated? Type4016 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamStdio? Type4016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreatedType? Type4017 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamStdioType? Type4017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgress? Type4018 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParam? Type4018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgressType? Type4019 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamDiscriminator? Type4019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompleted? Type4020 { get; set; } + public global::tryAGI.OpenAI.McpTransportConfigParamDiscriminatorType? Type4020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompletedType? Type4021 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamMcp? Type4021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailed? Type4022 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamMcpType? Type4022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailedType? Type4023 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamWebSearch? Type4023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelled? Type4024 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamWebSearchType? Type4024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelledType? Type4025 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamComputerUse? Type4025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAdded? Type4026 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamComputerUseType? Type4026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAddedType? Type4027 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParam? Type4027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionIdle? Type4028 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamDiscriminator? Type4028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionIdleType? Type4029 { get; set; } + public global::tryAGI.OpenAI.AgentToolConfigParamDiscriminatorType? Type4029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionInProgress? Type4030 { get; set; } + public global::tryAGI.OpenAI.SessionAgentConfigParam? Type4030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionInProgressType? Type4031 { get; set; } + public global::System.Collections.Generic.IList? Type4031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresAction? Type4032 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamNone? Type4032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresActionType? Type4033 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamNoneType? Type4033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionFailed? Type4034 { get; set; } + public global::tryAGI.OpenAI.ContainerSizeParam? Type4034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionFailedType? Type4035 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamOpenaiHosted? Type4035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPending? Type4036 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamOpenaiHostedType? Type4036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPendingType? Type4037 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamSelfHosted? Type4037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnected? Type4038 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamSelfHostedType? Type4038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnectedType? Type4039 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParam? Type4039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnected? Type4040 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamDiscriminator? Type4040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnectedType? Type4041 { get; set; } + public global::tryAGI.OpenAI.EnvironmentParamDiscriminatorType? Type4041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailed? Type4042 { get; set; } + public global::tryAGI.OpenAI.InputContentParamInputText? Type4042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailedType? Type4043 { get; set; } + public global::tryAGI.OpenAI.InputContentParamInputTextType? Type4043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreated? Type4044 { get; set; } + public global::tryAGI.OpenAI.InputContentParamInputImage? Type4044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreatedType? Type4045 { get; set; } + public global::tryAGI.OpenAI.InputContentParamInputImageType? Type4045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActive? Type4046 { get; set; } + public global::tryAGI.OpenAI.InputContentParam? Type4046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActiveType? Type4047 { get; set; } + public global::tryAGI.OpenAI.InputContentParamDiscriminator? Type4047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosed? Type4048 { get; set; } + public global::tryAGI.OpenAI.InputContentParamDiscriminatorType? Type4048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosedType? Type4049 { get; set; } + public global::tryAGI.OpenAI.InputMessageParam? Type4049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResource? Type4050 { get; set; } + public global::tryAGI.OpenAI.InputMessageParamType? Type4050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResourceType? Type4051 { get; set; } + public global::tryAGI.OpenAI.InputMessageParamRole? Type4051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResourceRole? Type4052 { get; set; } + public global::System.Collections.Generic.IList? Type4052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4053 { get; set; } + public global::tryAGI.OpenAI.CreateSessionInputParam? Type4053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResource? Type4054 { get; set; } + public global::System.Collections.Generic.IList? Type4054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminator? Type4055 { get; set; } + public global::tryAGI.OpenAI.CreateAgentSessionParams? Type4055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminatorType? Type4056 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDone? Type4056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDone? Type4057 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType? Type4057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDoneType? Type4058 { get; set; } + public global::tryAGI.OpenAI.SessionErrorResource? Type4058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAdded? Type4059 { get; set; } + public global::tryAGI.OpenAI.SessionEventError? Type4059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAddedType? Type4060 { get; set; } + public global::tryAGI.OpenAI.SessionEventErrorType? Type4060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDone? Type4061 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentStatusResource? Type4061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDoneType? Type4062 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentErrorResource? Type4062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDelta? Type4063 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentStateResource? Type4063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType? Type4064 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? Type4064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDone? Type4065 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType? Type4065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType? Type4066 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? Type4066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded? Type4067 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType? Type4067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType? Type4068 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? Type4068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEvent? Type4069 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType? Type4069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventDiscriminator? Type4070 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? Type4070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventDiscriminatorType? Type4071 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType? Type4071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateSessionReasoningParam? Type4072 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta? Type4072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateSessionAgentParam? Type4073 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDeltaType? Type4073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateAgentSessionParams? Type4074 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionCreated? Type4074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSessionResource? Type4075 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionCreatedType? Type4075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSessionResourceObject? Type4076 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreated? Type4076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionArtifactResource? Type4077 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreatedType? Type4077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionArtifactResourceObject? Type4078 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgress? Type4078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionArtifactListResource? Type4079 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgressType? Type4079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionArtifactListResourceObject? Type4080 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompleted? Type4080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4081 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompletedType? Type4081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSessionArtifactResource? Type4082 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailed? Type4082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSessionArtifactResourceObject? Type4083 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailedType? Type4083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserAuthenticationFieldValueParam? Type4084 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelled? Type4084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParam? Type4085 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelledType? Type4085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType? Type4086 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAdded? Type4086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction? Type4087 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAddedType? Type4087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4088 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionIdle? Type4088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParam? Type4089 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionIdleType? Type4089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType? Type4090 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionInProgress? Type4090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction? Type4091 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionInProgressType? Type4091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthentication? Type4092 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresAction? Type4092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationType? Type4093 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresActionType? Type4093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminator? Type4094 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionFailed? Type4094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction? Type4095 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionFailedType? Type4095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BrowserOriginAccessDecisionParam? Type4096 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPending? Type4096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParam? Type4097 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPendingType? Type4097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParamType? Type4098 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnected? Type4098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParam? Type4099 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnectedType? Type4099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminator? Type4100 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnected? Type4100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminatorType? Type4101 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnectedType? Type4101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResult? Type4102 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailed? Type4102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType? Type4103 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailedType? Type4103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessage? Type4104 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreated? Type4104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessageType? Type4105 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreatedType? Type4105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancel? Type4106 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActive? Type4106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancelType? Type4107 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActiveType? Type4107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputParam? Type4108 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosed? Type4108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResult? Type4109 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosedType? Type4109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResultType? Type4110 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResource? Type4110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParam? Type4111 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResourceType? Type4111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamDiscriminator? Type4112 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResourceRole? Type4112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionInputParamDiscriminatorType? Type4113 { get; set; } + public global::System.Collections.Generic.IList? Type4113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSessionEventsParams? Type4114 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResource? Type4114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4115 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminator? Type4115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnTraceResource? Type4116 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminatorType? Type4116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTurnTraceResourceObject? Type4117 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDone? Type4117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTraceListResource? Type4118 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDoneType? Type4118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionTraceListResourceObject? Type4119 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAdded? Type4119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4120 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAddedType? Type4120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultStatusParam? Type4121 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDone? Type4121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultStatusFilterParam? Type4122 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDoneType? Type4122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4123 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDelta? Type4123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultResource? Type4124 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType? Type4124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultResourceObject? Type4125 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDone? Type4125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultListResource? Type4126 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType? Type4126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultListResourceObject? Type4127 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded? Type4127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4128 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType? Type4128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultParams? Type4129 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone? Type4129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVaultParams? Type4130 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType? Type4130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVaultResource? Type4131 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus? Type4131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVaultResourceObject? Type4132 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta? Type4132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceNone? Type4133 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType? Type4133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceNoneType? Type4134 { get; set; } + public global::tryAGI.OpenAI.SessionEvent? Type4134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretBasic? Type4135 { get; set; } + public global::tryAGI.OpenAI.SessionEventDiscriminator? Type4135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretBasicType? Type4136 { get; set; } + public global::tryAGI.OpenAI.SessionEventDiscriminatorType? Type4136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretPost? Type4137 { get; set; } + public global::tryAGI.OpenAI.UpdateSessionReasoningParam? Type4137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretPostType? Type4138 { get; set; } + public global::tryAGI.OpenAI.UpdateSessionAgentParam? Type4138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResource? Type4139 { get; set; } + public global::tryAGI.OpenAI.UpdateAgentSessionParams? Type4139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceDiscriminator? Type4140 { get; set; } + public global::tryAGI.OpenAI.DeletedSessionResource? Type4140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceDiscriminatorType? Type4141 { get; set; } + public global::tryAGI.OpenAI.DeletedSessionResourceObject? Type4141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.McpOauthRefreshResource? Type4142 { get; set; } + public global::tryAGI.OpenAI.SessionArtifactResource? Type4142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceMcpOauth? Type4143 { get; set; } + public global::tryAGI.OpenAI.SessionArtifactResourceObject? Type4143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceMcpOauthType? Type4144 { get; set; } + public global::tryAGI.OpenAI.SessionArtifactListResource? Type4144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceStaticBearer? Type4145 { get; set; } + public global::tryAGI.OpenAI.SessionArtifactListResourceObject? Type4145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceStaticBearerType? Type4146 { get; set; } + public global::System.Collections.Generic.IList? Type4146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceUnrestricted? Type4147 { get; set; } + public global::tryAGI.OpenAI.DeletedSessionArtifactResource? Type4147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceUnrestrictedType? Type4148 { get; set; } + public global::tryAGI.OpenAI.DeletedSessionArtifactResourceObject? Type4148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceLimited? Type4149 { get; set; } + public global::tryAGI.OpenAI.BrowserAuthenticationFieldValueParam? Type4149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceLimitedType? Type4150 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParam? Type4150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResource? Type4151 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamType? Type4151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceDiscriminator? Type4152 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParamAction? Type4152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceDiscriminatorType? Type4153 { get; set; } + public global::System.Collections.Generic.IList? Type4153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceEnvironmentVariable? Type4154 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParam? Type4154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceEnvironmentVariableType? Type4155 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamType? Type4155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResource? Type4156 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationCancelParamAction? Type4156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceDiscriminator? Type4157 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthentication? Type4157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialAuthResourceDiscriminatorType? Type4158 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationType? Type4158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialResource? Type4159 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminator? Type4159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialResourceObject? Type4160 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserAuthenticationDiscriminatorAction? Type4160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialListResource? Type4161 { get; set; } + public global::tryAGI.OpenAI.BrowserOriginAccessDecisionParam? Type4161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialListResourceObject? Type4162 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParam? Type4162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4163 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamBrowserOriginAccessParamType? Type4163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamNone? Type4164 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParam? Type4164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamNoneType? Type4165 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminator? Type4165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretBasic? Type4166 { get; set; } + public global::tryAGI.OpenAI.ComputerUseApprovalResponseParamDiscriminatorType? Type4166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretBasicType? Type4167 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResult? Type4167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretPost? Type4168 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputComputerUseApprovalRequestResultType? Type4168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretPostType? Type4169 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessage? Type4169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParam? Type4170 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputMessageType? Type4170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamDiscriminator? Type4171 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancel? Type4171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamDiscriminatorType? Type4172 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputCancelType? Type4172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMcpOauthRefreshParam? Type4173 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputParam? Type4173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamMcpOauth? Type4174 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResult? Type4174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamMcpOauthType? Type4175 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamAgentSessionInputToolResultType? Type4175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamStaticBearer? Type4176 { get; set; } + public global::tryAGI.OpenAI.SessionInputParam? Type4176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamStaticBearerType? Type4177 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamDiscriminator? Type4177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamUnrestricted? Type4178 { get; set; } + public global::tryAGI.OpenAI.SessionInputParamDiscriminatorType? Type4178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamUnrestrictedType? Type4179 { get; set; } + public global::tryAGI.OpenAI.CreateSessionEventsParams? Type4179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamLimited? Type4180 { get; set; } + public global::System.Collections.Generic.IList? Type4180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamLimitedType? Type4181 { get; set; } + public global::tryAGI.OpenAI.SessionTurnTraceResource? Type4181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParam? Type4182 { get; set; } + public global::tryAGI.OpenAI.SessionTurnTraceResourceObject? Type4182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamDiscriminator? Type4183 { get; set; } + public global::tryAGI.OpenAI.SessionTraceListResource? Type4183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VaultCredentialNetworkingParamDiscriminatorType? Type4184 { get; set; } + public global::tryAGI.OpenAI.SessionTraceListResourceObject? Type4184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamEnvironmentVariable? Type4185 { get; set; } + public global::System.Collections.Generic.IList? Type4185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamEnvironmentVariableType? Type4186 { get; set; } + public global::tryAGI.OpenAI.VaultStatusParam? Type4186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParam? Type4187 { get; set; } + public global::tryAGI.OpenAI.VaultStatusFilterParam? Type4187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamDiscriminator? Type4188 { get; set; } + public global::System.Collections.Generic.IList? Type4188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamDiscriminatorType? Type4189 { get; set; } + public global::tryAGI.OpenAI.VaultResource? Type4189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVaultCredentialParams? Type4190 { get; set; } + public global::tryAGI.OpenAI.VaultResourceObject? Type4190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretBasic? Type4191 { get; set; } + public global::tryAGI.OpenAI.VaultListResource? Type4191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretBasicType? Type4192 { get; set; } + public global::tryAGI.OpenAI.VaultListResourceObject? Type4192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretPost? Type4193 { get; set; } + public global::System.Collections.Generic.IList? Type4193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretPostType? Type4194 { get; set; } + public global::tryAGI.OpenAI.CreateVaultParams? Type4194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParam? Type4195 { get; set; } + public global::tryAGI.OpenAI.UpdateVaultParams? Type4195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamDiscriminator? Type4196 { get; set; } + public global::tryAGI.OpenAI.DeletedVaultResource? Type4196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamDiscriminatorType? Type4197 { get; set; } + public global::tryAGI.OpenAI.DeletedVaultResourceObject? Type4197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateMcpOauthRefreshParam? Type4198 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceNone? Type4198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamMcpOauth? Type4199 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceNoneType? Type4199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamMcpOauthType? Type4200 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretBasic? Type4200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamStaticBearer? Type4201 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretBasicType? Type4201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamStaticBearerType? Type4202 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretPost? Type4202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamEnvironmentVariable? Type4203 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceClientSecretPostType? Type4203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamEnvironmentVariableType? Type4204 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResource? Type4204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParam? Type4205 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceDiscriminator? Type4205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamDiscriminator? Type4206 { get; set; } + public global::tryAGI.OpenAI.McpOauthTokenEndpointAuthResourceDiscriminatorType? Type4206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamDiscriminatorType? Type4207 { get; set; } + public global::tryAGI.OpenAI.McpOauthRefreshResource? Type4207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RotateVaultCredentialParams? Type4208 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceMcpOauth? Type4208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVaultCredentialResource? Type4209 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceMcpOauthType? Type4209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVaultCredentialResourceObject? Type4210 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceStaticBearer? Type4210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointBody? Type4211 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceStaticBearerType? Type4211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointBodyObject? Type4212 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceUnrestricted? Type4212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointListResource? Type4213 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceUnrestrictedType? Type4213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointListResourceObject? Type4214 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceLimited? Type4214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4215 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceLimitedType? Type4215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectEventTypeEnum? Type4216 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResource? Type4216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicCreateEndpointBody? Type4217 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceDiscriminator? Type4217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4218 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingResourceDiscriminatorType? Type4218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointWithSecretResource? Type4219 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceEnvironmentVariable? Type4219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointWithSecretResourceObject? Type4220 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceEnvironmentVariableType? Type4220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicUpdateEndpointBody? Type4221 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResource? Type4221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedWebhookEndpointResource? Type4222 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceDiscriminator? Type4222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedWebhookEndpointResourceObject? Type4223 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialAuthResourceDiscriminatorType? Type4223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicRotateSecretBody? Type4224 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialResource? Type4224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicTestEndpointBody? Type4225 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialResourceObject? Type4225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointTestResultResource? Type4226 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialListResource? Type4226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEndpointTestResultResourceObject? Type4227 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialListResourceObject? Type4227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEventTypeListResource? Type4228 { get; set; } + public global::System.Collections.Generic.IList? Type4228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEventTypeListResourceObject? Type4229 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamNone? Type4229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionRequiredActionTypeResource? Type4230 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamNoneType? Type4230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionRequiredActionPayloadResource? Type4231 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretBasic? Type4231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentSessionConnectPayloadResource? Type4232 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretBasicType? Type4232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragPoint? Type4233 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretPost? Type4233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMParam? Type4234 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamClientSecretPostType? Type4234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMParamType? Type4235 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParam? Type4235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMUParam? Type4236 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamDiscriminator? Type4236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMUParamType? Type4237 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthTokenEndpointAuthParamDiscriminatorType? Type4237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMAParam? Type4238 { get; set; } + public global::tryAGI.OpenAI.CreateMcpOauthRefreshParam? Type4238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMAParamType? Type4239 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamMcpOauth? Type4239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveAudioFormat? Type4240 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamMcpOauthType? Type4240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveAudioFormatDiscriminator? Type4241 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamStaticBearer? Type4241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveAudioFormatDiscriminatorType? Type4242 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamStaticBearerType? Type4242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInitialSessionAudioParam? Type4243 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamUnrestricted? Type4243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionCreateParams? Type4244 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamUnrestrictedType? Type4244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DelegationVariant12? Type4245 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamLimited? Type4245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionCreateParamsDelegationVariant1Discriminator? Type4246 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamLimitedType? Type4246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionCreateParamsDelegationVariant1DiscriminatorType? Type4247 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParam? Type4247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionStartEventType? Type4248 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamDiscriminator? Type4248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUpdateParams? Type4249 { get; set; } + public global::tryAGI.OpenAI.VaultCredentialNetworkingParamDiscriminatorType? Type4249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DelegationVariant13? Type4250 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamEnvironmentVariable? Type4250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUpdateParamsDelegationVariant1Discriminator? Type4251 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamEnvironmentVariableType? Type4251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUpdateParamsDelegationVariant1DiscriminatorType? Type4252 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParam? Type4252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUpdateParamType? Type4253 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamDiscriminator? Type4253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioAppendEventType? Type4254 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialAuthParamDiscriminatorType? Type4254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioMuteParamType? Type4255 { get; set; } + public global::tryAGI.OpenAI.CreateVaultCredentialParams? Type4255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioUnmuteParamType? Type4256 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretBasic? Type4256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInstructionsAppendParamType? Type4257 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretBasicType? Type4257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveThinkingAppendParamType? Type4258 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretPost? Type4258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCommentaryAppendParamType? Type4259 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamClientSecretPostType? Type4259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponseItemCreateParamType? Type4260 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParam? Type4260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponseCreateParamType? Type4261 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamDiscriminator? Type4261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionCloseParamType? Type4262 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthTokenEndpointAuthParamDiscriminatorType? Type4262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveForkAudioParam? Type4263 { get; set; } + public global::tryAGI.OpenAI.RotateMcpOauthRefreshParam? Type4263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveForkSessionConfigParam? Type4264 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamMcpOauth? Type4264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveForkSessionStartEventType? Type4265 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamMcpOauthType? Type4265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionResourceParam? Type4266 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamStaticBearer? Type4266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DelegationVariant14? Type4267 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamStaticBearerType? Type4267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionResourceParamDelegationVariant1Discriminator? Type4268 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamEnvironmentVariable? Type4268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionResourceParamDelegationVariant1DiscriminatorType? Type4269 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamEnvironmentVariableType? Type4269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionResourceParamStatus? Type4270 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParam? Type4270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionStartedType? Type4271 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamDiscriminator? Type4271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUpdatedType? Type4272 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialAuthParamDiscriminatorType? Type4272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioMutedType? Type4273 { get; set; } + public global::tryAGI.OpenAI.RotateVaultCredentialParams? Type4273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioUnmutedType? Type4274 { get; set; } + public global::tryAGI.OpenAI.DeletedVaultCredentialResource? Type4274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInstructionsAppendedType? Type4275 { get; set; } + public global::tryAGI.OpenAI.DeletedVaultCredentialResourceObject? Type4275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveThinkingAppendedType? Type4276 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointBody? Type4276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveCommentaryAppendedType? Type4277 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointBodyObject? Type4277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioAppend? Type4278 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointListResource? Type4278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputAudioAppendType? Type4279 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointListResourceObject? Type4279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveOutputAudioDelta? Type4280 { get; set; } + public global::System.Collections.Generic.IList? Type4280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveOutputAudioDeltaType? Type4281 { get; set; } + public global::tryAGI.OpenAI.ProjectEventTypeEnum? Type4281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInputTranscriptDeltaType? Type4282 { get; set; } + public global::tryAGI.OpenAI.PublicCreateEndpointBody? Type4282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveOutputTranscriptDeltaType? Type4283 { get; set; } + public global::System.Collections.Generic.IList? Type4283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationItem? Type4284 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointWithSecretResource? Type4284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationItemType? Type4285 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointWithSecretResourceObject? Type4285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type4286 { get; set; } + public global::tryAGI.OpenAI.PublicUpdateEndpointBody? Type4286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationItemTargetVariant1? Type4287 { get; set; } + public global::tryAGI.OpenAI.DeletedWebhookEndpointResource? Type4287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationItemTargetVariant2? Type4288 { get; set; } + public global::tryAGI.OpenAI.DeletedWebhookEndpointResourceObject? Type4288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveDelegationCreatedType? Type4289 { get; set; } + public global::tryAGI.OpenAI.PublicRotateSecretBody? Type4289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveResponseEventType? Type4290 { get; set; } + public global::tryAGI.OpenAI.PublicTestEndpointBody? Type4290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUsage? Type4291 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointTestResultResource? Type4291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveContextWindowUsage? Type4292 { get; set; } + public global::tryAGI.OpenAI.WebhookEndpointTestResultResourceObject? Type4292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionUsageUpdatedType? Type4293 { get; set; } + public global::tryAGI.OpenAI.WebhookEventTypeListResource? Type4293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedType? Type4294 { get; set; } + public global::tryAGI.OpenAI.WebhookEventTypeListResourceObject? Type4294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant1? Type4295 { get; set; } + public global::tryAGI.OpenAI.AgentSessionRequiredActionTypeResource? Type4295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant2? Type4296 { get; set; } + public global::tryAGI.OpenAI.AgentSessionRequiredActionPayloadResource? Type4296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant3? Type4297 { get; set; } + public global::tryAGI.OpenAI.AgentSessionConnectPayloadResource? Type4297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant4? Type4298 { get; set; } + public global::tryAGI.OpenAI.DragPoint? Type4298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant5? Type4299 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMParam? Type4299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveLiveError? Type4300 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMParamType? Type4300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveErrorEventType? Type4301 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMUParam? Type4301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveInfoEventType? Type4302 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMUParamType? Type4302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportDTMFReceived? Type4303 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMAParam? Type4303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportDTMFReceivedType? Type4304 { get; set; } + public global::tryAGI.OpenAI.LiveSessionAudioFormatPCMAParamType? Type4304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportDTMFSend? Type4305 { get; set; } + public global::tryAGI.OpenAI.LiveAudioFormat? Type4305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportDTMFSendType? Type4306 { get; set; } + public global::tryAGI.OpenAI.LiveAudioFormatDiscriminator? Type4306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportRingingType? Type4307 { get; set; } + public global::tryAGI.OpenAI.LiveAudioFormatDiscriminatorType? Type4307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportAnsweredType? Type4308 { get; set; } + public global::tryAGI.OpenAI.LiveInitialSessionAudioParam? Type4308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportCallError? Type4309 { get; set; } + public global::tryAGI.OpenAI.LiveSessionCreateParams? Type4309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportCallErrorType? Type4310 { get; set; } + public global::tryAGI.OpenAI.DelegationVariant12? Type4310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveTransportFailedType? Type4311 { get; set; } + public global::tryAGI.OpenAI.LiveSessionCreateParamsDelegationVariant1Discriminator? Type4311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveServerEvent2Discriminator? Type4312 { get; set; } + public global::tryAGI.OpenAI.LiveSessionCreateParamsDelegationVariant1DiscriminatorType? Type4312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LiveServerEvent2DiscriminatorType? Type4313 { get; set; } + public global::tryAGI.OpenAI.LiveSessionStartEventType? Type4313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemParamType? Type4314 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUpdateParams? Type4314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemParamRole? Type4315 { get; set; } + public global::tryAGI.OpenAI.DelegationVariant13? Type4315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, string>? Type4316 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUpdateParamsDelegationVariant1Discriminator? Type4316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4317 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUpdateParamsDelegationVariant1DiscriminatorType? Type4317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentVariant1Item? Type4318 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUpdateParamType? Type4318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemParamContentVariant1ItemDiscriminator? Type4319 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioAppendEventType? Type4319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemParamContentVariant1ItemDiscriminatorType? Type4320 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioMuteParamType? Type4320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTokenCountsResource? Type4321 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioUnmuteParamType? Type4321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTokenCountsResourceObject? Type4322 { get; set; } + public global::tryAGI.OpenAI.LiveInstructionsAppendParamType? Type4322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTokenCountsBody? Type4323 { get; set; } + public global::tryAGI.OpenAI.LiveThinkingAppendParamType? Type4323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type4324 { get; set; } + public global::tryAGI.OpenAI.LiveCommentaryAppendParamType? Type4324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4325 { get; set; } + public global::tryAGI.OpenAI.LiveResponseItemCreateParamType? Type4325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputItem? Type4326 { get; set; } + public global::tryAGI.OpenAI.LiveResponseCreateParamType? Type4326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4327 { get; set; } + public global::tryAGI.OpenAI.LiveSessionCloseParamType? Type4327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTool? Type4328 { get; set; } + public global::tryAGI.OpenAI.LiveForkAudioParam? Type4328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseTextParam? Type4329 { get; set; } + public global::tryAGI.OpenAI.LiveForkSessionConfigParam? Type4329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoning? Type4330 { get; set; } + public global::tryAGI.OpenAI.LiveForkSessionStartEventType? Type4330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTruncationEnum? Type4331 { get; set; } + public global::tryAGI.OpenAI.LiveSessionResourceParam? Type4331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPersonalityEnum? Type4332 { get; set; } + public global::tryAGI.OpenAI.DelegationVariant14? Type4332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaConversationParam? Type4333 { get; set; } + public global::tryAGI.OpenAI.LiveSessionResourceParamDelegationVariant1Discriminator? Type4333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceParam? Type4334 { get; set; } + public global::tryAGI.OpenAI.LiveSessionResourceParamDelegationVariant1DiscriminatorType? Type4334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceOptions? Type4335 { get; set; } + public global::tryAGI.OpenAI.LiveSessionResourceParamStatus? Type4335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceAllowed? Type4336 { get; set; } + public global::tryAGI.OpenAI.LiveSessionStartedType? Type4336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceTypes? Type4337 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUpdatedType? Type4337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceFunction? Type4338 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioMutedType? Type4338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceMCP? Type4339 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioUnmutedType? Type4339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceCustom? Type4340 { get; set; } + public global::tryAGI.OpenAI.LiveInstructionsAppendedType? Type4340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificProgrammaticToolCallingParam? Type4341 { get; set; } + public global::tryAGI.OpenAI.LiveThinkingAppendedType? Type4341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificApplyPatchParam? Type4342 { get; set; } + public global::tryAGI.OpenAI.LiveCommentaryAppendedType? Type4342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificFunctionShellParam? Type4343 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioAppend? Type4343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificFunctionShellParamType? Type4344 { get; set; } + public global::tryAGI.OpenAI.LiveInputAudioAppendType? Type4344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificApplyPatchParamType? Type4345 { get; set; } + public global::tryAGI.OpenAI.LiveOutputAudioDelta? Type4345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSpecificProgrammaticToolCallingParamType? Type4346 { get; set; } + public global::tryAGI.OpenAI.LiveOutputAudioDeltaType? Type4346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceCustomType? Type4347 { get; set; } + public global::tryAGI.OpenAI.LiveInputTranscriptDeltaType? Type4347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceMCPType? Type4348 { get; set; } + public global::tryAGI.OpenAI.LiveOutputTranscriptDeltaType? Type4348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceFunctionType? Type4349 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationItem? Type4349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceTypesType? Type4350 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationItemType? Type4350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceAllowedType? Type4351 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type4351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolChoiceAllowedMode? Type4352 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationItemTargetVariant1? Type4352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaConversationParam2? Type4353 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationItemTargetVariant2? Type4353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPersonalityEnumEnum? Type4354 { get; set; } + public global::tryAGI.OpenAI.LiveDelegationCreatedType? Type4354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningModeEnum? Type4355 { get; set; } + public global::tryAGI.OpenAI.LiveResponseEventType? Type4355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningEffortEnum? Type4356 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUsage? Type4356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningSummary? Type4357 { get; set; } + public global::tryAGI.OpenAI.LiveContextWindowUsage? Type4357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningContext? Type4358 { get; set; } + public global::tryAGI.OpenAI.LiveSessionUsageUpdatedType? Type4358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningGenerateSummary? Type4359 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedType? Type4359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningModeEnumEnum? Type4360 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant1? Type4360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTextResponseFormatConfiguration? Type4361 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant2? Type4361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaVerbosityEnum? Type4362 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant3? Type4362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFormatText? Type4363 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant4? Type4363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTextResponseFormatJsonSchema? Type4364 { get; set; } + public global::tryAGI.OpenAI.LiveSessionClosedReasonVariant5? Type4364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFormatJsonObject? Type4365 { get; set; } + public global::tryAGI.OpenAI.LiveLiveError? Type4365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFormatJsonObjectType? Type4366 { get; set; } + public global::tryAGI.OpenAI.LiveErrorEventType? Type4366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTextResponseFormatJsonSchemaType? Type4367 { get; set; } + public global::tryAGI.OpenAI.LiveInfoEventType? Type4367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFormatJsonSchemaSchema? Type4368 { get; set; } + public global::tryAGI.OpenAI.LiveTransportDTMFReceived? Type4368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFormatTextType? Type4369 { get; set; } + public global::tryAGI.OpenAI.LiveTransportDTMFReceivedType? Type4369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionTool? Type4370 { get; set; } + public global::tryAGI.OpenAI.LiveTransportDTMFSend? Type4370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchTool? Type4371 { get; set; } + public global::tryAGI.OpenAI.LiveTransportDTMFSendType? Type4371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerTool? Type4372 { get; set; } + public global::tryAGI.OpenAI.LiveTransportRingingType? Type4372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerUsePreviewTool? Type4373 { get; set; } + public global::tryAGI.OpenAI.LiveTransportAnsweredType? Type4373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchTool? Type4374 { get; set; } + public global::tryAGI.OpenAI.LiveTransportCallError? Type4374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPTool? Type4375 { get; set; } + public global::tryAGI.OpenAI.LiveTransportCallErrorType? Type4375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterTool? Type4376 { get; set; } + public global::tryAGI.OpenAI.LiveTransportFailedType? Type4376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgrammaticToolCallingParam? Type4377 { get; set; } + public global::tryAGI.OpenAI.LiveServerEvent2Discriminator? Type4377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenTool? Type4378 { get; set; } + public global::tryAGI.OpenAI.LiveServerEvent2DiscriminatorType? Type4378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolParam? Type4379 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemParamType? Type4379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellToolParam? Type4380 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemParamRole? Type4380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolParam? Type4381 { get; set; } + public global::tryAGI.OpenAI.OneOf, string>? Type4381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaNamespaceToolParam? Type4382 { get; set; } + public global::System.Collections.Generic.IList? Type4382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchToolParam? Type4383 { get; set; } + public global::tryAGI.OpenAI.ContentVariant1Item? Type4383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchPreviewTool? Type4384 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemParamContentVariant1ItemDiscriminator? Type4384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolParam? Type4385 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemParamContentVariant1ItemDiscriminatorType? Type4385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolDiscriminator? Type4386 { get; set; } + public global::tryAGI.OpenAI.BetaTokenCountsResource? Type4386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolDiscriminatorType? Type4387 { get; set; } + public global::tryAGI.OpenAI.BetaTokenCountsResourceObject? Type4387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolParamType? Type4388 { get; set; } + public global::tryAGI.OpenAI.BetaTokenCountsBody? Type4388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4389 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type4389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCallableToolAllowedCaller? Type4390 { get; set; } + public global::System.Collections.Generic.IList? Type4390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchPreviewToolType? Type4391 { get; set; } + public global::tryAGI.OpenAI.BetaInputItem? Type4391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApproximateLocation? Type4392 { get; set; } + public global::System.Collections.Generic.IList? Type4392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSearchContextSize? Type4393 { get; set; } + public global::tryAGI.OpenAI.BetaTool? Type4393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4394 { get; set; } + public global::tryAGI.OpenAI.BetaResponseTextParam? Type4394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSearchContentType? Type4395 { get; set; } + public global::tryAGI.OpenAI.BetaReasoning? Type4395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApproximateLocationType? Type4396 { get; set; } + public global::tryAGI.OpenAI.BetaTruncationEnum? Type4396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchToolParamType? Type4397 { get; set; } + public global::tryAGI.OpenAI.BetaPersonalityEnum? Type4397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchExecutionType? Type4398 { get; set; } + public global::tryAGI.OpenAI.BetaConversationParam? Type4398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEmptyModelParam? Type4399 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceParam? Type4399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaNamespaceToolParamType? Type4400 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceOptions? Type4400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4401 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceAllowed? Type4401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem17? Type4402 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceTypes? Type4402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolParam? Type4403 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceFunction? Type4403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator? Type4404 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceMCP? Type4404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? Type4405 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceCustom? Type4405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolParamType? Type4406 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificProgrammaticToolCallingParam? Type4406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Format3? Type4407 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificApplyPatchParam? Type4407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomTextFormatParam? Type4408 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificFunctionShellParam? Type4408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomGrammarFormatParam? Type4409 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificFunctionShellParamType? Type4409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolParamFormatDiscriminator? Type4410 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificApplyPatchParamType? Type4410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolParamFormatDiscriminatorType? Type4411 { get; set; } + public global::tryAGI.OpenAI.BetaSpecificProgrammaticToolCallingParamType? Type4411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomGrammarFormatParamType? Type4412 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceCustomType? Type4412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaGrammarSyntax1? Type4413 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceMCPType? Type4413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomTextFormatParamType? Type4414 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceFunctionType? Type4414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolParamType? Type4415 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceTypesType? Type4415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellToolParamType? Type4416 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceAllowedType? Type4416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant15? Type4417 { get; set; } + public global::tryAGI.OpenAI.BetaToolChoiceAllowedMode? Type4417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParam? Type4418 { get; set; } + public global::tryAGI.OpenAI.BetaConversationParam2? Type4418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalEnvironmentParam? Type4419 { get; set; } + public global::tryAGI.OpenAI.BetaPersonalityEnumEnum? Type4419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerReferenceParam? Type4420 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningModeEnum? Type4420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellToolParamEnvironmentVariant1Discriminator? Type4421 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningEffortEnum? Type4421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type4422 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningSummary? Type4422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerReferenceParamType? Type4423 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningContext? Type4423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalEnvironmentParamType? Type4424 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningGenerateSummary? Type4424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4425 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningModeEnumEnum? Type4425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalSkillParam? Type4426 { get; set; } + public global::tryAGI.OpenAI.BetaTextResponseFormatConfiguration? Type4426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParamType? Type4427 { get; set; } + public global::tryAGI.OpenAI.BetaVerbosityEnum? Type4427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerMemoryLimit? Type4428 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFormatText? Type4428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy4? Type4429 { get; set; } + public global::tryAGI.OpenAI.BetaTextResponseFormatJsonSchema? Type4429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDisabledParam? Type4430 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFormatJsonObject? Type4430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerNetworkPolicyAllowlistParam? Type4431 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFormatJsonObjectType? Type4431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParamNetworkPolicyDiscriminator? Type4432 { get; set; } + public global::tryAGI.OpenAI.BetaTextResponseFormatJsonSchemaType? Type4432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParamNetworkPolicyDiscriminatorType? Type4433 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFormatJsonSchemaSchema? Type4433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4434 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFormatTextType? Type4434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsItem3? Type4435 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionTool? Type4435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSkillReferenceParam? Type4436 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchTool? Type4436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInlineSkillParam? Type4437 { get; set; } + public global::tryAGI.OpenAI.BetaComputerTool? Type4437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParamSkillDiscriminator? Type4438 { get; set; } + public global::tryAGI.OpenAI.BetaComputerUsePreviewTool? Type4438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerAutoParamSkillDiscriminatorType? Type4439 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchTool? Type4439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInlineSkillParamType? Type4440 { get; set; } + public global::tryAGI.OpenAI.BetaMCPTool? Type4440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInlineSkillSourceParam? Type4441 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterTool? Type4441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInlineSkillSourceParamType? Type4442 { get; set; } + public global::tryAGI.OpenAI.BetaProgrammaticToolCallingParam? Type4442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInlineSkillSourceParamMediaType? Type4443 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenTool? Type4443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSkillReferenceParamType? Type4444 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolParam? Type4444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerNetworkPolicyAllowlistParamType? Type4445 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellToolParam? Type4445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4446 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolParam? Type4446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDomainSecretParam? Type4447 { get; set; } + public global::tryAGI.OpenAI.BetaNamespaceToolParam? Type4447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDisabledParamType? Type4448 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchToolParam? Type4448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolParamType? Type4449 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchPreviewTool? Type4449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolType? Type4450 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolParam? Type4450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type4451 { get; set; } + public global::tryAGI.OpenAI.BetaToolDiscriminator? Type4451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolModel? Type4452 { get; set; } + public global::tryAGI.OpenAI.BetaToolDiscriminatorType? Type4452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolQuality? Type4453 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolParamType? Type4453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type4454 { get; set; } + public global::System.Collections.Generic.IList? Type4454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolSize? Type4455 { get; set; } + public global::tryAGI.OpenAI.BetaCallableToolAllowedCaller? Type4455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolOutputFormat? Type4456 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchPreviewToolType? Type4456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolModeration? Type4457 { get; set; } + public global::tryAGI.OpenAI.BetaApproximateLocation? Type4457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolBackground? Type4458 { get; set; } + public global::tryAGI.OpenAI.BetaSearchContextSize? Type4458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputFidelity? Type4459 { get; set; } + public global::System.Collections.Generic.IList? Type4459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolInputImageMask? Type4460 { get; set; } + public global::tryAGI.OpenAI.BetaSearchContentType? Type4460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenActionEnum? Type4461 { get; set; } + public global::tryAGI.OpenAI.BetaApproximateLocationType? Type4461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgrammaticToolCallingParamType? Type4462 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchToolParamType? Type4462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolType? Type4463 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchExecutionType? Type4463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type4464 { get; set; } + public global::tryAGI.OpenAI.BetaEmptyModelParam? Type4464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParam? Type4465 { get; set; } + public global::tryAGI.OpenAI.BetaNamespaceToolParamType? Type4465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamType? Type4466 { get; set; } + public global::System.Collections.Generic.IList? Type4466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy5? Type4467 { get; set; } + public global::tryAGI.OpenAI.ToolsItem18? Type4467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type4468 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolParam? Type4468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type4469 { get; set; } + public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminator? Type4469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolType? Type4470 { get; set; } + public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? Type4470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolConnectorId? Type4471 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolParamType? Type4471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.BetaMCPToolFilter>? Type4472 { get; set; } + public global::tryAGI.OpenAI.Format3? Type4472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolFilter? Type4473 { get; set; } + public global::tryAGI.OpenAI.BetaCustomTextFormatParam? Type4473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type4474 { get; set; } + public global::tryAGI.OpenAI.BetaCustomGrammarFormatParam? Type4474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolRequireApprovalVariant1Enum? Type4475 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolParamFormatDiscriminator? Type4475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolRequireApprovalVariant1Enum2? Type4476 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolParamFormatDiscriminatorType? Type4476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolType? Type4477 { get; set; } + public global::tryAGI.OpenAI.BetaCustomGrammarFormatParamType? Type4477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolFilters? Type4478 { get; set; } + public global::tryAGI.OpenAI.BetaGrammarSyntax1? Type4478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchApproximateLocationWebSearchApproximateLocation? Type4479 { get; set; } + public global::tryAGI.OpenAI.BetaCustomTextFormatParamType? Type4479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolSearchContextSize? Type4480 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolParamType? Type4480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchApproximateLocationWebSearchApproximateLocationType? Type4481 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellToolParamType? Type4481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerUsePreviewToolType? Type4482 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant15? Type4482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerEnvironment? Type4483 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParam? Type4483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolType? Type4484 { get; set; } + public global::tryAGI.OpenAI.BetaLocalEnvironmentParam? Type4484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchToolType? Type4485 { get; set; } + public global::tryAGI.OpenAI.BetaContainerReferenceParam? Type4485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaRankingOptions? Type4486 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellToolParamEnvironmentVariant1Discriminator? Type4486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFilters? Type4487 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type4487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComparisonFilter? Type4488 { get; set; } + public global::tryAGI.OpenAI.BetaContainerReferenceParamType? Type4488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompoundFilter? Type4489 { get; set; } + public global::tryAGI.OpenAI.BetaLocalEnvironmentParamType? Type4489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompoundFilterType? Type4490 { get; set; } + public global::System.Collections.Generic.IList? Type4490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4491 { get; set; } + public global::tryAGI.OpenAI.BetaLocalSkillParam? Type4491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FiltersItem2? Type4492 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParamType? Type4492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompoundFilterFilterDiscriminator? Type4493 { get; set; } + public global::tryAGI.OpenAI.BetaContainerMemoryLimit? Type4493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComparisonFilterType? Type4494 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy4? Type4494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaRankerVersionType? Type4495 { get; set; } + public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDisabledParam? Type4495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaHybridSearchOptions? Type4496 { get; set; } + public global::tryAGI.OpenAI.BetaContainerNetworkPolicyAllowlistParam? Type4496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolType? Type4497 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParamNetworkPolicyDiscriminator? Type4497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEasyInputMessage? Type4498 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParamNetworkPolicyDiscriminatorType? Type4498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItem? Type4499 { get; set; } + public global::System.Collections.Generic.IList? Type4499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionTriggerItemParam? Type4500 { get; set; } + public global::tryAGI.OpenAI.SkillsItem3? Type4500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemReferenceParam? Type4501 { get; set; } + public global::tryAGI.OpenAI.BetaSkillReferenceParam? Type4501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramItemParam? Type4502 { get; set; } + public global::tryAGI.OpenAI.BetaInlineSkillParam? Type4502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutputItemParam? Type4503 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParamSkillDiscriminator? Type4503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputItemDiscriminator? Type4504 { get; set; } + public global::tryAGI.OpenAI.BetaContainerAutoParamSkillDiscriminatorType? Type4504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputItemDiscriminatorType? Type4505 { get; set; } + public global::tryAGI.OpenAI.BetaInlineSkillParamType? Type4505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentTagParam? Type4506 { get; set; } + public global::tryAGI.OpenAI.BetaInlineSkillSourceParam? Type4506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutputItemParamType? Type4507 { get; set; } + public global::tryAGI.OpenAI.BetaInlineSkillSourceParamType? Type4507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutputItemStatus? Type4508 { get; set; } + public global::tryAGI.OpenAI.BetaInlineSkillSourceParamMediaType? Type4508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramItemParamType? Type4509 { get; set; } + public global::tryAGI.OpenAI.BetaSkillReferenceParamType? Type4509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemReferenceParamType? Type4510 { get; set; } + public global::tryAGI.OpenAI.BetaContainerNetworkPolicyAllowlistParamType? Type4510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionTriggerItemParamType? Type4511 { get; set; } + public global::System.Collections.Generic.IList? Type4511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessage? Type4512 { get; set; } + public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDomainSecretParam? Type4512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessage? Type4513 { get; set; } + public global::tryAGI.OpenAI.BetaContainerNetworkPolicyDisabledParamType? Type4513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchToolCall? Type4514 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolParamType? Type4514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCall? Type4515 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolType? Type4515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerCallOutputItemParam? Type4516 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type4516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolCall? Type4517 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolModel? Type4517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCall? Type4518 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolQuality? Type4518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParam? Type4519 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type4519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageItemParam? Type4520 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolSize? Type4520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallItemParam? Type4521 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolOutputFormat? Type4521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallOutputItemParam? Type4522 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolModeration? Type4522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchCallItemParam? Type4523 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolBackground? Type4523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputItemParam? Type4524 { get; set; } + public global::tryAGI.OpenAI.BetaInputFidelity? Type4524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAdditionalToolsItemParam? Type4525 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolInputImageMask? Type4525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParam? Type4526 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenActionEnum? Type4526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningItem? Type4527 { get; set; } + public global::tryAGI.OpenAI.BetaProgrammaticToolCallingParamType? Type4527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionSummaryItemParam? Type4528 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolType? Type4528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolCall? Type4529 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type4529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolCall? Type4530 { get; set; } + public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParam? Type4530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCall? Type4531 { get; set; } + public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamType? Type4531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCallOutput? Type4532 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy5? Type4532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallItemParam? Type4533 { get; set; } + public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type4533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputItemParam? Type4534 { get; set; } + public global::tryAGI.OpenAI.BetaAutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type4534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallItemParam? Type4535 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolType? Type4535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputItemParam? Type4536 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolConnectorId? Type4536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPListTools? Type4537 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.BetaMCPToolFilter>? Type4537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalRequest? Type4538 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolFilter? Type4538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalResponse? Type4539 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type4539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCall? Type4540 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolRequireApprovalVariant1Enum? Type4540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallOutput? Type4541 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolRequireApprovalVariant1Enum2? Type4541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCall? Type4542 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolType? Type4542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemDiscriminator? Type4543 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolFilters? Type4543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemDiscriminatorType? Type4544 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchApproximateLocationWebSearchApproximateLocation? Type4544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentTag? Type4545 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolSearchContextSize? Type4545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallType? Type4546 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchApproximateLocationWebSearchApproximateLocationType? Type4546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCaller? Type4547 { get; set; } + public global::tryAGI.OpenAI.BetaComputerUsePreviewToolType? Type4547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDirectToolCallCaller? Type4548 { get; set; } + public global::tryAGI.OpenAI.BetaComputerEnvironment? Type4548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramToolCallCaller? Type4549 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolType? Type4549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCallerDiscriminator? Type4550 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchToolType? Type4550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCallerDiscriminatorType? Type4551 { get; set; } + public global::tryAGI.OpenAI.BetaRankingOptions? Type4551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramToolCallCallerType? Type4552 { get; set; } + public global::tryAGI.OpenAI.BetaFilters? Type4552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDirectToolCallCallerType? Type4553 { get; set; } + public global::tryAGI.OpenAI.BetaComparisonFilter? Type4553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallOutputType? Type4554 { get; set; } + public global::tryAGI.OpenAI.BetaCompoundFilter? Type4554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCallerParam? Type4555 { get; set; } + public global::tryAGI.OpenAI.BetaCompoundFilterType? Type4555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type4556 { get; set; } + public global::System.Collections.Generic.IList? Type4556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4557 { get; set; } + public global::tryAGI.OpenAI.FiltersItem2? Type4557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutput? Type4558 { get; set; } + public global::tryAGI.OpenAI.BetaCompoundFilterFilterDiscriminator? Type4558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputTextContent? Type4559 { get; set; } + public global::tryAGI.OpenAI.BetaComparisonFilterType? Type4559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputImageContent? Type4560 { get; set; } + public global::tryAGI.OpenAI.BetaRankerVersionType? Type4560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputFileContent? Type4561 { get; set; } + public global::tryAGI.OpenAI.BetaHybridSearchOptions? Type4561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutputDiscriminator? Type4562 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolType? Type4562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutputDiscriminatorType? Type4563 { get; set; } + public global::tryAGI.OpenAI.BetaEasyInputMessage? Type4563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputFileContentType? Type4564 { get; set; } + public global::tryAGI.OpenAI.BetaItem? Type4564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheBreakpointConfig? Type4565 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionTriggerItemParam? Type4565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileInputDetail? Type4566 { get; set; } + public global::tryAGI.OpenAI.BetaItemReferenceParam? Type4566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheBreakpointConfigMode? Type4567 { get; set; } + public global::tryAGI.OpenAI.BetaProgramItemParam? Type4567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputImageContentType? Type4568 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutputItemParam? Type4568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageDetail? Type4569 { get; set; } + public global::tryAGI.OpenAI.BetaInputItemDiscriminator? Type4569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputTextContentType? Type4570 { get; set; } + public global::tryAGI.OpenAI.BetaInputItemDiscriminatorType? Type4570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDirectToolCallCallerParam? Type4571 { get; set; } + public global::tryAGI.OpenAI.BetaAgentTagParam? Type4571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramToolCallCallerParam? Type4572 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutputItemParamType? Type4572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCallerParamDiscriminator? Type4573 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutputItemStatus? Type4573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolCallCallerParamDiscriminatorType? Type4574 { get; set; } + public global::tryAGI.OpenAI.BetaProgramItemParamType? Type4574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramToolCallCallerParamType? Type4575 { get; set; } + public global::tryAGI.OpenAI.BetaItemReferenceParamType? Type4575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDirectToolCallCallerParamType? Type4576 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionTriggerItemParamType? Type4576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCallType? Type4577 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessage? Type4577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCallError? Type4578 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessage? Type4578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCallStatus? Type4579 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchToolCall? Type4579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPProtocolError? Type4580 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCall? Type4580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolExecutionError? Type4581 { get; set; } + public global::tryAGI.OpenAI.BetaComputerCallOutputItemParam? Type4581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaHTTPError? Type4582 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolCall? Type4582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCallErrorDiscriminator? Type4583 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCall? Type4583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolCallErrorDiscriminatorType? Type4584 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParam? Type4584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaHTTPErrorType? Type4585 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageItemParam? Type4585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPToolExecutionErrorType? Type4586 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallItemParam? Type4586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPProtocolErrorType? Type4587 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallOutputItemParam? Type4587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalResponseType? Type4588 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchCallItemParam? Type4588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalRequestType? Type4589 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputItemParam? Type4589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPListToolsType? Type4590 { get; set; } + public global::tryAGI.OpenAI.BetaAdditionalToolsItemParam? Type4590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4591 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParam? Type4591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPListToolsTool? Type4592 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningItem? Type4592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputItemParamType? Type4593 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionSummaryItemParam? Type4593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCallOutputStatusParam? Type4594 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolCall? Type4594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallItemParamType? Type4595 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolCall? Type4595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCallStatusParam? Type4596 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCall? Type4596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchOperationParam? Type4597 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCallOutput? Type4597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationParam? Type4598 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallItemParam? Type4598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationParam? Type4599 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputItemParam? Type4599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationParam? Type4600 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallItemParam? Type4600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchOperationParamDiscriminator? Type4601 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputItemParam? Type4601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchOperationParamDiscriminatorType? Type4602 { get; set; } + public global::tryAGI.OpenAI.BetaMCPListTools? Type4602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationParamType? Type4603 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalRequest? Type4603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationParamType? Type4604 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalResponse? Type4604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationParamType? Type4605 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCall? Type4605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputItemParamType? Type4606 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallOutput? Type4606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4607 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCall? Type4607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentParam? Type4608 { get; set; } + public global::tryAGI.OpenAI.BetaItemDiscriminator? Type4608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallItemStatus? Type4609 { get; set; } + public global::tryAGI.OpenAI.BetaItemDiscriminatorType? Type4609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParam? Type4610 { get; set; } + public global::tryAGI.OpenAI.BetaAgentTag? Type4610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeParam? Type4611 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallType? Type4611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeParam? Type4612 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCaller? Type4612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParamDiscriminator? Type4613 { get; set; } + public global::tryAGI.OpenAI.BetaDirectToolCallCaller? Type4613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParamDiscriminatorType? Type4614 { get; set; } + public global::tryAGI.OpenAI.BetaProgramToolCallCaller? Type4614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeParamType? Type4615 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCallerDiscriminator? Type4615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeParamType? Type4616 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCallerDiscriminatorType? Type4616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamType? Type4617 { get; set; } + public global::tryAGI.OpenAI.BetaProgramToolCallCallerType? Type4617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellActionParam? Type4618 { get; set; } + public global::tryAGI.OpenAI.BetaDirectToolCallCallerType? Type4618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant16? Type4619 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallOutputType? Type4619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamEnvironmentVariant1Discriminator? Type4620 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCallerParam? Type4620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type4621 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type4621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCallOutputType? Type4622 { get; set; } + public global::System.Collections.Generic.IList? Type4622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCallOutputStatus? Type4623 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutput? Type4623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCallType? Type4624 { get; set; } + public global::tryAGI.OpenAI.BetaInputTextContent? Type4624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellExecAction? Type4625 { get; set; } + public global::tryAGI.OpenAI.BetaInputImageContent? Type4625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellToolCallStatus? Type4626 { get; set; } + public global::tryAGI.OpenAI.BetaInputFileContent? Type4626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalShellExecActionType? Type4627 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutputDiscriminator? Type4627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallType? Type4628 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionAndCustomToolCallOutputDiscriminatorType? Type4628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallStatus? Type4629 { get; set; } + public global::tryAGI.OpenAI.BetaInputFileContentType? Type4629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4630 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheBreakpointConfig? Type4630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputsVariant1Item2? Type4631 { get; set; } + public global::tryAGI.OpenAI.BetaFileInputDetail? Type4631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterOutputLogs? Type4632 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheBreakpointConfigMode? Type4632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterOutputImage? Type4633 { get; set; } + public global::tryAGI.OpenAI.BetaInputImageContentType? Type4633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallOutputsVariant1ItemDiscriminator? Type4634 { get; set; } + public global::tryAGI.OpenAI.BetaImageDetail? Type4634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallOutputsVariant1ItemDiscriminatorType? Type4635 { get; set; } + public global::tryAGI.OpenAI.BetaInputTextContentType? Type4635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterOutputImageType? Type4636 { get; set; } + public global::tryAGI.OpenAI.BetaDirectToolCallCallerParam? Type4636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCodeInterpreterOutputLogsType? Type4637 { get; set; } + public global::tryAGI.OpenAI.BetaProgramToolCallCallerParam? Type4637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolCallType? Type4638 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCallerParamDiscriminator? Type4638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolCallStatus? Type4639 { get; set; } + public global::tryAGI.OpenAI.BetaToolCallCallerParamDiscriminatorType? Type4639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type4640 { get; set; } + public global::tryAGI.OpenAI.BetaProgramToolCallCallerParamType? Type4640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolCallSizeVariant1? Type4641 { get; set; } + public global::tryAGI.OpenAI.BetaDirectToolCallCallerParamType? Type4641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageGenToolCallQuality? Type4642 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCallType? Type4642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageBackground? Type4643 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCallError? Type4643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaImageOutputFormat? Type4644 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCallStatus? Type4644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionSummaryItemParamType? Type4645 { get; set; } + public global::tryAGI.OpenAI.BetaMCPProtocolError? Type4645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningItemType? Type4646 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolExecutionError? Type4646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4647 { get; set; } + public global::tryAGI.OpenAI.BetaHTTPError? Type4647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSummaryTextContent? Type4648 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCallErrorDiscriminator? Type4648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4649 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolCallErrorDiscriminatorType? Type4649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningTextContent? Type4650 { get; set; } + public global::tryAGI.OpenAI.BetaHTTPErrorType? Type4650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningItemStatus? Type4651 { get; set; } + public global::tryAGI.OpenAI.BetaMCPToolExecutionErrorType? Type4651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaReasoningTextContentType? Type4652 { get; set; } + public global::tryAGI.OpenAI.BetaMCPProtocolErrorType? Type4652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaSummaryTextContentType? Type4653 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalResponseType? Type4653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParamType? Type4654 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalRequestType? Type4654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParamReasoning? Type4655 { get; set; } + public global::tryAGI.OpenAI.BetaMCPListToolsType? Type4655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAdditionalToolsItemParamType? Type4656 { get; set; } + public global::System.Collections.Generic.IList? Type4656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAdditionalToolsItemParamRole? Type4657 { get; set; } + public global::tryAGI.OpenAI.BetaMCPListToolsTool? Type4657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputItemParamType? Type4658 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputItemParamType? Type4658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4659 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCallOutputStatusParam? Type4659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputTool? Type4660 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallItemParamType? Type4660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallItemStatus? Type4661 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCallStatusParam? Type4661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParam? Type4662 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchOperationParam? Type4662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminator? Type4663 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationParam? Type4663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminatorType? Type4664 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationParam? Type4664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType? Type4665 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationParam? Type4665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4666 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchOperationParamDiscriminator? Type4666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem18? Type4667 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchOperationParamDiscriminatorType? Type4667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Type4668 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationParamType? Type4668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator? Type4669 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationParamType? Type4669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type4670 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationParamType? Type4670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParamType? Type4671 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputItemParamType? Type4671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchCallItemParamType? Type4672 { get; set; } + public global::System.Collections.Generic.IList? Type4672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallOutputItemParamType? Type4673 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentParam? Type4673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentAction1? Type4674 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallItemStatus? Type4674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4675 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParam? Type4675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContentParam? Type4676 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeParam? Type4676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContentParamType? Type4677 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeParam? Type4677 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4678 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParamDiscriminator? Type4678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem4? Type4679 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputOutcomeParamDiscriminatorType? Type4679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileCitationParam? Type4680 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeParamType? Type4680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUrlCitationParam? Type4681 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeParamType? Type4681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerFileCitationParam? Type4682 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamType? Type4682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContentParamAnnotationDiscriminator? Type4683 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellActionParam? Type4683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContentParamAnnotationDiscriminatorType? Type4684 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant16? Type4684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerFileCitationParamType? Type4685 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamEnvironmentVariant1Discriminator? Type4685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUrlCitationParamType? Type4686 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type4686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileCitationParamType? Type4687 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCallOutputType? Type4687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallItemParamType? Type4688 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCallOutputStatus? Type4688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageItemParamType? Type4689 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCallType? Type4689 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4690 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellExecAction? Type4690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem6? Type4691 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellToolCallStatus? Type4691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputTextContentParam? Type4692 { get; set; } + public global::tryAGI.OpenAI.BetaLocalShellExecActionType? Type4692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputImageContentParamAutoParam? Type4693 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallType? Type4693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEncryptedContentParam? Type4694 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallStatus? Type4694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageItemParamContentItemDiscriminator? Type4695 { get; set; } + public global::System.Collections.Generic.IList? Type4695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageItemParamContentItemDiscriminatorType? Type4696 { get; set; } + public global::tryAGI.OpenAI.OutputsVariant1Item2? Type4696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEncryptedContentParamType? Type4697 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterOutputLogs? Type4697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputImageContentParamAutoParamType? Type4698 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterOutputImage? Type4698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDetailEnum? Type4699 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallOutputsVariant1ItemDiscriminator? Type4699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheBreakpointParam? Type4700 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterToolCallOutputsVariant1ItemDiscriminatorType? Type4700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheBreakpointParamMode? Type4701 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterOutputImageType? Type4701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputTextContentParamType? Type4702 { get; set; } + public global::tryAGI.OpenAI.BetaCodeInterpreterOutputLogsType? Type4702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamType? Type4703 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolCallType? Type4703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type4704 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolCallStatus? Type4704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4705 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type4705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputVariant2Item2? Type4706 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolCallSizeVariant1? Type4706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputFileContentParam? Type4707 { get; set; } + public global::tryAGI.OpenAI.BetaImageGenToolCallQuality? Type4707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type4708 { get; set; } + public global::tryAGI.OpenAI.BetaImageBackground? Type4708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type4709 { get; set; } + public global::tryAGI.OpenAI.BetaImageOutputFormat? Type4709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputFileContentParamType? Type4710 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionSummaryItemParamType? Type4710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileDetailEnum? Type4711 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningItemType? Type4711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallType? Type4712 { get; set; } + public global::System.Collections.Generic.IList? Type4712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallStatus? Type4713 { get; set; } + public global::tryAGI.OpenAI.BetaSummaryTextContent? Type4713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolCallType? Type4714 { get; set; } + public global::System.Collections.Generic.IList? Type4714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchCallStatus? Type4715 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningTextContent? Type4715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolCallAction? Type4716 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningItemStatus? Type4716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionSearch? Type4717 { get; set; } + public global::tryAGI.OpenAI.BetaReasoningTextContentType? Type4717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionOpenPage? Type4718 { get; set; } + public global::tryAGI.OpenAI.BetaSummaryTextContentType? Type4718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionFind? Type4719 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParamType? Type4719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolCallActionDiscriminator? Type4720 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateItemParamReasoning? Type4720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchToolCallActionDiscriminatorType? Type4721 { get; set; } + public global::tryAGI.OpenAI.BetaAdditionalToolsItemParamType? Type4721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionFindType? Type4722 { get; set; } + public global::tryAGI.OpenAI.BetaAdditionalToolsItemParamRole? Type4722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionOpenPageType? Type4723 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputItemParamType? Type4723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionSearchType? Type4724 { get; set; } + public global::System.Collections.Generic.IList? Type4724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4725 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputTool? Type4725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionSearchSource? Type4726 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallItemStatus? Type4726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWebSearchActionSearchSourceType? Type4727 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParam? Type4727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerCallOutputItemParamType? Type4728 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminator? Type4728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerScreenshotImage? Type4729 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputToolDiscriminatorType? Type4729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4730 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType? Type4730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerCallSafetyCheckParam? Type4731 { get; set; } + public global::System.Collections.Generic.IList? Type4731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerScreenshotImageType? Type4732 { get; set; } + public global::tryAGI.OpenAI.ToolsItem19? Type4732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallType? Type4733 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Type4733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerAction? Type4734 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminator? Type4734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4735 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type4735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallStatus? Type4736 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParamType? Type4736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaClickParam? Type4737 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchCallItemParamType? Type4737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDoubleClickAction? Type4738 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallOutputItemParamType? Type4738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDragParam? Type4739 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentAction1? Type4739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaKeyPressAction? Type4740 { get; set; } + public global::System.Collections.Generic.IList? Type4740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMoveParam? Type4741 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContentParam? Type4741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaScreenshotParam? Type4742 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContentParamType? Type4742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaScrollParam? Type4743 { get; set; } + public global::System.Collections.Generic.IList? Type4743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTypeParam? Type4744 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem4? Type4744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWaitParam? Type4745 { get; set; } + public global::tryAGI.OpenAI.BetaFileCitationParam? Type4745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerActionDiscriminator? Type4746 { get; set; } + public global::tryAGI.OpenAI.BetaUrlCitationParam? Type4746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerActionDiscriminatorType? Type4747 { get; set; } + public global::tryAGI.OpenAI.BetaContainerFileCitationParam? Type4747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaWaitParamType? Type4748 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContentParamAnnotationDiscriminator? Type4748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTypeParamType? Type4749 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContentParamAnnotationDiscriminatorType? Type4749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaScrollParamType? Type4750 { get; set; } + public global::tryAGI.OpenAI.BetaContainerFileCitationParamType? Type4750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaScreenshotParamType? Type4751 { get; set; } + public global::tryAGI.OpenAI.BetaUrlCitationParamType? Type4751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMoveParamType? Type4752 { get; set; } + public global::tryAGI.OpenAI.BetaFileCitationParamType? Type4752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaKeyPressActionType? Type4753 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallItemParamType? Type4753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDragParamType? Type4754 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageItemParamType? Type4754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4755 { get; set; } + public global::System.Collections.Generic.IList? Type4755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCoordParam? Type4756 { get; set; } + public global::tryAGI.OpenAI.ContentItem6? Type4756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDoubleClickActionType? Type4757 { get; set; } + public global::tryAGI.OpenAI.BetaInputTextContentParam? Type4757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaClickParamType? Type4758 { get; set; } + public global::tryAGI.OpenAI.BetaInputImageContentParamAutoParam? Type4758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaClickButtonType? Type4759 { get; set; } + public global::tryAGI.OpenAI.BetaEncryptedContentParam? Type4759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchToolCallType? Type4760 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageItemParamContentItemDiscriminator? Type4760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchToolCallStatus? Type4761 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageItemParamContentItemDiscriminatorType? Type4761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4762 { get; set; } + public global::tryAGI.OpenAI.BetaEncryptedContentParamType? Type4762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileSearchToolCallResultsVariant1Item? Type4763 { get; set; } + public global::tryAGI.OpenAI.BetaInputImageContentParamAutoParamType? Type4763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageType? Type4764 { get; set; } + public global::tryAGI.OpenAI.BetaDetailEnum? Type4764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageRole? Type4765 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheBreakpointParam? Type4765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4766 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheBreakpointParamMode? Type4766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageContent? Type4767 { get; set; } + public global::tryAGI.OpenAI.BetaInputTextContentParamType? Type4767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessagePhase? Type4768 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamType? Type4768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageStatus? Type4769 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type4769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContent? Type4770 { get; set; } + public global::System.Collections.Generic.IList? Type4770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaRefusalContent? Type4771 { get; set; } + public global::tryAGI.OpenAI.OutputVariant2Item2? Type4771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageContentDiscriminator? Type4772 { get; set; } + public global::tryAGI.OpenAI.BetaInputFileContentParam? Type4772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputMessageContentDiscriminatorType? Type4773 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type4773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaRefusalContentType? Type4774 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type4774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputTextContentType? Type4775 { get; set; } + public global::tryAGI.OpenAI.BetaInputFileContentParamType? Type4775 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4776 { get; set; } + public global::tryAGI.OpenAI.BetaFileDetailEnum? Type4776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAnnotation? Type4777 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallType? Type4777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4778 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallStatus? Type4778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLogProb? Type4779 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolCallType? Type4779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4780 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchCallStatus? Type4780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTopLogProb? Type4781 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolCallAction? Type4781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileCitationBody? Type4782 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionSearch? Type4782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUrlCitationBody? Type4783 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionOpenPage? Type4783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerFileCitationBody? Type4784 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionFind? Type4784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFilePath? Type4785 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolCallActionDiscriminator? Type4785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAnnotationDiscriminator? Type4786 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchToolCallActionDiscriminatorType? Type4786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAnnotationDiscriminatorType? Type4787 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionFindType? Type4787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFilePathType? Type4788 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionOpenPageType? Type4788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerFileCitationBodyType? Type4789 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionSearchType? Type4789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUrlCitationBodyType? Type4790 { get; set; } + public global::System.Collections.Generic.IList? Type4790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFileCitationBodyType? Type4791 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionSearchSource? Type4791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessageType? Type4792 { get; set; } + public global::tryAGI.OpenAI.BetaWebSearchActionSearchSourceType? Type4792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessageRole? Type4793 { get; set; } + public global::tryAGI.OpenAI.BetaComputerCallOutputItemParamType? Type4793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessageStatus? Type4794 { get; set; } + public global::tryAGI.OpenAI.BetaComputerScreenshotImage? Type4794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4795 { get; set; } + public global::System.Collections.Generic.IList? Type4795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputContent? Type4796 { get; set; } + public global::tryAGI.OpenAI.BetaComputerCallSafetyCheckParam? Type4796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputContentDiscriminator? Type4797 { get; set; } + public global::tryAGI.OpenAI.BetaComputerScreenshotImageType? Type4797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputContentDiscriminatorType? Type4798 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallType? Type4798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEasyInputMessageRole? Type4799 { get; set; } + public global::tryAGI.OpenAI.BetaComputerAction? Type4799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type4800 { get; set; } + public global::System.Collections.Generic.IList? Type4800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEasyInputMessageType? Type4801 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallStatus? Type4801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactResponseMethodPublicBody? Type4802 { get; set; } + public global::tryAGI.OpenAI.BetaClickParam? Type4802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelIdsCompaction? Type4803 { get; set; } + public global::tryAGI.OpenAI.BetaDoubleClickAction? Type4803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheRetentionEnum? Type4804 { get; set; } + public global::tryAGI.OpenAI.BetaDragParam? Type4804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheOptionsParam? Type4805 { get; set; } + public global::tryAGI.OpenAI.BetaKeyPressAction? Type4805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaServiceTierEnum? Type4806 { get; set; } + public global::tryAGI.OpenAI.BetaMoveParam? Type4806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheTTLEnum? Type4807 { get; set; } + public global::tryAGI.OpenAI.BetaScreenshotParam? Type4807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheModeEnum? Type4808 { get; set; } + public global::tryAGI.OpenAI.BetaScrollParam? Type4808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelIdsResponses? Type4809 { get; set; } + public global::tryAGI.OpenAI.BetaTypeParam? Type4809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelIdsShared? Type4810 { get; set; } + public global::tryAGI.OpenAI.BetaWaitParam? Type4810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelIdsResponsesEnum? Type4811 { get; set; } + public global::tryAGI.OpenAI.BetaComputerActionDiscriminator? Type4811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelIdsSharedEnum? Type4812 { get; set; } + public global::tryAGI.OpenAI.BetaComputerActionDiscriminatorType? Type4812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaErrorResponse? Type4813 { get; set; } + public global::tryAGI.OpenAI.BetaWaitParamType? Type4813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaError? Type4814 { get; set; } + public global::tryAGI.OpenAI.BetaTypeParamType? Type4814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMisalignmentErrorDetailsResource? Type4815 { get; set; } + public global::tryAGI.OpenAI.BetaScrollParamType? Type4815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMisalignmentErrorType? Type4816 { get; set; } + public global::tryAGI.OpenAI.BetaScreenshotParamType? Type4816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMisalignmentSteer? Type4817 { get; set; } + public global::tryAGI.OpenAI.BetaMoveParamType? Type4817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMisalignmentErrorTypeEnum? Type4818 { get; set; } + public global::tryAGI.OpenAI.BetaKeyPressActionType? Type4818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseItemList? Type4819 { get; set; } + public global::tryAGI.OpenAI.BetaDragParamType? Type4819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseItemListObject? Type4820 { get; set; } + public global::System.Collections.Generic.IList? Type4820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4821 { get; set; } + public global::tryAGI.OpenAI.BetaCoordParam? Type4821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemResource? Type4822 { get; set; } + public global::tryAGI.OpenAI.BetaDoubleClickActionType? Type4822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessageResource? Type4823 { get; set; } + public global::tryAGI.OpenAI.BetaClickParamType? Type4823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallOutputResource? Type4824 { get; set; } + public global::tryAGI.OpenAI.BetaClickButtonType? Type4824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallResource? Type4825 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchToolCallType? Type4825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallOutputResource? Type4826 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchToolCallStatus? Type4826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessage? Type4827 { get; set; } + public global::System.Collections.Generic.IList? Type4827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCall? Type4828 { get; set; } + public global::tryAGI.OpenAI.BetaFileSearchToolCallResultsVariant1Item? Type4828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallOutput? Type4829 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageType? Type4829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchCall? Type4830 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageRole? Type4830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutput? Type4831 { get; set; } + public global::System.Collections.Generic.IList? Type4831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAdditionalTools? Type4832 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageContent? Type4832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdate? Type4833 { get; set; } + public global::tryAGI.OpenAI.BetaMessagePhase? Type4833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgram? Type4834 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageStatus? Type4834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutput? Type4835 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContent? Type4835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionBody? Type4836 { get; set; } + public global::tryAGI.OpenAI.BetaRefusalContent? Type4836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCall? Type4837 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageContentDiscriminator? Type4837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutput? Type4838 { get; set; } + public global::tryAGI.OpenAI.BetaOutputMessageContentDiscriminatorType? Type4838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCall? Type4839 { get; set; } + public global::tryAGI.OpenAI.BetaRefusalContentType? Type4839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutput? Type4840 { get; set; } + public global::tryAGI.OpenAI.BetaOutputTextContentType? Type4840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalResponseResource? Type4841 { get; set; } + public global::System.Collections.Generic.IList? Type4841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallResource? Type4842 { get; set; } + public global::tryAGI.OpenAI.BetaAnnotation? Type4842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallOutputResource? Type4843 { get; set; } + public global::System.Collections.Generic.IList? Type4843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemResourceDiscriminator? Type4844 { get; set; } + public global::tryAGI.OpenAI.BetaLogProb? Type4844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemResourceDiscriminatorType? Type4845 { get; set; } + public global::System.Collections.Generic.IList? Type4845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallOutputResourceVariant2? Type4846 { get; set; } + public global::tryAGI.OpenAI.BetaTopLogProb? Type4846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallOutputStatusEnum? Type4847 { get; set; } + public global::tryAGI.OpenAI.BetaFileCitationBody? Type4847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolCallResourceVariant2? Type4848 { get; set; } + public global::tryAGI.OpenAI.BetaUrlCitationBody? Type4848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionCallStatus? Type4849 { get; set; } + public global::tryAGI.OpenAI.BetaContainerFileCitationBody? Type4849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMCPApprovalResponseResourceType? Type4850 { get; set; } + public global::tryAGI.OpenAI.BetaFilePath? Type4850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputType? Type4851 { get; set; } + public global::tryAGI.OpenAI.BetaAnnotationDiscriminator? Type4851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCallOutputStatus? Type4852 { get; set; } + public global::tryAGI.OpenAI.BetaAnnotationDiscriminatorType? Type4852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallType? Type4853 { get; set; } + public global::tryAGI.OpenAI.BetaFilePathType? Type4853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCallStatus? Type4854 { get; set; } + public global::tryAGI.OpenAI.BetaContainerFileCitationBodyType? Type4854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Operation2? Type4855 { get; set; } + public global::tryAGI.OpenAI.BetaUrlCitationBodyType? Type4855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperation? Type4856 { get; set; } + public global::tryAGI.OpenAI.BetaFileCitationBodyType? Type4856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperation? Type4857 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessageType? Type4857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperation? Type4858 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessageRole? Type4858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOperationDiscriminator? Type4859 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessageStatus? Type4859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchToolCallOperationDiscriminatorType? Type4860 { get; set; } + public global::System.Collections.Generic.IList? Type4860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationType? Type4861 { get; set; } + public global::tryAGI.OpenAI.BetaInputContent? Type4861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationType? Type4862 { get; set; } + public global::tryAGI.OpenAI.BetaInputContentDiscriminator? Type4862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationType? Type4863 { get; set; } + public global::tryAGI.OpenAI.BetaInputContentDiscriminatorType? Type4863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputType? Type4864 { get; set; } + public global::tryAGI.OpenAI.BetaEasyInputMessageRole? Type4864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputStatusEnum? Type4865 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type4865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4866 { get; set; } + public global::tryAGI.OpenAI.BetaEasyInputMessageType? Type4866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContent? Type4867 { get; set; } + public global::tryAGI.OpenAI.BetaCompactResponseMethodPublicBody? Type4867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Outcome2? Type4868 { get; set; } + public global::tryAGI.OpenAI.BetaModelIdsCompaction? Type4868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcome? Type4869 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheRetentionEnum? Type4869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcome? Type4870 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheOptionsParam? Type4870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentOutcomeDiscriminator? Type4871 { get; set; } + public global::tryAGI.OpenAI.BetaServiceTierEnum? Type4871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentOutcomeDiscriminatorType? Type4872 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheTTLEnum? Type4872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeType? Type4873 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheModeEnum? Type4873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeType? Type4874 { get; set; } + public global::tryAGI.OpenAI.BetaModelIdsResponses? Type4874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallType? Type4875 { get; set; } + public global::tryAGI.OpenAI.BetaModelIdsShared? Type4875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellAction? Type4876 { get; set; } + public global::tryAGI.OpenAI.BetaModelIdsResponsesEnum? Type4876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallStatus? Type4877 { get; set; } + public global::tryAGI.OpenAI.BetaModelIdsSharedEnum? Type4877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant17? Type4878 { get; set; } + public global::tryAGI.OpenAI.BetaErrorResponse? Type4878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalEnvironmentResource? Type4879 { get; set; } + public global::tryAGI.OpenAI.BetaError? Type4879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerReferenceResource? Type4880 { get; set; } + public global::tryAGI.OpenAI.BetaMisalignmentErrorDetailsResource? Type4880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallEnvironmentVariant1Discriminator? Type4881 { get; set; } + public global::tryAGI.OpenAI.BetaMisalignmentErrorType? Type4881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionShellCallEnvironmentVariant1DiscriminatorType? Type4882 { get; set; } + public global::tryAGI.OpenAI.BetaMisalignmentSteer? Type4882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContainerReferenceResourceType? Type4883 { get; set; } + public global::tryAGI.OpenAI.BetaMisalignmentErrorTypeEnum? Type4883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaLocalEnvironmentResourceType? Type4884 { get; set; } + public global::tryAGI.OpenAI.BetaResponseItemList? Type4884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactionBodyType? Type4885 { get; set; } + public global::tryAGI.OpenAI.BetaResponseItemListObject? Type4885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutputType? Type4886 { get; set; } + public global::System.Collections.Generic.IList? Type4886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramOutputStatus? Type4887 { get; set; } + public global::tryAGI.OpenAI.BetaItemResource? Type4887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaProgramType? Type4888 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessageResource? Type4888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateType? Type4889 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallOutputResource? Type4889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateReasoning? Type4890 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallResource? Type4890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAdditionalToolsType? Type4891 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallOutputResource? Type4891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessageRole? Type4892 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessage? Type4892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputType? Type4893 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCall? Type4893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchCallType? Type4894 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallOutput? Type4894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallOutputType? Type4895 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchCall? Type4895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentAction? Type4896 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutput? Type4896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4897 { get; set; } + public global::tryAGI.OpenAI.BetaAdditionalTools? Type4897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentCallType? Type4898 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdate? Type4898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageType? Type4899 { get; set; } + public global::tryAGI.OpenAI.BetaProgram? Type4899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4900 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutput? Type4900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem7? Type4901 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionBody? Type4901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTextContent? Type4902 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCall? Type4902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerScreenshotContent? Type4903 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutput? Type4903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEncryptedContent? Type4904 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCall? Type4904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageContentItemDiscriminator? Type4905 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutput? Type4905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAgentMessageContentItemDiscriminatorType? Type4906 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalResponseResource? Type4906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaEncryptedContentType? Type4907 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallResource? Type4907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerScreenshotContentType? Type4908 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallOutputResource? Type4908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaTextContentType? Type4909 { get; set; } + public global::tryAGI.OpenAI.BetaItemResourceDiscriminator? Type4909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallOutput? Type4910 { get; set; } + public global::tryAGI.OpenAI.BetaItemResourceDiscriminatorType? Type4910 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallOutputResourceVariant2? Type4911 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallOutputResourceVariant2? Type4911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallOutputType? Type4912 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallOutputStatusEnum? Type4912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallOutputStatus? Type4913 { get; set; } + public global::tryAGI.OpenAI.BetaCustomToolCallResourceVariant2? Type4913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolCallResourceVariant2? Type4914 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionCallStatus? Type4914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallOutput? Type4915 { get; set; } + public global::tryAGI.OpenAI.BetaMCPApprovalResponseResourceType? Type4915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallOutputResourceVariant2? Type4916 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOutputType? Type4916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerCallOutputStatus? Type4917 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCallOutputStatus? Type4917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallOutputType? Type4918 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallType? Type4918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaComputerToolCallOutputStatus? Type4919 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCallStatus? Type4919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputMessageResourceVariant2? Type4920 { get; set; } + public global::tryAGI.OpenAI.Operation2? Type4920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactResource? Type4921 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperation? Type4921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactResourceObject? Type4922 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperation? Type4922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4923 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperation? Type4923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemField? Type4924 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOperationDiscriminator? Type4924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseUsage? Type4925 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchToolCallOperationDiscriminatorType? Type4925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseUsageInputTokensDetails? Type4926 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchUpdateFileOperationType? Type4926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseUsageOutputTokensDetails? Type4927 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchDeleteFileOperationType? Type4927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessage? Type4928 { get; set; } + public global::tryAGI.OpenAI.BetaApplyPatchCreateFileOperationType? Type4928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemFieldDiscriminator? Type4929 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputType? Type4929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaItemFieldDiscriminatorType? Type4930 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputStatusEnum? Type4930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessageType? Type4931 { get; set; } + public global::System.Collections.Generic.IList? Type4931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessageStatus? Type4932 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContent? Type4932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4933 { get; set; } + public global::tryAGI.OpenAI.Outcome2? Type4933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem8? Type4934 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcome? Type4934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessageContentItemDiscriminator? Type4935 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcome? Type4935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessageContentItemDiscriminatorType? Type4936 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentOutcomeDiscriminator? Type4936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMessagePhase2? Type4937 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputContentOutcomeDiscriminatorType? Type4937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDoneEvent? Type4938 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputExitOutcomeType? Type4938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDoneEventType? Type4939 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallOutputTimeoutOutcomeType? Type4939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDeltaEvent? Type4940 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallType? Type4940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDeltaEventType? Type4941 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellAction? Type4941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseQueuedEvent? Type4942 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallStatus? Type4942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseQueuedEventType? Type4943 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant17? Type4943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponse? Type4944 { get; set; } + public global::tryAGI.OpenAI.BetaLocalEnvironmentResource? Type4944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelResponseProperties? Type4945 { get; set; } + public global::tryAGI.OpenAI.BetaContainerReferenceResource? Type4945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseProperties? Type4946 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallEnvironmentVariant1Discriminator? Type4946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3? Type4947 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionShellCallEnvironmentVariant1DiscriminatorType? Type4947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaServiceTierResponsesEnum? Type4948 { get; set; } + public global::tryAGI.OpenAI.BetaContainerReferenceResourceType? Type4948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3Truncation? Type4949 { get; set; } + public global::tryAGI.OpenAI.BetaLocalEnvironmentResourceType? Type4949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3Object? Type4950 { get; set; } + public global::tryAGI.OpenAI.BetaCompactionBodyType? Type4950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3Status? Type4951 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutputType? Type4951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAccessProgramsBody? Type4952 { get; set; } + public global::tryAGI.OpenAI.BetaProgramOutputStatus? Type4952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseErrorVariant1? Type4953 { get; set; } + public global::tryAGI.OpenAI.BetaProgramType? Type4953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3IncompleteDetails? Type4954 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateType? Type4954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseVariant3IncompleteDetailsReason? Type4955 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConfigurationUpdateReasoning? Type4955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4956 { get; set; } + public global::tryAGI.OpenAI.BetaAdditionalToolsType? Type4956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputItem? Type4957 { get; set; } + public global::tryAGI.OpenAI.BetaMessageRole? Type4957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheOptions? Type4958 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchOutputType? Type4958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheDiagnostics? Type4959 { get; set; } + public global::tryAGI.OpenAI.BetaToolSearchCallType? Type4959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModeration? Type4960 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallOutputType? Type4960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseConversation? Type4961 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentAction? Type4961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Input5? Type4962 { get; set; } + public global::System.Collections.Generic.IList? Type4962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationResultBody? Type4963 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentCallType? Type4963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationErrorBody? Type4964 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageType? Type4964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationInputDiscriminator? Type4965 { get; set; } + public global::System.Collections.Generic.IList? Type4965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationInputDiscriminatorType? Type4966 { get; set; } + public global::tryAGI.OpenAI.ContentItem7? Type4966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Output9? Type4967 { get; set; } + public global::tryAGI.OpenAI.BetaTextContent? Type4967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationOutputDiscriminator? Type4968 { get; set; } + public global::tryAGI.OpenAI.BetaComputerScreenshotContent? Type4968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationOutputDiscriminatorType? Type4969 { get; set; } + public global::tryAGI.OpenAI.BetaEncryptedContent? Type4969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationErrorBodyType? Type4970 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageContentItemDiscriminator? Type4970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationResultBodyType? Type4971 { get; set; } + public global::tryAGI.OpenAI.BetaAgentMessageContentItemDiscriminatorType? Type4971 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type4972 { get; set; } + public global::tryAGI.OpenAI.BetaEncryptedContentType? Type4972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4973 { get; set; } + public global::tryAGI.OpenAI.BetaComputerScreenshotContentType? Type4973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationInputType? Type4974 { get; set; } + public global::tryAGI.OpenAI.BetaTextContentType? Type4974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheMissDiagnosticsBody? Type4975 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallOutput? Type4975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheHitDiagnosticsBody? Type4976 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallOutputResourceVariant2? Type4976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheComparisonResponseNotFoundDiagnosticsBody? Type4977 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallOutputType? Type4977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheUnavailableDiagnosticsBody? Type4978 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallOutputStatus? Type4978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheDiagnosticsDiscriminator? Type4979 { get; set; } + public global::tryAGI.OpenAI.BetaFunctionToolCallResourceVariant2? Type4979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheDiagnosticsDiscriminatorType? Type4980 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallOutput? Type4980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheUnavailableDiagnosticsBodyType? Type4981 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallOutputResourceVariant2? Type4981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheComparisonResponseNotFoundDiagnosticsBodyType? Type4982 { get; set; } + public global::tryAGI.OpenAI.BetaComputerCallOutputStatus? Type4982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheHitDiagnosticsBodyType? Type4983 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallOutputType? Type4983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptCacheMissDiagnosticsBodyType? Type4984 { get; set; } + public global::tryAGI.OpenAI.BetaComputerToolCallOutputStatus? Type4984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCacheMissReasonTypeEnum? Type4985 { get; set; } + public global::tryAGI.OpenAI.BetaInputMessageResourceVariant2? Type4985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputItemDiscriminator? Type4986 { get; set; } + public global::tryAGI.OpenAI.BetaCompactResource? Type4986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputItemDiscriminatorType? Type4987 { get; set; } + public global::tryAGI.OpenAI.BetaCompactResourceObject? Type4987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseErrorCode? Type4988 { get; set; } + public global::System.Collections.Generic.IList? Type4988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCyberAccessProgramEnum? Type4989 { get; set; } + public global::tryAGI.OpenAI.BetaItemField? Type4989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaPromptVariant1? Type4990 { get; set; } + public global::tryAGI.OpenAI.BetaResponseUsage? Type4990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type4991 { get; set; } + public global::tryAGI.OpenAI.BetaResponseUsageInputTokensDetails? Type4991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModelResponsePropertiesPromptCacheRetention? Type4992 { get; set; } + public global::tryAGI.OpenAI.BetaResponseUsageOutputTokensDetails? Type4992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputTextAnnotationAddedEvent? Type4993 { get; set; } + public global::tryAGI.OpenAI.BetaMessage? Type4993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputTextAnnotationAddedEventType? Type4994 { get; set; } + public global::tryAGI.OpenAI.BetaItemFieldDiscriminator? Type4994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsInProgressEvent? Type4995 { get; set; } + public global::tryAGI.OpenAI.BetaItemFieldDiscriminatorType? Type4995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsInProgressEventType? Type4996 { get; set; } + public global::tryAGI.OpenAI.BetaMessageType? Type4996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsFailedEvent? Type4997 { get; set; } + public global::tryAGI.OpenAI.BetaMessageStatus? Type4997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsFailedEventType? Type4998 { get; set; } + public global::System.Collections.Generic.IList? Type4998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsCompletedEvent? Type4999 { get; set; } + public global::tryAGI.OpenAI.ContentItem8? Type4999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPListToolsCompletedEventType? Type5000 { get; set; } + public global::tryAGI.OpenAI.BetaMessageContentItemDiscriminator? Type5000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallInProgressEvent? Type5001 { get; set; } + public global::tryAGI.OpenAI.BetaMessageContentItemDiscriminatorType? Type5001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallInProgressEventType? Type5002 { get; set; } + public global::tryAGI.OpenAI.BetaMessagePhase2? Type5002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallFailedEvent? Type5003 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDoneEvent? Type5003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallFailedEventType? Type5004 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDoneEventType? Type5004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallCompletedEvent? Type5005 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDeltaEvent? Type5005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallCompletedEventType? Type5006 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCustomToolCallInputDeltaEventType? Type5006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDoneEvent? Type5007 { get; set; } + public global::tryAGI.OpenAI.BetaResponseQueuedEvent? Type5007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDoneEventType? Type5008 { get; set; } + public global::tryAGI.OpenAI.BetaResponseQueuedEventType? Type5008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDeltaEvent? Type5009 { get; set; } + public global::tryAGI.OpenAI.BetaResponse? Type5009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDeltaEventType? Type5010 { get; set; } + public global::tryAGI.OpenAI.BetaModelResponseProperties? Type5010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallPartialImageEvent? Type5011 { get; set; } + public global::tryAGI.OpenAI.BetaResponseProperties? Type5011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallPartialImageEventType? Type5012 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3? Type5012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallInProgressEvent? Type5013 { get; set; } + public global::tryAGI.OpenAI.BetaServiceTierResponsesEnum? Type5013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallInProgressEventType? Type5014 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3Truncation? Type5014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallGeneratingEvent? Type5015 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3Object? Type5015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallGeneratingEventType? Type5016 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3Status? Type5016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallCompletedEvent? Type5017 { get; set; } + public global::tryAGI.OpenAI.BetaAccessProgramsBody? Type5017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseImageGenCallCompletedEventType? Type5018 { get; set; } + public global::tryAGI.OpenAI.BetaResponseErrorVariant1? Type5018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningTextDoneEvent? Type5019 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3IncompleteDetails? Type5019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningTextDoneEventType? Type5020 { get; set; } + public global::tryAGI.OpenAI.BetaResponseVariant3IncompleteDetailsReason? Type5020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningTextDeltaEvent? Type5021 { get; set; } + public global::System.Collections.Generic.IList? Type5021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningTextDeltaEventType? Type5022 { get; set; } + public global::tryAGI.OpenAI.BetaOutputItem? Type5022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDoneEvent? Type5023 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheOptions? Type5023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDoneEventType? Type5024 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheDiagnostics? Type5024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDeltaEvent? Type5025 { get; set; } + public global::tryAGI.OpenAI.BetaModeration? Type5025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDeltaEventType? Type5026 { get; set; } + public global::tryAGI.OpenAI.BetaResponseConversation? Type5026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEvent? Type5027 { get; set; } + public global::tryAGI.OpenAI.Input5? Type5027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventType? Type5028 { get; set; } + public global::tryAGI.OpenAI.BetaModerationResultBody? Type5028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventStatus? Type5029 { get; set; } + public global::tryAGI.OpenAI.BetaModerationErrorBody? Type5029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventPart? Type5030 { get; set; } + public global::tryAGI.OpenAI.BetaModerationInputDiscriminator? Type5030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventPartType? Type5031 { get; set; } + public global::tryAGI.OpenAI.BetaModerationInputDiscriminatorType? Type5031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEvent? Type5032 { get; set; } + public global::tryAGI.OpenAI.Output9? Type5032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventType? Type5033 { get; set; } + public global::tryAGI.OpenAI.BetaModerationOutputDiscriminator? Type5033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventPart? Type5034 { get; set; } + public global::tryAGI.OpenAI.BetaModerationOutputDiscriminatorType? Type5034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventPartType? Type5035 { get; set; } + public global::tryAGI.OpenAI.BetaModerationErrorBodyType? Type5035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseTextDoneEvent? Type5036 { get; set; } + public global::tryAGI.OpenAI.BetaModerationResultBodyType? Type5036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseTextDoneEventType? Type5037 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type5037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5038 { get; set; } + public global::System.Collections.Generic.IList? Type5038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseLogProb? Type5039 { get; set; } + public global::tryAGI.OpenAI.BetaModerationInputType? Type5039 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5040 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheMissDiagnosticsBody? Type5040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseLogProbTopLogprob? Type5041 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheHitDiagnosticsBody? Type5041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseTextDeltaEvent? Type5042 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheComparisonResponseNotFoundDiagnosticsBody? Type5042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseTextDeltaEventType? Type5043 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheUnavailableDiagnosticsBody? Type5043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseRefusalDoneEvent? Type5044 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheDiagnosticsDiscriminator? Type5044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseRefusalDoneEventType? Type5045 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheDiagnosticsDiscriminatorType? Type5045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseRefusalDeltaEvent? Type5046 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheUnavailableDiagnosticsBodyType? Type5046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseRefusalDeltaEventType? Type5047 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheComparisonResponseNotFoundDiagnosticsBodyType? Type5047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputItemDoneEvent? Type5048 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheHitDiagnosticsBodyType? Type5048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputItemDoneEventType? Type5049 { get; set; } + public global::tryAGI.OpenAI.BetaPromptCacheMissDiagnosticsBodyType? Type5049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputItemAddedEvent? Type5050 { get; set; } + public global::tryAGI.OpenAI.BetaCacheMissReasonTypeEnum? Type5050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseOutputItemAddedEventType? Type5051 { get; set; } + public global::tryAGI.OpenAI.BetaOutputItemDiscriminator? Type5051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInProgressEvent? Type5052 { get; set; } + public global::tryAGI.OpenAI.BetaOutputItemDiscriminatorType? Type5052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInProgressEventType? Type5053 { get; set; } + public global::tryAGI.OpenAI.BetaResponseErrorCode? Type5053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDoneStreamingEvent? Type5054 { get; set; } + public global::tryAGI.OpenAI.BetaCyberAccessProgramEnum? Type5054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDoneStreamingEventType? Type5055 { get; set; } + public global::tryAGI.OpenAI.BetaPromptVariant1? Type5055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDeltaStreamingEvent? Type5056 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type5056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDeltaStreamingEventType? Type5057 { get; set; } + public global::tryAGI.OpenAI.BetaModelResponsePropertiesPromptCacheRetention? Type5057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaShellCallOutputDelta? Type5058 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputTextAnnotationAddedEvent? Type5058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandDoneStreamingEvent? Type5059 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputTextAnnotationAddedEventType? Type5059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandDoneStreamingEventType? Type5060 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsInProgressEvent? Type5060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandDeltaStreamingEvent? Type5061 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsInProgressEventType? Type5061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandDeltaStreamingEventType? Type5062 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsFailedEvent? Type5062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandAddedStreamingEvent? Type5063 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsFailedEventType? Type5063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseShellCallCommandAddedStreamingEventType? Type5064 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsCompletedEvent? Type5064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDoneEvent? Type5065 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPListToolsCompletedEventType? Type5065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDoneEventType? Type5066 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallInProgressEvent? Type5066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDeltaEvent? Type5067 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallInProgressEventType? Type5067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDeltaEventType? Type5068 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallFailedEvent? Type5068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallSearchingEvent? Type5069 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallFailedEventType? Type5069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallSearchingEventType? Type5070 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallCompletedEvent? Type5070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallInProgressEvent? Type5071 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallCompletedEventType? Type5071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallInProgressEventType? Type5072 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDoneEvent? Type5072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallCompletedEvent? Type5073 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDoneEventType? Type5073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFileSearchCallCompletedEventType? Type5074 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDeltaEvent? Type5074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseErrorEvent? Type5075 { get; set; } + public global::tryAGI.OpenAI.BetaResponseMCPCallArgumentsDeltaEventType? Type5075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseErrorEventType? Type5076 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallPartialImageEvent? Type5076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCreatedEvent? Type5077 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallPartialImageEventType? Type5077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCreatedEventType? Type5078 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallInProgressEvent? Type5078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseContentPartDoneEvent? Type5079 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallInProgressEventType? Type5079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseContentPartDoneEventType? Type5080 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallGeneratingEvent? Type5080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputContent? Type5081 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallGeneratingEventType? Type5081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputContentDiscriminator? Type5082 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallCompletedEvent? Type5082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputContentDiscriminatorType? Type5083 { get; set; } + public global::tryAGI.OpenAI.BetaResponseImageGenCallCompletedEventType? Type5083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseContentPartAddedEvent? Type5084 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningTextDoneEvent? Type5084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseContentPartAddedEventType? Type5085 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningTextDoneEventType? Type5085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCompletedEvent? Type5086 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningTextDeltaEvent? Type5086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCompletedEventType? Type5087 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningTextDeltaEventType? Type5087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCompactionCompactingStreamingEvent? Type5088 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDoneEvent? Type5088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCompactionCompactingStreamingEventType? Type5089 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDoneEventType? Type5089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInterpretingEvent? Type5090 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDeltaEvent? Type5090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInterpretingEventType? Type5091 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryTextDeltaEventType? Type5091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInProgressEvent? Type5092 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEvent? Type5092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInProgressEventType? Type5093 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventType? Type5093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCompletedEvent? Type5094 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventStatus? Type5094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCompletedEventType? Type5095 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventPart? Type5095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDoneEvent? Type5096 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartDoneEventPartType? Type5096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDoneEventType? Type5097 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEvent? Type5097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDeltaEvent? Type5098 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventType? Type5098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDeltaEventType? Type5099 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventPart? Type5099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDoneEvent? Type5100 { get; set; } + public global::tryAGI.OpenAI.BetaResponseReasoningSummaryPartAddedEventPartType? Type5100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDoneEventType? Type5101 { get; set; } + public global::tryAGI.OpenAI.BetaResponseTextDoneEvent? Type5101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDeltaEvent? Type5102 { get; set; } + public global::tryAGI.OpenAI.BetaResponseTextDoneEventType? Type5102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDeltaEventType? Type5103 { get; set; } + public global::System.Collections.Generic.IList? Type5103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioDoneEvent? Type5104 { get; set; } + public global::tryAGI.OpenAI.BetaResponseLogProb? Type5104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioDoneEventType? Type5105 { get; set; } + public global::System.Collections.Generic.IList? Type5105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioDeltaEvent? Type5106 { get; set; } + public global::tryAGI.OpenAI.BetaResponseLogProbTopLogprob? Type5106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseAudioDeltaEventType? Type5107 { get; set; } + public global::tryAGI.OpenAI.BetaResponseTextDeltaEvent? Type5107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseIncompleteEvent? Type5108 { get; set; } + public global::tryAGI.OpenAI.BetaResponseTextDeltaEventType? Type5108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseIncompleteEventType? Type5109 { get; set; } + public global::tryAGI.OpenAI.BetaResponseRefusalDoneEvent? Type5109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFailedEvent? Type5110 { get; set; } + public global::tryAGI.OpenAI.BetaResponseRefusalDoneEventType? Type5110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseFailedEventType? Type5111 { get; set; } + public global::tryAGI.OpenAI.BetaResponseRefusalDeltaEvent? Type5111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallCompletedEvent? Type5112 { get; set; } + public global::tryAGI.OpenAI.BetaResponseRefusalDeltaEventType? Type5112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallCompletedEventType? Type5113 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputItemDoneEvent? Type5113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallSearchingEvent? Type5114 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputItemDoneEventType? Type5114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallSearchingEventType? Type5115 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputItemAddedEvent? Type5115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallInProgressEvent? Type5116 { get; set; } + public global::tryAGI.OpenAI.BetaResponseOutputItemAddedEventType? Type5116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWebSearchCallInProgressEventType? Type5117 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInProgressEvent? Type5117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerFailedEvent? Type5118 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInProgressEventType? Type5118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerFailedEventType? Type5119 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDoneStreamingEvent? Type5119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerFailedEventSteer? Type5120 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDoneStreamingEventType? Type5120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerInput? Type5121 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDeltaStreamingEvent? Type5121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerFailedEventError? Type5122 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallOutputContentDeltaStreamingEventType? Type5122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerFailedEventErrorType? Type5123 { get; set; } + public global::tryAGI.OpenAI.BetaShellCallOutputDelta? Type5123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerErrorCode? Type5124 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandDoneStreamingEvent? Type5124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerErrorCodeEnum? Type5125 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandDoneStreamingEventType? Type5125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5126 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandDeltaStreamingEvent? Type5126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerInputItem? Type5127 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandDeltaStreamingEventType? Type5127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUserMessageItemParam? Type5128 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandAddedStreamingEvent? Type5128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerInputItemDiscriminator? Type5129 { get; set; } + public global::tryAGI.OpenAI.BetaResponseShellCallCommandAddedStreamingEventType? Type5129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerInputItemDiscriminatorType? Type5130 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDoneEvent? Type5130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUserMessageItemParamType? Type5131 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDoneEventType? Type5131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUserMessageItemParamRole? Type5132 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDeltaEvent? Type5132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, string>? Type5133 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFunctionCallArgumentsDeltaEventType? Type5133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5134 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallSearchingEvent? Type5134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentVariant1Item2? Type5135 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallSearchingEventType? Type5135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUserMessageItemParamContentVariant1ItemDiscriminator? Type5136 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallInProgressEvent? Type5136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaUserMessageItemParamContentVariant1ItemDiscriminatorType? Type5137 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallInProgressEventType? Type5137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerPendingEvent? Type5138 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallCompletedEvent? Type5138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerPendingEventType? Type5139 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFileSearchCallCompletedEventType? Type5139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerPendingEventSteer? Type5140 { get; set; } + public global::tryAGI.OpenAI.BetaResponseErrorEvent? Type5140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerPendingReason? Type5141 { get; set; } + public global::tryAGI.OpenAI.BetaResponseErrorEventType? Type5141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5142 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCreatedEvent? Type5142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInput? Type5143 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCreatedEventType? Type5143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredFunctionToolCallOutput? Type5144 { get; set; } + public global::tryAGI.OpenAI.BetaResponseContentPartDoneEvent? Type5144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredFunctionToolCallOutputType? Type5145 { get; set; } + public global::tryAGI.OpenAI.BetaResponseContentPartDoneEventType? Type5145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredCustomToolCallOutput? Type5146 { get; set; } + public global::tryAGI.OpenAI.BetaOutputContent? Type5146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredCustomToolCallOutputType? Type5147 { get; set; } + public global::tryAGI.OpenAI.BetaOutputContentDiscriminator? Type5147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredComputerToolCallOutput? Type5148 { get; set; } + public global::tryAGI.OpenAI.BetaOutputContentDiscriminatorType? Type5148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredComputerToolCallOutputType? Type5149 { get; set; } + public global::tryAGI.OpenAI.BetaResponseContentPartAddedEvent? Type5149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredShellToolCallOutput? Type5150 { get; set; } + public global::tryAGI.OpenAI.BetaResponseContentPartAddedEventType? Type5150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredShellToolCallOutputType? Type5151 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCompletedEvent? Type5151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredApplyPatchToolCallOutput? Type5152 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCompletedEventType? Type5152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredApplyPatchToolCallOutputType? Type5153 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCompactionCompactingStreamingEvent? Type5153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutput? Type5154 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCompactionCompactingStreamingEventType? Type5154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutputType? Type5155 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInterpretingEvent? Type5155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutputExecution? Type5156 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInterpretingEventType? Type5156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredMcpApprovalResponse? Type5157 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInProgressEvent? Type5157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredMcpApprovalResponseType? Type5158 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallInProgressEventType? Type5158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputDiscriminator? Type5159 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCompletedEvent? Type5159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputDiscriminatorType? Type5160 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCompletedEventType? Type5160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerPendingReasonEnum? Type5161 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDoneEvent? Type5161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEvent? Type5162 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDoneEventType? Type5162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEventType? Type5163 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDeltaEvent? Type5163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEventSteer? Type5164 { get; set; } + public global::tryAGI.OpenAI.BetaResponseCodeInterpreterCallCodeDeltaEventType? Type5164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerEvent? Type5165 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDoneEvent? Type5165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseSteerEventType? Type5166 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDoneEventType? Type5166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputAudio? Type5167 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDeltaEvent? Type5167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaOutputAudioType? Type5168 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioTranscriptDeltaEventType? Type5168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputAudio? Type5169 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioDoneEvent? Type5169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputAudioType? Type5170 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioDoneEventType? Type5170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputAudioInputAudio? Type5171 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioDeltaEvent? Type5171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputAudioInputAudioFormat? Type5172 { get; set; } + public global::tryAGI.OpenAI.BetaResponseAudioDeltaEventType? Type5172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaInputParam? Type5173 { get; set; } + public global::tryAGI.OpenAI.BetaResponseIncompleteEvent? Type5173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContent? Type5174 { get; set; } + public global::tryAGI.OpenAI.BetaResponseIncompleteEventType? Type5174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaIncludeEnum? Type5175 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFailedEvent? Type5175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEvent? Type5176 { get; set; } + public global::tryAGI.OpenAI.BetaResponseFailedEventType? Type5176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5177 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallCompletedEvent? Type5177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioWsDelta2? Type5178 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallCompletedEventType? Type5178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5179 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallSearchingEvent? Type5179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioWsDone2? Type5180 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallSearchingEventType? Type5180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5181 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallInProgressEvent? Type5181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioTranscriptWsDelta2? Type5182 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWebSearchCallInProgressEventType? Type5182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5183 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerFailedEvent? Type5183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioTranscriptWsDone2? Type5184 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerFailedEventType? Type5184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2? Type5185 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerFailedEventSteer? Type5185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2? Type5186 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerInput? Type5186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2? Type5187 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerFailedEventError? Type5187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2? Type5188 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerFailedEventErrorType? Type5188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2? Type5189 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerErrorCode? Type5189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5190 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerErrorCodeEnum? Type5190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCompactionWsCompacting2? Type5191 { get; set; } + public global::System.Collections.Generic.IList? Type5191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5192 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerInputItem? Type5192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsCompleted2? Type5193 { get; set; } + public global::tryAGI.OpenAI.BetaUserMessageItemParam? Type5193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5194 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerInputItemDiscriminator? Type5194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseContentPartWsAdded2? Type5195 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerInputItemDiscriminatorType? Type5195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5196 { get; set; } + public global::tryAGI.OpenAI.BetaUserMessageItemParamType? Type5196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseContentPartWsDone2? Type5197 { get; set; } + public global::tryAGI.OpenAI.BetaUserMessageItemParamRole? Type5197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5198 { get; set; } + public global::tryAGI.OpenAI.OneOf, string>? Type5198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsCreated2? Type5199 { get; set; } + public global::System.Collections.Generic.IList? Type5199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5200 { get; set; } + public global::tryAGI.OpenAI.ContentVariant1Item2? Type5200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallWsCompleted2? Type5201 { get; set; } + public global::tryAGI.OpenAI.BetaUserMessageItemParamContentVariant1ItemDiscriminator? Type5201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5202 { get; set; } + public global::tryAGI.OpenAI.BetaUserMessageItemParamContentVariant1ItemDiscriminatorType? Type5202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallInWsProgress2? Type5203 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerPendingEvent? Type5203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5204 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerPendingEventType? Type5204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallWsSearching2? Type5205 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerPendingEventSteer? Type5205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2? Type5206 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerPendingReason? Type5206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5207 { get; set; } + public global::System.Collections.Generic.IList? Type5207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDone2? Type5208 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInput? Type5208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5209 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredFunctionToolCallOutput? Type5209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsAdded2? Type5210 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredFunctionToolCallOutputType? Type5210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5211 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredCustomToolCallOutput? Type5211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsDelta2? Type5212 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredCustomToolCallOutputType? Type5212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5213 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredComputerToolCallOutput? Type5213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsDone2? Type5214 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredComputerToolCallOutputType? Type5214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2? Type5215 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredShellToolCallOutput? Type5215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2? Type5216 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredShellToolCallOutputType? Type5216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5217 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredApplyPatchToolCallOutput? Type5217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseInWsProgress2? Type5218 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredApplyPatchToolCallOutputType? Type5218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5219 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutput? Type5219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsFailed2? Type5220 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutputType? Type5220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5221 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredToolSearchOutputExecution? Type5221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsIncomplete2? Type5222 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredMcpApprovalResponse? Type5222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5223 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputRequiredMcpApprovalResponseType? Type5223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputItemWsAdded2? Type5224 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputDiscriminator? Type5224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5225 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerRequiredInputDiscriminatorType? Type5225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputItemWsDone2? Type5226 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerPendingReasonEnum? Type5226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5227 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEvent? Type5227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryPartWsAdded2? Type5228 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEventType? Type5228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5229 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerAcceptedEventSteer? Type5229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryPartWsDone2? Type5230 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerEvent? Type5230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5231 { get; set; } + public global::tryAGI.OpenAI.BetaResponseSteerEventType? Type5231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryTextWsDelta2? Type5232 { get; set; } + public global::tryAGI.OpenAI.BetaOutputAudio? Type5232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5233 { get; set; } + public global::tryAGI.OpenAI.BetaOutputAudioType? Type5233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryTextWsDone2? Type5234 { get; set; } + public global::tryAGI.OpenAI.BetaInputAudio? Type5234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5235 { get; set; } + public global::tryAGI.OpenAI.BetaInputAudioType? Type5235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningTextWsDelta2? Type5236 { get; set; } + public global::tryAGI.OpenAI.BetaInputAudioInputAudio? Type5236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5237 { get; set; } + public global::tryAGI.OpenAI.BetaInputAudioInputAudioFormat? Type5237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningTextWsDone2? Type5238 { get; set; } + public global::tryAGI.OpenAI.BetaInputParam? Type5238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5239 { get; set; } + public global::tryAGI.OpenAI.BetaContent? Type5239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseRefusalWsDelta2? Type5240 { get; set; } + public global::tryAGI.OpenAI.BetaIncludeEnum? Type5240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5241 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEvent? Type5241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseRefusalWsDone2? Type5242 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5243 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioWsDelta2? Type5243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseTextWsDelta2? Type5244 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5245 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioWsDone2? Type5245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseTextWsDone2? Type5246 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5247 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioTranscriptWsDelta2? Type5247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallWsCompleted2? Type5248 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5249 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseAudioTranscriptWsDone2? Type5249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallInWsProgress2? Type5250 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDelta2? Type5250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5251 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallCodeWsDone2? Type5251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallWsSearching2? Type5252 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallWsCompleted2? Type5252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5253 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallInWsProgress2? Type5253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallWsCompleted2? Type5254 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCodeInterpreterCallWsInterpreting2? Type5254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5255 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallWsGenerating2? Type5256 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCompactionWsCompacting2? Type5256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5257 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallInWsProgress2? Type5258 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsCompleted2? Type5258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5259 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallPartialWsImage2? Type5260 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseContentPartWsAdded2? Type5260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5261 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallArgumentsWsDelta2? Type5262 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseContentPartWsDone2? Type5262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5263 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallArgumentsWsDone2? Type5264 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsCreated2? Type5264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5265 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallWsCompleted2? Type5266 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallWsCompleted2? Type5266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5267 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallWsFailed2? Type5268 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallInWsProgress2? Type5268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5269 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallInWsProgress2? Type5270 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFileSearchCallWsSearching2? Type5270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5271 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDelta2? Type5271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsWsCompleted2? Type5272 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5273 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseFunctionCallArgumentsWsDone2? Type5273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsWsFailed2? Type5274 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5275 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsAdded2? Type5275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsInWsProgress2? Type5276 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5277 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsDelta2? Type5277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputTextAnnotationWsAdded2? Type5278 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5279 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallCommandWsDone2? Type5279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsQueued2? Type5280 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallOutputContentWsDelta2? Type5280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5281 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseShellCallOutputContentWsDone2? Type5281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCustomToolCallInputWsDelta2? Type5282 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type5283 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseInWsProgress2? Type5283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCustomToolCallInputWsDone2? Type5284 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWsError? Type5285 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsFailed2? Type5285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectCreatedEvent? Type5286 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectFailedEvent? Type5287 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsIncomplete2? Type5287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventDiscriminator? Type5288 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesServerEventDiscriminatorType? Type5289 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputItemWsAdded2? Type5289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectFailedEventType? Type5290 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectFailedEventError? Type5291 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputItemWsDone2? Type5291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectFailedEventErrorCode? Type5292 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectCreatedEventType? Type5293 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryPartWsAdded2? Type5293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseWsErrorType? Type5294 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaErrorPayload? Type5295 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryPartWsDone2? Type5295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesWebSocketStreamEvent? Type5296 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesWebSocketStreamEventVariant2? Type5297 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryTextWsDelta2? Type5297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEvent? Type5298 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreate? Type5299 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningSummaryTextWsDone2? Type5299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectEvent? Type5300 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEventDiscriminator? Type5301 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningTextWsDelta2? Type5301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEventDiscriminatorType? Type5302 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseInjectEventType? Type5303 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseReasoningTextWsDone2? Type5303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreateVariant1? Type5304 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreateVariant1Type? Type5305 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseRefusalWsDelta2? Type5305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateResponse? Type5306 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateModelResponseProperties? Type5307 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseRefusalWsDone2? Type5307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateResponseVariant3? Type5308 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaAccessProgramsParam? Type5309 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseTextWsDelta2? Type5309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponsePromptCacheOptionsParam? Type5310 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateResponseVariant3Truncation? Type5311 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseTextWsDone2? Type5311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5312 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationParam? Type5313 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallWsCompleted2? Type5313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseStreamOptionsVariant1? Type5314 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5315 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallInWsProgress2? Type5315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaContextManagementParam? Type5316 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaMultiAgentParam? Type5317 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWebSearchCallWsSearching2? Type5317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationPolicyParam? Type5318 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationConfigParam? Type5319 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallWsCompleted2? Type5319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaModerationMode? Type5320 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateModelResponsePropertiesVariant2? Type5321 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallWsGenerating2? Type5321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseStreamEvent? Type5322 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseStreamEventDiscriminator? Type5323 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallInWsProgress2? Type5323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaResponseStreamEventDiscriminatorType? Type5324 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type5325 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseImageGenCallPartialWsImage2? Type5325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type5326 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type5327 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallArgumentsWsDelta2? Type5327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type5328 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type5329 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallArgumentsWsDone2? Type5329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type5330 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type5331 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallWsCompleted2? Type5331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type5332 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type5333 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallWsFailed2? Type5333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListConversationItemsOrder? Type5334 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type5335 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpCallInWsProgress2? Type5335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type5336 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type5337 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsWsCompleted2? Type5337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type5338 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type5339 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsWsFailed2? Type5339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type5340 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type5341 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseMcpListToolsInWsProgress2? Type5341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type5342 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type5343 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseOutputTextAnnotationWsAdded2? Type5343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type5344 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5345 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseWsQueued2? Type5345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type5346 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5347 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCustomToolCallInputWsDelta2? Type5347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type5348 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type5348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type5349 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventBetaResponseCustomToolCallInputWsDone2? Type5349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5350 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWsError? Type5350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type5351 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectCreatedEvent? Type5351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupsOrder? Type5352 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectFailedEvent? Type5352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type5353 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventDiscriminator? Type5353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupUsersOrder? Type5354 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesServerEventDiscriminatorType? Type5354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectApiKeysOwnerProjectAccess? Type5355 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectFailedEventType? Type5355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type5356 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectFailedEventError? Type5356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type5357 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectFailedEventErrorCode? Type5357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? Type5358 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectCreatedEventType? Type5358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? Type5359 { get; set; } + public global::tryAGI.OpenAI.BetaResponseWsErrorType? Type5359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRolesOrder? Type5360 { get; set; } + public global::tryAGI.OpenAI.BetaErrorPayload? Type5360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? Type5361 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesWebSocketStreamEvent? Type5361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type5362 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesWebSocketStreamEventVariant2? Type5362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5363 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEvent? Type5363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type5364 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreate? Type5364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type5365 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectEvent? Type5365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5366 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEventDiscriminator? Type5366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type5367 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEventDiscriminatorType? Type5367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type5368 { get; set; } + public global::tryAGI.OpenAI.BetaResponseInjectEventType? Type5368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5369 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreateVariant1? Type5369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type5370 { get; set; } + public global::tryAGI.OpenAI.BetaResponsesClientEventResponseCreateVariant1Type? Type5370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type5371 { get; set; } + public global::tryAGI.OpenAI.BetaCreateResponse? Type5371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5372 { get; set; } + public global::tryAGI.OpenAI.BetaCreateModelResponseProperties? Type5372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type5373 { get; set; } + public global::tryAGI.OpenAI.BetaCreateResponseVariant3? Type5373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type5374 { get; set; } + public global::tryAGI.OpenAI.BetaAccessProgramsParam? Type5374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5375 { get; set; } + public global::tryAGI.OpenAI.BetaResponsePromptCacheOptionsParam? Type5375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type5376 { get; set; } + public global::tryAGI.OpenAI.BetaCreateResponseVariant3Truncation? Type5376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? Type5377 { get; set; } + public global::System.Collections.Generic.IList? Type5377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5378 { get; set; } + public global::tryAGI.OpenAI.BetaModerationParam? Type5378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? Type5379 { get; set; } + public global::tryAGI.OpenAI.BetaResponseStreamOptionsVariant1? Type5379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type5380 { get; set; } + public global::System.Collections.Generic.IList? Type5380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5381 { get; set; } + public global::tryAGI.OpenAI.BetaContextManagementParam? Type5381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type5382 { get; set; } + public global::tryAGI.OpenAI.BetaMultiAgentParam? Type5382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5383 { get; set; } + public global::tryAGI.OpenAI.BetaModerationPolicyParam? Type5383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type5384 { get; set; } + public global::tryAGI.OpenAI.BetaModerationConfigParam? Type5384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5385 { get; set; } + public global::tryAGI.OpenAI.BetaModerationMode? Type5385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type5386 { get; set; } + public global::tryAGI.OpenAI.BetaCreateModelResponsePropertiesVariant2? Type5386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type5387 { get; set; } + public global::tryAGI.OpenAI.BetaResponseStreamEvent? Type5387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5388 { get; set; } + public global::tryAGI.OpenAI.BetaResponseStreamEventDiscriminator? Type5388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type5389 { get; set; } + public global::tryAGI.OpenAI.BetaResponseStreamEventDiscriminatorType? Type5389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type5390 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type5390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5391 { get; set; } + public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type5391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type5392 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type5392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? Type5393 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type5393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5394 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type5394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? Type5395 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type5395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5396 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type5396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? Type5397 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type5397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type5398 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type5398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type5399 { get; set; } + public global::tryAGI.OpenAI.ListConversationItemsOrder? Type5399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectRolesOrder? Type5400 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type5400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type5401 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type5401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type5402 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type5402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type5403 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type5403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type5404 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type5404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5405 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type5405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type5406 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type5406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type5407 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type5407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5408 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type5408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type5409 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type5409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5410 { get; set; } + public global::System.Collections.Generic.IList? Type5410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type5411 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type5411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type5412 { get; set; } + public global::System.Collections.Generic.IList? Type5412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type5413 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type5413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type5414 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type5414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type5415 { get; set; } + public global::System.Collections.Generic.IList? Type5415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type5416 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type5416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5417 { get; set; } + public global::tryAGI.OpenAI.ListGroupsOrder? Type5417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCreateResponseOpenaiBetaItem? Type5418 { get; set; } + public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type5418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5419 { get; set; } + public global::tryAGI.OpenAI.ListGroupUsersOrder? Type5419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaGetResponseOpenaiBetaItem? Type5420 { get; set; } + public global::tryAGI.OpenAI.ListProjectApiKeysOwnerProjectAccess? Type5420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5421 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type5421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDeleteResponseOpenaiBetaItem? Type5422 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type5422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5423 { get; set; } + public global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? Type5423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCancelResponseOpenaiBetaItem? Type5424 { get; set; } + public global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? Type5424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5425 { get; set; } + public global::tryAGI.OpenAI.ListRolesOrder? Type5425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaCompactconversationOpenaiBetaItem? Type5426 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? Type5426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaListInputItemsOrder? Type5427 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type5427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5428 { get; set; } + public global::System.Collections.Generic.IList? Type5428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaListInputItemsOpenaiBetaItem? Type5429 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type5429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5430 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type5430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaGetinputtokencountsOpenaiBetaItem? Type5431 { get; set; } + public global::System.Collections.Generic.IList? Type5431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type5432 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type5432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteContainerResponse? Type5433 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type5433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteContainerResponseObject? Type5434 { get; set; } + public global::System.Collections.Generic.IList? Type5434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteContainerFileResponse? Type5435 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type5435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteContainerFileResponseObject? Type5436 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type5436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type5437 { get; set; } + public global::System.Collections.Generic.IList? Type5437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type5438 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type5438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type5439 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type5439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type5440 { get; set; } + public global::System.Collections.Generic.IList? Type5440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteResponseResponse? Type5441 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type5441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteResponseResponseObject? Type5442 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? Type5442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAgentSessionSubagentsResponse? Type5443 { get; set; } + public global::System.Collections.Generic.IList? Type5443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAgentSessionSubagentsResponseObject? Type5444 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? Type5444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5445 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type5445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDeleteResponseResponse? Type5446 { get; set; } + public global::System.Collections.Generic.IList? Type5446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BetaDeleteResponseResponseObject? Type5447 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type5447 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5448 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesSize? Type5449 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5450 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type5451 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type5452 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5453 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type5454 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type5455 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5456 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type5457 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? Type5458 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5459 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? Type5460 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5461 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? Type5462 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type5463 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type5464 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectRolesOrder? Type5465 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type5466 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListInputItemsOrder? Type5467 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListMessagesOrder? Type5468 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunsOrder? Type5469 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5470 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type5471 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsOrder? Type5472 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5473 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type5474 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5475 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type5476 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type5477 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type5478 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type5479 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type5480 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type5481 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5482 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaCreateResponseOpenaiBetaItem? Type5483 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5484 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaGetResponseOpenaiBetaItem? Type5485 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5486 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaDeleteResponseOpenaiBetaItem? Type5487 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5488 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaCancelResponseOpenaiBetaItem? Type5489 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5490 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaCompactconversationOpenaiBetaItem? Type5491 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaListInputItemsOrder? Type5492 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5493 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaListInputItemsOpenaiBetaItem? Type5494 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5495 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaGetinputtokencountsOpenaiBetaItem? Type5496 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type5497 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteContainerResponse? Type5498 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteContainerResponseObject? Type5499 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteContainerFileResponse? Type5500 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteContainerFileResponseObject? Type5501 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalResponse? Type5502 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type5503 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type5504 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type5505 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteResponseResponse? Type5506 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteResponseResponseObject? Type5507 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListAgentSessionSubagentsResponse? Type5508 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListAgentSessionSubagentsResponseObject? Type5509 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5510 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaDeleteResponseResponse? Type5511 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.BetaDeleteResponseResponseObject? Type5512 { get; set; } /// /// @@ -22770,594 +23030,602 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType237 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType238 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType246 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? ListType248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? ListType247 { get; set; } + public global::System.Collections.Generic.List? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType248 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType249 { get; set; } + public global::System.Collections.Generic.List? ListType251 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType250 { get; set; } + public global::System.Collections.Generic.List? ListType252 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType251 { get; set; } + public global::System.Collections.Generic.List? ListType253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType252 { get; set; } + public global::System.Collections.Generic.List? ListType254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType253 { get; set; } + public global::System.Collections.Generic.List? ListType255 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType254 { get; set; } + public global::System.Collections.Generic.List? ListType256 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType255 { get; set; } + public global::System.Collections.Generic.List? ListType257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType256 { get; set; } + public global::System.Collections.Generic.List? ListType258 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType257 { get; set; } + public global::System.Collections.Generic.List? ListType259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType258 { get; set; } + public global::System.Collections.Generic.List? ListType260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType259 { get; set; } + public global::System.Collections.Generic.List? ListType261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType260 { get; set; } + public global::System.Collections.Generic.List? ListType262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType261 { get; set; } + public global::System.Collections.Generic.List? ListType263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType262 { get; set; } + public global::System.Collections.Generic.List? ListType264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType263 { get; set; } + public global::System.Collections.Generic.List? ListType265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType264 { get; set; } + public global::System.Collections.Generic.List? ListType266 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType265 { get; set; } + public global::System.Collections.Generic.List? ListType267 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType266 { get; set; } + public global::System.Collections.Generic.List? ListType268 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType267 { get; set; } + public global::System.Collections.Generic.List? ListType269 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType268 { get; set; } + public global::System.Collections.Generic.List? ListType270 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType269 { get; set; } + public global::System.Collections.Generic.List? ListType271 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType270 { get; set; } + public global::System.Collections.Generic.List? ListType272 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType271 { get; set; } + public global::System.Collections.Generic.List? ListType273 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType272 { get; set; } + public global::System.Collections.Generic.List? ListType274 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType273 { get; set; } + public global::System.Collections.Generic.List? ListType275 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType274 { get; set; } + public global::System.Collections.Generic.List? ListType276 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType275 { get; set; } + public global::System.Collections.Generic.List? ListType277 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType276 { get; set; } + public global::System.Collections.Generic.List? ListType278 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType277 { get; set; } + public global::System.Collections.Generic.List? ListType279 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType278 { get; set; } + public global::System.Collections.Generic.List? ListType280 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType279 { get; set; } + public global::System.Collections.Generic.List? ListType281 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType280 { get; set; } + public global::System.Collections.Generic.List? ListType282 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType281 { get; set; } + public global::System.Collections.Generic.List? ListType283 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType282 { get; set; } + public global::System.Collections.Generic.List? ListType284 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType283 { get; set; } + public global::System.Collections.Generic.List? ListType285 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType284 { get; set; } + public global::System.Collections.Generic.List? ListType286 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType285 { get; set; } + public global::System.Collections.Generic.List? ListType287 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType286 { get; set; } + public global::System.Collections.Generic.List? ListType288 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType287 { get; set; } + public global::System.Collections.Generic.List? ListType289 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType288 { get; set; } + public global::System.Collections.Generic.List? ListType290 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType289 { get; set; } + public global::System.Collections.Generic.List? ListType291 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType290 { get; set; } + public global::System.Collections.Generic.List? ListType292 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType291 { get; set; } + public global::System.Collections.Generic.List? ListType293 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType292 { get; set; } + public global::System.Collections.Generic.List? ListType294 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType293 { get; set; } + public global::System.Collections.Generic.List? ListType295 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType294 { get; set; } + public global::System.Collections.Generic.List? ListType296 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType295 { get; set; } + public global::System.Collections.Generic.List? ListType297 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType296 { get; set; } + public global::System.Collections.Generic.List? ListType298 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType297 { get; set; } + public global::System.Collections.Generic.List? ListType299 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType298 { get; set; } + public global::System.Collections.Generic.List? ListType300 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType299 { get; set; } + public global::System.Collections.Generic.List? ListType301 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType300 { get; set; } + public global::System.Collections.Generic.List? ListType302 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType301 { get; set; } + public global::System.Collections.Generic.List? ListType303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, string>? ListType302 { get; set; } + public global::tryAGI.OpenAI.OneOf, string>? ListType304 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType303 { get; set; } + public global::System.Collections.Generic.List? ListType305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType304 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType306 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType305 { get; set; } + public global::System.Collections.Generic.List? ListType307 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType306 { get; set; } + public global::System.Collections.Generic.List? ListType308 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType307 { get; set; } + public global::System.Collections.Generic.List? ListType309 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType308 { get; set; } + public global::System.Collections.Generic.List? ListType310 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType309 { get; set; } + public global::System.Collections.Generic.List? ListType311 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType310 { get; set; } + public global::System.Collections.Generic.List? ListType312 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType311 { get; set; } + public global::System.Collections.Generic.List? ListType313 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType312 { get; set; } + public global::System.Collections.Generic.List? ListType314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.BetaMCPToolFilter>? ListType313 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.BetaMCPToolFilter>? ListType315 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType314 { get; set; } + public global::System.Collections.Generic.List? ListType316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType315 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType317 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType316 { get; set; } + public global::System.Collections.Generic.List? ListType318 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType317 { get; set; } + public global::System.Collections.Generic.List? ListType319 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType318 { get; set; } + public global::System.Collections.Generic.List? ListType320 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType319 { get; set; } + public global::System.Collections.Generic.List? ListType321 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType320 { get; set; } + public global::System.Collections.Generic.List? ListType322 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType321 { get; set; } + public global::System.Collections.Generic.List? ListType323 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType322 { get; set; } + public global::System.Collections.Generic.List? ListType324 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType323 { get; set; } + public global::System.Collections.Generic.List? ListType325 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType324 { get; set; } + public global::System.Collections.Generic.List? ListType326 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType325 { get; set; } + public global::System.Collections.Generic.List? ListType327 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType326 { get; set; } + public global::System.Collections.Generic.List? ListType328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType327 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType329 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType328 { get; set; } + public global::System.Collections.Generic.List? ListType330 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType329 { get; set; } + public global::System.Collections.Generic.List? ListType331 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType330 { get; set; } + public global::System.Collections.Generic.List? ListType332 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType331 { get; set; } + public global::System.Collections.Generic.List? ListType333 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType332 { get; set; } + public global::System.Collections.Generic.List? ListType334 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType333 { get; set; } + public global::System.Collections.Generic.List? ListType335 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType334 { get; set; } + public global::System.Collections.Generic.List? ListType336 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType335 { get; set; } + public global::System.Collections.Generic.List? ListType337 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType336 { get; set; } + public global::System.Collections.Generic.List? ListType338 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType337 { get; set; } + public global::System.Collections.Generic.List? ListType339 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType338 { get; set; } + public global::System.Collections.Generic.List? ListType340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType339 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType341 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType340 { get; set; } + public global::System.Collections.Generic.List? ListType342 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType341 { get; set; } + public global::System.Collections.Generic.List? ListType343 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType342 { get; set; } + public global::System.Collections.Generic.List? ListType344 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType343 { get; set; } + public global::System.Collections.Generic.List? ListType345 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType344 { get; set; } + public global::System.Collections.Generic.List? ListType346 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType345 { get; set; } + public global::System.Collections.Generic.List? ListType347 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType346 { get; set; } + public global::System.Collections.Generic.List? ListType348 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? ListType347 { get; set; } + public global::System.Collections.Generic.Dictionary>? ListType349 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType348 { get; set; } + public global::System.Collections.Generic.List? ListType350 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType349 { get; set; } + public global::System.Collections.Generic.List? ListType351 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType350 { get; set; } + public global::System.Collections.Generic.List? ListType352 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType351 { get; set; } + public global::System.Collections.Generic.List? ListType353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, string>? ListType352 { get; set; } + public global::tryAGI.OpenAI.OneOf, string>? ListType354 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType353 { get; set; } + public global::System.Collections.Generic.List? ListType355 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType354 { get; set; } + public global::System.Collections.Generic.List? ListType356 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType355 { get; set; } + public global::System.Collections.Generic.List? ListType357 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType356 { get; set; } + public global::System.Collections.Generic.List? ListType358 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType357 { get; set; } + public global::System.Collections.Generic.List? ListType359 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType358 { get; set; } + public global::System.Collections.Generic.List? ListType360 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType359 { get; set; } + public global::System.Collections.Generic.List? ListType361 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType360 { get; set; } + public global::System.Collections.Generic.List? ListType362 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType361 { get; set; } + public global::System.Collections.Generic.List? ListType363 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType362 { get; set; } + public global::System.Collections.Generic.List? ListType364 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType363 { get; set; } + public global::System.Collections.Generic.List? ListType365 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType364 { get; set; } + public global::System.Collections.Generic.List? ListType366 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType365 { get; set; } + public global::System.Collections.Generic.List? ListType367 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType366 { get; set; } + public global::System.Collections.Generic.List? ListType368 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType367 { get; set; } + public global::System.Collections.Generic.List? ListType369 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType368 { get; set; } + public global::System.Collections.Generic.List? ListType370 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType369 { get; set; } + public global::System.Collections.Generic.List? ListType371 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType370 { get; set; } + public global::System.Collections.Generic.List? ListType372 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType371 { get; set; } + public global::System.Collections.Generic.List? ListType373 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType372 { get; set; } + public global::System.Collections.Generic.List? ListType374 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType373 { get; set; } + public global::System.Collections.Generic.List? ListType375 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType374 { get; set; } + public global::System.Collections.Generic.List? ListType376 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType375 { get; set; } + public global::System.Collections.Generic.List? ListType377 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType376 { get; set; } + public global::System.Collections.Generic.List? ListType378 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType377 { get; set; } + public global::System.Collections.Generic.List? ListType379 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType378 { get; set; } + public global::System.Collections.Generic.List? ListType380 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType379 { get; set; } + public global::System.Collections.Generic.List? ListType381 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType380 { get; set; } + public global::System.Collections.Generic.List? ListType382 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType381 { get; set; } + public global::System.Collections.Generic.List? ListType383 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType382 { get; set; } + public global::System.Collections.Generic.List? ListType384 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType383 { get; set; } + public global::System.Collections.Generic.List? ListType385 { get; set; } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.Json.g.cs similarity index 82% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.Json.g.cs index 870c7ee65..4b9daf00f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoice2 + public sealed partial class AgentEnvironmentEvent { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.AgentEnvironmentEvent? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2), - jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2; + typeof(global::tryAGI.OpenAI.AgentEnvironmentEvent), + jsonSerializerContext) as global::tryAGI.OpenAI.AgentEnvironmentEvent; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.AgentEnvironmentEvent? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.AgentEnvironmentEvent? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2; + typeof(global::tryAGI.OpenAI.AgentEnvironmentEvent), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AgentEnvironmentEvent; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.g.cs new file mode 100644 index 000000000..738998a3e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentEvent.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Identifies the environment whose lifecycle changed. + /// + public sealed partial class AgentEnvironmentEvent + { + /// + /// The ID of the environment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The ID of the environment. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AgentEnvironmentEvent( + string id) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AgentEnvironmentEvent() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.Json.g.cs new file mode 100644 index 000000000..90c683ed8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class AgentEnvironmentListResource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.AgentEnvironmentListResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.AgentEnvironmentListResource), + jsonSerializerContext) as global::tryAGI.OpenAI.AgentEnvironmentListResource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.AgentEnvironmentListResource? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.AgentEnvironmentListResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.AgentEnvironmentListResource), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AgentEnvironmentListResource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.g.cs new file mode 100644 index 000000000..26f42ec5c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResource.g.cs @@ -0,0 +1,96 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// A page of Agents API resources, with IDs for retrieving additional pages. + /// + public sealed partial class AgentEnvironmentListResource + { + /// + /// The object type, which is always `list`.
+ /// Default Value: list + ///
+ /// global::tryAGI.OpenAI.AgentEnvironmentListResourceObject.List + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AgentEnvironmentListResourceObjectJsonConverter))] + public global::tryAGI.OpenAI.AgentEnvironmentListResourceObject Object { get; set; } = global::tryAGI.OpenAI.AgentEnvironmentListResourceObject.List; + + /// + /// The resources returned in this page, in the requested sort order. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// The ID of the first resource in `data`, or `null` if the page is empty. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_id")] + public string? FirstId { get; set; } + + /// + /// The ID of the last resource in `data`, or `null` if the page is empty. Pass this as `after` with the same order and filters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_id")] + public string? LastId { get; set; } + + /// + /// Whether there are more resources to retrieve after this page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasMore { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The resources returned in this page, in the requested sort order. + /// + /// + /// Whether there are more resources to retrieve after this page. + /// + /// + /// The ID of the first resource in `data`, or `null` if the page is empty. + /// + /// + /// The ID of the last resource in `data`, or `null` if the page is empty. Pass this as `after` with the same order and filters. + /// + /// + /// The object type, which is always `list`.
+ /// Default Value: list + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AgentEnvironmentListResource( + global::System.Collections.Generic.IList data, + bool hasMore, + string? firstId, + string? lastId, + global::tryAGI.OpenAI.AgentEnvironmentListResourceObject @object = global::tryAGI.OpenAI.AgentEnvironmentListResourceObject.List) + { + this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.FirstId = firstId; + this.LastId = lastId; + this.HasMore = hasMore; + } + + /// + /// Initializes a new instance of the class. + /// + public AgentEnvironmentListResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResourceObject.g.cs new file mode 100644 index 000000000..256b58482 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AgentEnvironmentListResourceObject.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `list`.
+ /// Default Value: list + ///
+ public enum AgentEnvironmentListResourceObject + { + /// + /// + /// + List, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AgentEnvironmentListResourceObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AgentEnvironmentListResourceObject value) + { + return value switch + { + AgentEnvironmentListResourceObject.List => "list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AgentEnvironmentListResourceObject? ToEnum(string value) + { + return value switch + { + "list" => AgentEnvironmentListResourceObject.List, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaNamespaceToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaNamespaceToolParam.g.cs index 4c789c21f..cd6509779 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaNamespaceToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaNamespaceToolParam.g.cs @@ -36,7 +36,7 @@ public sealed partial class BetaNamespaceToolParam ///
[global::System.Text.Json.Serialization.JsonPropertyName("tools")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Tools { get; set; } + public required global::System.Collections.Generic.IList Tools { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -66,7 +66,7 @@ public sealed partial class BetaNamespaceToolParam public BetaNamespaceToolParam( string name, string description, - global::System.Collections.Generic.IList tools, + global::System.Collections.Generic.IList tools, global::tryAGI.OpenAI.BetaNamespaceToolParamType type = global::tryAGI.OpenAI.BetaNamespaceToolParamType.Namespace) { this.Type = type; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaToolSearchOutputNamespaceToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaToolSearchOutputNamespaceToolParam.g.cs index d25411aa1..33d93f3be 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaToolSearchOutputNamespaceToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaToolSearchOutputNamespaceToolParam.g.cs @@ -36,7 +36,7 @@ public sealed partial class BetaToolSearchOutputNamespaceToolParam /// [global::System.Text.Json.Serialization.JsonPropertyName("tools")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Tools { get; set; } + public required global::System.Collections.Generic.IList Tools { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -66,7 +66,7 @@ public sealed partial class BetaToolSearchOutputNamespaceToolParam public BetaToolSearchOutputNamespaceToolParam( string name, string description, - global::System.Collections.Generic.IList tools, + global::System.Collections.Generic.IList tools, global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType type = global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamType.Namespace) { this.Type = type; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.Json.g.cs new file mode 100644 index 000000000..bd74e111e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateAgentEnvironmentParams + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateAgentEnvironmentParams? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateAgentEnvironmentParams), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateAgentEnvironmentParams; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateAgentEnvironmentParams? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateAgentEnvironmentParams? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateAgentEnvironmentParams), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateAgentEnvironmentParams; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.g.cs new file mode 100644 index 000000000..879fdf6e6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAgentEnvironmentParams.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Parameters for creating an execution environment before its sessions. + /// + public sealed partial class CreateAgentEnvironmentParams + { + /// + /// The required hosting type and its configuration. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted Environment { get; set; } + + /// + /// The IDs of up to 10 vaults made available to an OpenAI-hosted environment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vault_ids")] + public global::System.Collections.Generic.IList? VaultIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The required hosting type and its configuration. + /// + /// + /// The IDs of up to 10 vaults made available to an OpenAI-hosted environment. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAgentEnvironmentParams( + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted environment, + global::System.Collections.Generic.IList? vaultIds) + { + this.Environment = environment ?? throw new global::System.ArgumentNullException(nameof(environment)); + this.VaultIds = vaultIds; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAgentEnvironmentParams() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.Json.g.cs new file mode 100644 index 000000000..026e994b5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct CreateEnvironmentParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParam), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateEnvironmentParam?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateEnvironmentParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateEnvironmentParam?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.g.cs new file mode 100644 index 000000000..72970a4b9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParam.g.cs @@ -0,0 +1,220 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Configuration for a new prewarmed OpenAI-hosted environment. + /// + public readonly partial struct CreateEnvironmentParam : global::System.IEquatable + { + /// + /// + /// + public global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? Type { get; } + + /// + /// Provision an OpenAI-hosted environment from inline configuration or a template. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? OpenaiHosted { get; init; } +#else + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? OpenaiHosted { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OpenaiHosted))] +#endif + public bool IsOpenaiHosted => OpenaiHosted != null; + + /// + /// + /// + public bool TryPickOpenaiHosted( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? value) + { + value = OpenaiHosted; + return IsOpenaiHosted; + } + + /// + /// + /// + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted PickOpenaiHosted() => OpenaiHosted is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'OpenaiHosted' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator CreateEnvironmentParam(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted value) => new CreateEnvironmentParam((global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted?(CreateEnvironmentParam @this) => @this.OpenaiHosted; + + /// + /// + /// + public CreateEnvironmentParam(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? value) + { + OpenaiHosted = value; + } + + /// + /// + /// + public static CreateEnvironmentParam FromOpenaiHosted(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? value) => new CreateEnvironmentParam(value); + + /// + /// + /// + public CreateEnvironmentParam( + global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? type, + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? openaiHosted + ) + { + Type = type; + + OpenaiHosted = openaiHosted; + } + + /// + /// + /// + public object? Object => + OpenaiHosted as object + ; + + /// + /// + /// + public override string? ToString() => + OpenaiHosted?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsOpenaiHosted; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? openaiHosted = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OpenaiHosted is { } __value0 && openaiHosted != null) + { + return openaiHosted(__value0); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? openaiHosted = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OpenaiHosted is { } __value0) + { + openaiHosted?.Invoke(__value0); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? openaiHosted = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OpenaiHosted is { } __value0) + { + openaiHosted?.Invoke(__value0); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + OpenaiHosted, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(CreateEnvironmentParam other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenaiHosted, other.OpenaiHosted) + ; + } + + /// + /// + /// + public static bool operator ==(CreateEnvironmentParam obj1, CreateEnvironmentParam obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(CreateEnvironmentParam obj1, CreateEnvironmentParam obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is CreateEnvironmentParam o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.Json.g.cs new file mode 100644 index 000000000..59f5c3448 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateEnvironmentParamDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.g.cs new file mode 100644 index 000000000..d618d695d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateEnvironmentParamDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamDiscriminatorTypeJsonConverter))] + public global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateEnvironmentParamDiscriminator( + global::tryAGI.OpenAI.CreateEnvironmentParamDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateEnvironmentParamDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminatorType.g.cs new file mode 100644 index 000000000..8de7f420c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamDiscriminatorType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum CreateEnvironmentParamDiscriminatorType + { + /// + /// + /// + OpenaiHosted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateEnvironmentParamDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateEnvironmentParamDiscriminatorType value) + { + return value switch + { + CreateEnvironmentParamDiscriminatorType.OpenaiHosted => "openai_hosted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateEnvironmentParamDiscriminatorType? ToEnum(string value) + { + return value switch + { + "openai_hosted" => CreateEnvironmentParamDiscriminatorType.OpenaiHosted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.Json.g.cs new file mode 100644 index 000000000..5784ab8f5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateEnvironmentParamOpenaiHosted + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHosted; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.g.cs new file mode 100644 index 000000000..8b4f30d06 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHosted.g.cs @@ -0,0 +1,160 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Provision an OpenAI-hosted environment from inline configuration or a template. + /// + public sealed partial class CreateEnvironmentParamOpenaiHosted + { + /// + /// The type of the object. Always `openai_hosted`.
+ /// Default Value: openai_hosted + ///
+ /// global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType.OpenaiHosted + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateEnvironmentParamOpenaiHostedTypeJsonConverter))] + public global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType Type { get; set; } = global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType.OpenaiHosted; + + /// + /// Packages to install in the environment. Defaults to empty package lists. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("packages")] + public global::tryAGI.OpenAI.EnvironmentPackagesParam? Packages { get; set; } + + /// + /// Ordered, confidential setup commands. Command bodies are never returned. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("setup_commands")] + public global::System.Collections.Generic.IList? SetupCommands { get; set; } + + /// + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("network")] + public global::tryAGI.OpenAI.NetworkPolicyParam? Network { get; set; } + + /// + /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("desktop")] + public global::tryAGI.OpenAI.DesktopParam? Desktop { get; set; } + + /// + /// Environment variables made available to the agent. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("env")] + public global::System.Collections.Generic.Dictionary? Env { get; set; } + + /// + /// Directories that contain capabilities exposed to the agent. Defaults to an empty list. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capability_directories")] + public global::System.Collections.Generic.IList? CapabilityDirectories { get; set; } + + /// + /// Skills referenced by ID or provided as inline ZIP archives. Defaults to an empty list. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("skills")] + public global::System.Collections.Generic.IList? Skills { get; set; } + + /// + /// Plugins provided as inline ZIP archives. Defaults to an empty list. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plugins")] + public global::System.Collections.Generic.IList? Plugins { get; set; } + + /// + /// Files available before the agent starts. Defaults to an empty list. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("files")] + public global::System.Collections.Generic.IList? Files { get; set; } + + /// + /// A reusable hosted template applied before inline configuration. Omitted fields inherit the template; network overrides cannot broaden its policy. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment_template_id")] + public string? EnvironmentTemplateId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Packages to install in the environment. Defaults to empty package lists. + /// + /// + /// Ordered, confidential setup commands. Command bodies are never returned. + /// + /// + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. + /// + /// + /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. + /// + /// + /// Environment variables made available to the agent. + /// + /// + /// Directories that contain capabilities exposed to the agent. Defaults to an empty list. + /// + /// + /// Skills referenced by ID or provided as inline ZIP archives. Defaults to an empty list. + /// + /// + /// Plugins provided as inline ZIP archives. Defaults to an empty list. + /// + /// + /// Files available before the agent starts. Defaults to an empty list. + /// + /// + /// A reusable hosted template applied before inline configuration. Omitted fields inherit the template; network overrides cannot broaden its policy. + /// + /// + /// The type of the object. Always `openai_hosted`.
+ /// Default Value: openai_hosted + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateEnvironmentParamOpenaiHosted( + global::tryAGI.OpenAI.EnvironmentPackagesParam? packages, + global::System.Collections.Generic.IList? setupCommands, + global::tryAGI.OpenAI.NetworkPolicyParam? network, + global::tryAGI.OpenAI.DesktopParam? desktop, + global::System.Collections.Generic.Dictionary? env, + global::System.Collections.Generic.IList? capabilityDirectories, + global::System.Collections.Generic.IList? skills, + global::System.Collections.Generic.IList? plugins, + global::System.Collections.Generic.IList? files, + string? environmentTemplateId, + global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType type = global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedType.OpenaiHosted) + { + this.Type = type; + this.Packages = packages; + this.SetupCommands = setupCommands; + this.Network = network; + this.Desktop = desktop; + this.Env = env; + this.CapabilityDirectories = capabilityDirectories; + this.Skills = skills; + this.Plugins = plugins; + this.Files = files; + this.EnvironmentTemplateId = environmentTemplateId; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateEnvironmentParamOpenaiHosted() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.Json.g.cs new file mode 100644 index 000000000..4f73bc906 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateEnvironmentParamOpenaiHostedEnv + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateEnvironmentParamOpenaiHostedEnv; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.g.cs similarity index 78% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.g.cs index d2c96af24..c93fd7a49 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedEnv.g.cs @@ -4,9 +4,9 @@ namespace tryAGI.OpenAI { /// - /// + /// Environment variables made available to the agent. /// - public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoice + public sealed partial class CreateEnvironmentParamOpenaiHostedEnv { /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedType.g.cs new file mode 100644 index 000000000..65e637bca --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentParamOpenaiHostedType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the object. Always `openai_hosted`.
+ /// Default Value: openai_hosted + ///
+ public enum CreateEnvironmentParamOpenaiHostedType + { + /// + /// + /// + OpenaiHosted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateEnvironmentParamOpenaiHostedTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateEnvironmentParamOpenaiHostedType value) + { + return value switch + { + CreateEnvironmentParamOpenaiHostedType.OpenaiHosted => "openai_hosted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateEnvironmentParamOpenaiHostedType? ToEnum(string value) + { + return value switch + { + "openai_hosted" => CreateEnvironmentParamOpenaiHostedType.OpenaiHosted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInput.g.cs index b51eaa274..1d6f46249 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInput.g.cs @@ -5,7 +5,7 @@ namespace tryAGI.OpenAI { /// - /// The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported. + /// The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported. /// public readonly partial struct DecisionInput : global::System.IEquatable { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContent.g.cs index c40dbdf9d..670c6d35b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContent.g.cs @@ -5,7 +5,7 @@ namespace tryAGI.OpenAI { /// - /// Text evidence or an ordered list of text and inline image parts. + /// Text evidence or an ordered list of text and image parts. /// public readonly partial struct DecisionInputContent : global::System.IEquatable { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContentPartsItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContentPartsItem.g.cs index 44f85d2ab..b3267d6db 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContentPartsItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputContentPartsItem.g.cs @@ -52,7 +52,7 @@ public bool TryPickInputText( : throw new global::System.InvalidOperationException($"Expected union variant 'InputText' but the value was {ToString()}."); /// - /// An inline image. External URLs and file IDs are not supported. + /// An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported. /// #if NET6_0_OR_GREATER public global::tryAGI.OpenAI.DecisionInputImage? InputImage { get; init; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputImage.g.cs index 458978f44..8c89d955e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputImage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputImage.g.cs @@ -4,12 +4,12 @@ namespace tryAGI.OpenAI { /// - /// An inline image. External URLs and file IDs are not supported. + /// An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported. /// public sealed partial class DecisionInputImage { /// - /// A base64-encoded image in a data URL. + /// A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL. /// [global::System.Text.Json.Serialization.JsonPropertyName("image_url")] [global::System.Text.Json.Serialization.JsonRequired] @@ -40,7 +40,7 @@ public sealed partial class DecisionInputImage /// Initializes a new instance of the class. ///
/// - /// A base64-encoded image in a data URL. + /// A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL. /// /// /// The image detail level, using the selected model's image profile. Defaults to auto.
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputMessage.g.cs index 617b379dd..d32dce30c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputMessage.g.cs @@ -4,7 +4,7 @@ namespace tryAGI.OpenAI { /// - /// A user message containing text or inline images. + /// A user message containing text or images. /// public sealed partial class DecisionInputMessage { @@ -17,7 +17,7 @@ public sealed partial class DecisionInputMessage public global::tryAGI.OpenAI.DecisionInputMessageRole Role { get; set; } = global::tryAGI.OpenAI.DecisionInputMessageRole.User; /// - /// Text evidence or an ordered list of text and inline image parts. + /// Text evidence or an ordered list of text and image parts. /// [global::System.Text.Json.Serialization.JsonPropertyName("content")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.DecisionInputContentJsonConverter))] @@ -41,7 +41,7 @@ public sealed partial class DecisionInputMessage /// Initializes a new instance of the class. ///
/// - /// Text evidence or an ordered list of text and inline image parts. + /// Text evidence or an ordered list of text and image parts. /// /// /// Default Value: message diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputVariant2Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputVariant2Item.g.cs index 5b2dc33c8..651e747ca 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputVariant2Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionInputVariant2Item.g.cs @@ -15,7 +15,7 @@ namespace tryAGI.OpenAI public global::tryAGI.OpenAI.DecisionInputVariant2ItemDiscriminatorType? Type { get; } /// - /// A user message containing text or inline images. + /// A user message containing text or images. /// #if NET6_0_OR_GREATER public global::tryAGI.OpenAI.DecisionInputMessage? Message { get; init; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionRequest.g.cs index 13704c8b0..71f290269 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DecisionRequest.g.cs @@ -16,7 +16,7 @@ public sealed partial class DecisionRequest public required string Model { get; set; } /// - /// The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported. + /// The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported. /// [global::System.Text.Json.Serialization.JsonPropertyName("input")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.DecisionInputJsonConverter))] @@ -47,7 +47,7 @@ public sealed partial class DecisionRequest ///
/// /// - /// The text or images to evaluate for every question. Provide a text string or user messages containing text and inline images. Images must be inline data URLs; at most 128 images are allowed across all messages in one request. External URLs, files, audio, tools, and item references are not supported. + /// The text or images to evaluate for every question. Provide a text string or user messages containing text and images. Images can be base64 data URLs or publicly accessible HTTP(S) URLs; at most 128 images are allowed across all messages in one request. Files, audio, tools, and item references are not supported. /// /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs index c73968f80..d690cc04a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs @@ -72,11 +72,10 @@ public sealed partial class EnvironmentParamOpenaiHosted public global::System.Collections.Generic.IList? Files { get; set; } /// - /// The hosted container size. Omission selects the medium tier. + /// An existing prewarmed environment. Cannot be combined with a template or inline configuration. /// - [global::System.Text.Json.Serialization.JsonPropertyName("container_size")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ContainerSizeParamJsonConverter))] - public global::tryAGI.OpenAI.ContainerSizeParam? ContainerSize { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("environment_id")] + public string? EnvironmentId { get; set; } /// /// A reusable hosted template applied before inline session configuration. Omitted fields inherit the template; network overrides cannot broaden its policy. @@ -84,6 +83,13 @@ public sealed partial class EnvironmentParamOpenaiHosted [global::System.Text.Json.Serialization.JsonPropertyName("environment_template_id")] public string? EnvironmentTemplateId { get; set; } + /// + /// The hosted container size. Omission selects the medium tier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("container_size")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ContainerSizeParamJsonConverter))] + public global::tryAGI.OpenAI.ContainerSizeParam? ContainerSize { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -120,12 +126,15 @@ public sealed partial class EnvironmentParamOpenaiHosted /// /// Files available before the agent starts. Defaults to an empty list. /// - /// - /// The hosted container size. Omission selects the medium tier. + /// + /// An existing prewarmed environment. Cannot be combined with a template or inline configuration. /// /// /// A reusable hosted template applied before inline session configuration. Omitted fields inherit the template; network overrides cannot broaden its policy. /// + /// + /// The hosted container size. Omission selects the medium tier. + /// /// /// The type of the object. Always `openai_hosted`.
/// Default Value: openai_hosted @@ -143,8 +152,9 @@ public EnvironmentParamOpenaiHosted( global::System.Collections.Generic.IList? skills, global::System.Collections.Generic.IList? plugins, global::System.Collections.Generic.IList? files, - global::tryAGI.OpenAI.ContainerSizeParam? containerSize, + string? environmentId, string? environmentTemplateId, + global::tryAGI.OpenAI.ContainerSizeParam? containerSize, global::tryAGI.OpenAI.EnvironmentParamOpenaiHostedType type = global::tryAGI.OpenAI.EnvironmentParamOpenaiHostedType.OpenaiHosted) { this.Type = type; @@ -157,8 +167,9 @@ public EnvironmentParamOpenaiHosted( this.Skills = skills; this.Plugins = plugins; this.Files = files; - this.ContainerSize = containerSize; + this.EnvironmentId = environmentId; this.EnvironmentTemplateId = environmentTemplateId; + this.ContainerSize = containerSize; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentStatusResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentStatusResource.g.cs index 74200e478..fcafe6299 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentStatusResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentStatusResource.g.cs @@ -28,6 +28,14 @@ public enum EnvironmentStatusResource /// /// Pending, + /// + /// + /// + Ready, + /// + /// + /// + Suspended, } /// @@ -47,6 +55,8 @@ public static string ToValueString(this EnvironmentStatusResource value) EnvironmentStatusResource.Expired => "expired", EnvironmentStatusResource.Failed => "failed", EnvironmentStatusResource.Pending => "pending", + EnvironmentStatusResource.Ready => "ready", + EnvironmentStatusResource.Suspended => "suspended", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -62,6 +72,8 @@ public static string ToValueString(this EnvironmentStatusResource value) "expired" => EnvironmentStatusResource.Expired, "failed" => EnvironmentStatusResource.Failed, "pending" => EnvironmentStatusResource.Pending, + "ready" => EnvironmentStatusResource.Ready, + "suspended" => EnvironmentStatusResource.Suspended, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentTypeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentTypeParam.g.cs new file mode 100644 index 000000000..f917d221d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentTypeParam.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The hosting type of an execution environment. + /// + public enum EnvironmentTypeParam + { + /// + /// + /// + OpenaiHosted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EnvironmentTypeParamExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EnvironmentTypeParam value) + { + return value switch + { + EnvironmentTypeParam.OpenaiHosted => "openai_hosted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EnvironmentTypeParam? ToEnum(string value) + { + return value switch + { + "openai_hosted" => EnvironmentTypeParam.OpenaiHosted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.Json.g.cs new file mode 100644 index 000000000..0603aca03 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveAllowedToolsChoiceParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveAllowedToolsChoiceParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.g.cs new file mode 100644 index 000000000..b6754804b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParam.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveAllowedToolsChoiceParam + { + /// + /// The tool choice type. Always `allowed_tools`.
+ /// Default Value: allowed_tools + ///
+ /// global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType.AllowedTools + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType Type { get; set; } = global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType.AllowedTools; + + /// + /// The tools that the delegated Responses model may call. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tools")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Tools { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mode")] + public global::tryAGI.OpenAI.LiveToolChoiceValueEnum? Mode { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tools that the delegated Responses model may call. + /// + /// + /// + /// The tool choice type. Always `allowed_tools`.
+ /// Default Value: allowed_tools + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveAllowedToolsChoiceParam( + global::System.Collections.Generic.IList tools, + global::tryAGI.OpenAI.LiveToolChoiceValueEnum? mode, + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType type = global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamType.AllowedTools) + { + this.Type = type; + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); + this.Mode = mode; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveAllowedToolsChoiceParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.Json.g.cs new file mode 100644 index 000000000..db27353fb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveAllowedToolsChoiceParamToolDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.g.cs new file mode 100644 index 000000000..8263cc48e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveAllowedToolsChoiceParamToolDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveAllowedToolsChoiceParamToolDiscriminatorTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveAllowedToolsChoiceParamToolDiscriminator( + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveAllowedToolsChoiceParamToolDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs new file mode 100644 index 000000000..2f818e1f0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamToolDiscriminatorType.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum LiveAllowedToolsChoiceParamToolDiscriminatorType + { + /// + /// + /// + ApplyPatch, + /// + /// + /// + CodeInterpreter, + /// + /// + /// + Computer, + /// + /// + /// + Custom, + /// + /// + /// + FileSearch, + /// + /// + /// + Function, + /// + /// + /// + ImageGeneration, + /// + /// + /// + Mcp, + /// + /// + /// + ProgrammaticToolCalling, + /// + /// + /// + Shell, + /// + /// + /// + WebSearch, + /// + /// + /// + WebSearchPreview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveAllowedToolsChoiceParamToolDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveAllowedToolsChoiceParamToolDiscriminatorType value) + { + return value switch + { + LiveAllowedToolsChoiceParamToolDiscriminatorType.ApplyPatch => "apply_patch", + LiveAllowedToolsChoiceParamToolDiscriminatorType.CodeInterpreter => "code_interpreter", + LiveAllowedToolsChoiceParamToolDiscriminatorType.Computer => "computer", + LiveAllowedToolsChoiceParamToolDiscriminatorType.Custom => "custom", + LiveAllowedToolsChoiceParamToolDiscriminatorType.FileSearch => "file_search", + LiveAllowedToolsChoiceParamToolDiscriminatorType.Function => "function", + LiveAllowedToolsChoiceParamToolDiscriminatorType.ImageGeneration => "image_generation", + LiveAllowedToolsChoiceParamToolDiscriminatorType.Mcp => "mcp", + LiveAllowedToolsChoiceParamToolDiscriminatorType.ProgrammaticToolCalling => "programmatic_tool_calling", + LiveAllowedToolsChoiceParamToolDiscriminatorType.Shell => "shell", + LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearch => "web_search", + LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearchPreview => "web_search_preview", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveAllowedToolsChoiceParamToolDiscriminatorType? ToEnum(string value) + { + return value switch + { + "apply_patch" => LiveAllowedToolsChoiceParamToolDiscriminatorType.ApplyPatch, + "code_interpreter" => LiveAllowedToolsChoiceParamToolDiscriminatorType.CodeInterpreter, + "computer" => LiveAllowedToolsChoiceParamToolDiscriminatorType.Computer, + "custom" => LiveAllowedToolsChoiceParamToolDiscriminatorType.Custom, + "file_search" => LiveAllowedToolsChoiceParamToolDiscriminatorType.FileSearch, + "function" => LiveAllowedToolsChoiceParamToolDiscriminatorType.Function, + "image_generation" => LiveAllowedToolsChoiceParamToolDiscriminatorType.ImageGeneration, + "mcp" => LiveAllowedToolsChoiceParamToolDiscriminatorType.Mcp, + "programmatic_tool_calling" => LiveAllowedToolsChoiceParamToolDiscriminatorType.ProgrammaticToolCalling, + "shell" => LiveAllowedToolsChoiceParamToolDiscriminatorType.Shell, + "web_search" => LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearch, + "web_search_preview" => LiveAllowedToolsChoiceParamToolDiscriminatorType.WebSearchPreview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamType.g.cs new file mode 100644 index 000000000..ff74049cb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveAllowedToolsChoiceParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool choice type. Always `allowed_tools`.
+ /// Default Value: allowed_tools + ///
+ public enum LiveAllowedToolsChoiceParamType + { + /// + /// + /// + AllowedTools, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveAllowedToolsChoiceParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveAllowedToolsChoiceParamType value) + { + return value switch + { + LiveAllowedToolsChoiceParamType.AllowedTools => "allowed_tools", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveAllowedToolsChoiceParamType? ToEnum(string value) + { + return value switch + { + "allowed_tools" => LiveAllowedToolsChoiceParamType.AllowedTools, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.Json.g.cs new file mode 100644 index 000000000..1955dbecb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveFunctionToolChoiceParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveFunctionToolChoiceParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveFunctionToolChoiceParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.g.cs new file mode 100644 index 000000000..ccbbd9330 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParam.g.cs @@ -0,0 +1,74 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveFunctionToolChoiceParam + { + /// + /// The tool to call. Always `function`.
+ /// Default Value: function + ///
+ /// global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType.Function + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveFunctionToolChoiceParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType Type { get; set; } = global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType.Function; + + /// + /// The name of the function tool to call. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The name of the function tool to call. + /// + /// + /// The tool to call. Always `function`.
+ /// Default Value: function + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveFunctionToolChoiceParam( + string name, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType type = global::tryAGI.OpenAI.LiveFunctionToolChoiceParamType.Function) + { + this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + } + + /// + /// Initializes a new instance of the class. + /// + public LiveFunctionToolChoiceParam() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static LiveFunctionToolChoiceParam FromName(string name) + { + return new LiveFunctionToolChoiceParam + { + Name = name, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParamType.g.cs new file mode 100644 index 000000000..3ee38a91a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveFunctionToolChoiceParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `function`.
+ /// Default Value: function + ///
+ public enum LiveFunctionToolChoiceParamType + { + /// + /// + /// + Function, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveFunctionToolChoiceParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveFunctionToolChoiceParamType value) + { + return value switch + { + LiveFunctionToolChoiceParamType.Function => "function", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveFunctionToolChoiceParamType? ToEnum(string value) + { + return value switch + { + "function" => LiveFunctionToolChoiceParamType.Function, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.Json.g.cs new file mode 100644 index 000000000..9c8c9e944 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveMCPToolChoiceParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveMCPToolChoiceParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveMCPToolChoiceParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveMCPToolChoiceParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveMCPToolChoiceParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveMCPToolChoiceParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.g.cs new file mode 100644 index 000000000..53c598df7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParam.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveMCPToolChoiceParam + { + /// + /// The tool to call. Always `mcp`.
+ /// Default Value: mcp + ///
+ /// global::tryAGI.OpenAI.LiveMCPToolChoiceParamType.Mcp + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveMCPToolChoiceParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveMCPToolChoiceParamType Type { get; set; } = global::tryAGI.OpenAI.LiveMCPToolChoiceParamType.Mcp; + + /// + /// The label of the MCP server to call. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("server_label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ServerLabel { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The label of the MCP server to call. + /// + /// + /// + /// The tool to call. Always `mcp`.
+ /// Default Value: mcp + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveMCPToolChoiceParam( + string serverLabel, + string? name, + global::tryAGI.OpenAI.LiveMCPToolChoiceParamType type = global::tryAGI.OpenAI.LiveMCPToolChoiceParamType.Mcp) + { + this.Type = type; + this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); + this.Name = name; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveMCPToolChoiceParam() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static LiveMCPToolChoiceParam FromServerLabel(string serverLabel) + { + return new LiveMCPToolChoiceParam + { + ServerLabel = serverLabel, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParamType.g.cs new file mode 100644 index 000000000..39718067b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveMCPToolChoiceParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `mcp`.
+ /// Default Value: mcp + ///
+ public enum LiveMCPToolChoiceParamType + { + /// + /// + /// + Mcp, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveMCPToolChoiceParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveMCPToolChoiceParamType value) + { + return value switch + { + LiveMCPToolChoiceParamType.Mcp => "mcp", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveMCPToolChoiceParamType? ToEnum(string value) + { + return value switch + { + "mcp" => LiveMCPToolChoiceParamType.Mcp, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParam.g.cs index 52d43f0b7..70de45762 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParam.g.cs @@ -49,14 +49,14 @@ public sealed partial class LiveResponsesDelegationSettingsInputParam /// Tools available to the Responses backend while it handles tasks delegated by the Live model. ///
[global::System.Text.Json.Serialization.JsonPropertyName("tools")] - public global::System.Collections.Generic.IList? Tools { get; set; } + public global::System.Collections.Generic.IList? Tools { get; set; } /// /// Controls which tool the Responses backend uses when handling a task delegated by the Live model. /// [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] - public global::tryAGI.OpenAI.OneOf? ToolChoice { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] + public global::tryAGI.OpenAI.OneOf? ToolChoice { get; set; } /// /// @@ -98,8 +98,8 @@ public LiveResponsesDelegationSettingsInputParam( global::tryAGI.OpenAI.LiveResponsesServiceTier? serviceTier, global::tryAGI.OpenAI.LiveDelegationReasoningInputParam? reasoning, global::tryAGI.OpenAI.LiveDelegationTextInputParam? text, - global::System.Collections.Generic.IList? tools, - global::tryAGI.OpenAI.OneOf? toolChoice, + global::System.Collections.Generic.IList? tools, + global::tryAGI.OpenAI.OneOf? toolChoice, bool? parallelToolCalls) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.g.cs deleted file mode 100644 index c363dea72..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// - /// - public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoice - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.g.cs deleted file mode 100644 index d544b54d7..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// - /// - public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoice2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.Json.g.cs similarity index 90% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.Json.g.cs index 9c0662cb5..2b7d4675e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoice + public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice), - jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice; + typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice; + typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.g.cs new file mode 100644 index 000000000..3b08e58d3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator( + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveResponsesDelegationSettingsInputParamToolChoiceVariant2Discriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs new file mode 100644 index 000000000..8710ea5bd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType + { + /// + /// + /// + ApplyPatch, + /// + /// + /// + CodeInterpreter, + /// + /// + /// + Computer, + /// + /// + /// + Custom, + /// + /// + /// + FileSearch, + /// + /// + /// + Function, + /// + /// + /// + ImageGeneration, + /// + /// + /// + Mcp, + /// + /// + /// + ProgrammaticToolCalling, + /// + /// + /// + Shell, + /// + /// + /// + WebSearch, + /// + /// + /// + WebSearchPreview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType value) + { + return value switch + { + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch => "apply_patch", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter => "code_interpreter", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Computer => "computer", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Custom => "custom", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.FileSearch => "file_search", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Function => "function", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration => "image_generation", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Mcp => "mcp", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling => "programmatic_tool_calling", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Shell => "shell", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearch => "web_search", + LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview => "web_search_preview", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? ToEnum(string value) + { + return value switch + { + "apply_patch" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch, + "code_interpreter" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter, + "computer" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Computer, + "custom" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Custom, + "file_search" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.FileSearch, + "function" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Function, + "image_generation" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration, + "mcp" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Mcp, + "programmatic_tool_calling" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling, + "shell" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.Shell, + "web_search" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearch, + "web_search_preview" => LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParam.g.cs index 7c0517ded..819b67cfd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParam.g.cs @@ -48,14 +48,14 @@ public sealed partial class LiveResponsesDelegationSettingsUpdateInputParam /// Tools available to the Responses backend while it handles tasks delegated by the Live model. /// [global::System.Text.Json.Serialization.JsonPropertyName("tools")] - public global::System.Collections.Generic.IList? Tools { get; set; } + public global::System.Collections.Generic.IList? Tools { get; set; } /// /// Controls which tool the Responses backend uses when handling a task delegated by the Live model. /// [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] - public global::tryAGI.OpenAI.OneOf? ToolChoice { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] + public global::tryAGI.OpenAI.OneOf? ToolChoice { get; set; } /// /// @@ -97,8 +97,8 @@ public LiveResponsesDelegationSettingsUpdateInputParam( global::tryAGI.OpenAI.LiveResponsesServiceTier? serviceTier, global::tryAGI.OpenAI.LiveDelegationReasoningInputParam? reasoning, global::tryAGI.OpenAI.LiveDelegationTextInputParam? text, - global::System.Collections.Generic.IList? tools, - global::tryAGI.OpenAI.OneOf? toolChoice, + global::System.Collections.Generic.IList? tools, + global::tryAGI.OpenAI.OneOf? toolChoice, bool? parallelToolCalls) { this.Model = model; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.g.cs deleted file mode 100644 index b0554d5b8..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// - /// - public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoice2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.Json.g.cs similarity index 89% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.Json.g.cs index e4565cd3b..a0e294186 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoice.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoice + public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice), - jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice; + typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice? FromJson( + public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoice; + typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.g.cs new file mode 100644 index 000000000..d8e99cac1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator( + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2Discriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs new file mode 100644 index 000000000..b0af8f9ad --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType + { + /// + /// + /// + ApplyPatch, + /// + /// + /// + CodeInterpreter, + /// + /// + /// + Computer, + /// + /// + /// + Custom, + /// + /// + /// + FileSearch, + /// + /// + /// + Function, + /// + /// + /// + ImageGeneration, + /// + /// + /// + Mcp, + /// + /// + /// + ProgrammaticToolCalling, + /// + /// + /// + Shell, + /// + /// + /// + WebSearch, + /// + /// + /// + WebSearchPreview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType value) + { + return value switch + { + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch => "apply_patch", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter => "code_interpreter", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Computer => "computer", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Custom => "custom", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.FileSearch => "file_search", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Function => "function", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration => "image_generation", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Mcp => "mcp", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling => "programmatic_tool_calling", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Shell => "shell", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearch => "web_search", + LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview => "web_search_preview", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? ToEnum(string value) + { + return value switch + { + "apply_patch" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ApplyPatch, + "code_interpreter" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.CodeInterpreter, + "computer" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Computer, + "custom" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Custom, + "file_search" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.FileSearch, + "function" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Function, + "image_generation" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ImageGeneration, + "mcp" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Mcp, + "programmatic_tool_calling" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.ProgrammaticToolCalling, + "shell" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.Shell, + "web_search" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearch, + "web_search_preview" => LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType.WebSearchPreview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.Json.g.cs new file mode 100644 index 000000000..ef97329c4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificApplyPatchParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificApplyPatchParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificApplyPatchParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.g.cs new file mode 100644 index 000000000..769bf3611 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Forces the model to call the apply_patch tool when executing a tool call. + /// + public sealed partial class LiveSpecificApplyPatchParam + { + /// + /// The tool to call. Always `apply_patch`.
+ /// Default Value: apply_patch + ///
+ /// global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType.ApplyPatch + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificApplyPatchParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType.ApplyPatch; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `apply_patch`.
+ /// Default Value: apply_patch + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificApplyPatchParam( + global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType type = global::tryAGI.OpenAI.LiveSpecificApplyPatchParamType.ApplyPatch) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificApplyPatchParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParamType.g.cs new file mode 100644 index 000000000..fad5e06f4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificApplyPatchParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `apply_patch`.
+ /// Default Value: apply_patch + ///
+ public enum LiveSpecificApplyPatchParamType + { + /// + /// + /// + ApplyPatch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificApplyPatchParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificApplyPatchParamType value) + { + return value switch + { + LiveSpecificApplyPatchParamType.ApplyPatch => "apply_patch", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificApplyPatchParamType? ToEnum(string value) + { + return value switch + { + "apply_patch" => LiveSpecificApplyPatchParamType.ApplyPatch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.Json.g.cs new file mode 100644 index 000000000..4fd68a2d0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificCodeInterpreterParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.g.cs new file mode 100644 index 000000000..36cc24164 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificCodeInterpreterParam + { + /// + /// The tool to call. Always `code_interpreter`.
+ /// Default Value: code_interpreter + ///
+ /// global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType.CodeInterpreter + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificCodeInterpreterParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType.CodeInterpreter; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `code_interpreter`.
+ /// Default Value: code_interpreter + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificCodeInterpreterParam( + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType type = global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParamType.CodeInterpreter) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificCodeInterpreterParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParamType.g.cs new file mode 100644 index 000000000..c73731488 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCodeInterpreterParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `code_interpreter`.
+ /// Default Value: code_interpreter + ///
+ public enum LiveSpecificCodeInterpreterParamType + { + /// + /// + /// + CodeInterpreter, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificCodeInterpreterParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificCodeInterpreterParamType value) + { + return value switch + { + LiveSpecificCodeInterpreterParamType.CodeInterpreter => "code_interpreter", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificCodeInterpreterParamType? ToEnum(string value) + { + return value switch + { + "code_interpreter" => LiveSpecificCodeInterpreterParamType.CodeInterpreter, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.Json.g.cs new file mode 100644 index 000000000..e020b950c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificComputerParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificComputerParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificComputerParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificComputerParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificComputerParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificComputerParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.g.cs new file mode 100644 index 000000000..a0a5f206f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificComputerParam + { + /// + /// The tool to call. Always `computer`.
+ /// Default Value: computer + ///
+ /// global::tryAGI.OpenAI.LiveSpecificComputerParamType.Computer + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificComputerParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificComputerParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificComputerParamType.Computer; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `computer`.
+ /// Default Value: computer + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificComputerParam( + global::tryAGI.OpenAI.LiveSpecificComputerParamType type = global::tryAGI.OpenAI.LiveSpecificComputerParamType.Computer) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificComputerParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParamType.g.cs new file mode 100644 index 000000000..f454d64ea --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificComputerParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `computer`.
+ /// Default Value: computer + ///
+ public enum LiveSpecificComputerParamType + { + /// + /// + /// + Computer, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificComputerParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificComputerParamType value) + { + return value switch + { + LiveSpecificComputerParamType.Computer => "computer", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificComputerParamType? ToEnum(string value) + { + return value switch + { + "computer" => LiveSpecificComputerParamType.Computer, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.Json.g.cs new file mode 100644 index 000000000..ff749dba5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificCustomToolParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificCustomToolParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificCustomToolParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificCustomToolParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificCustomToolParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificCustomToolParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.g.cs new file mode 100644 index 000000000..05aa65d2c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParam.g.cs @@ -0,0 +1,74 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificCustomToolParam + { + /// + /// The tool to call. Always `custom`.
+ /// Default Value: custom + ///
+ /// global::tryAGI.OpenAI.LiveSpecificCustomToolParamType.Custom + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificCustomToolParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificCustomToolParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificCustomToolParamType.Custom; + + /// + /// The name of the custom tool to call. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The name of the custom tool to call. + /// + /// + /// The tool to call. Always `custom`.
+ /// Default Value: custom + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificCustomToolParam( + string name, + global::tryAGI.OpenAI.LiveSpecificCustomToolParamType type = global::tryAGI.OpenAI.LiveSpecificCustomToolParamType.Custom) + { + this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificCustomToolParam() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static LiveSpecificCustomToolParam FromName(string name) + { + return new LiveSpecificCustomToolParam + { + Name = name, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParamType.g.cs new file mode 100644 index 000000000..614f606ea --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificCustomToolParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `custom`.
+ /// Default Value: custom + ///
+ public enum LiveSpecificCustomToolParamType + { + /// + /// + /// + Custom, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificCustomToolParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificCustomToolParamType value) + { + return value switch + { + LiveSpecificCustomToolParamType.Custom => "custom", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificCustomToolParamType? ToEnum(string value) + { + return value switch + { + "custom" => LiveSpecificCustomToolParamType.Custom, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.Json.g.cs new file mode 100644 index 000000000..996a732aa --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificFileSearchParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificFileSearchParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificFileSearchParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.g.cs new file mode 100644 index 000000000..3f31bf1bf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificFileSearchParam + { + /// + /// The tool to call. Always `file_search`.
+ /// Default Value: file_search + ///
+ /// global::tryAGI.OpenAI.LiveSpecificFileSearchParamType.FileSearch + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificFileSearchParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificFileSearchParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificFileSearchParamType.FileSearch; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `file_search`.
+ /// Default Value: file_search + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificFileSearchParam( + global::tryAGI.OpenAI.LiveSpecificFileSearchParamType type = global::tryAGI.OpenAI.LiveSpecificFileSearchParamType.FileSearch) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificFileSearchParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParamType.g.cs new file mode 100644 index 000000000..5022e9fda --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFileSearchParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `file_search`.
+ /// Default Value: file_search + ///
+ public enum LiveSpecificFileSearchParamType + { + /// + /// + /// + FileSearch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificFileSearchParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificFileSearchParamType value) + { + return value switch + { + LiveSpecificFileSearchParamType.FileSearch => "file_search", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificFileSearchParamType? ToEnum(string value) + { + return value switch + { + "file_search" => LiveSpecificFileSearchParamType.FileSearch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.Json.g.cs new file mode 100644 index 000000000..74e0bd48b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificFunctionShellParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificFunctionShellParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificFunctionShellParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.g.cs new file mode 100644 index 000000000..66be09caf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Forces the model to call the shell tool when a tool call is required. + /// + public sealed partial class LiveSpecificFunctionShellParam + { + /// + /// The tool to call. Always `shell`.
+ /// Default Value: shell + ///
+ /// global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType.Shell + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificFunctionShellParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType.Shell; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `shell`.
+ /// Default Value: shell + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificFunctionShellParam( + global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType type = global::tryAGI.OpenAI.LiveSpecificFunctionShellParamType.Shell) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificFunctionShellParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParamType.g.cs new file mode 100644 index 000000000..b80343219 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificFunctionShellParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `shell`.
+ /// Default Value: shell + ///
+ public enum LiveSpecificFunctionShellParamType + { + /// + /// + /// + Shell, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificFunctionShellParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificFunctionShellParamType value) + { + return value switch + { + LiveSpecificFunctionShellParamType.Shell => "shell", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificFunctionShellParamType? ToEnum(string value) + { + return value switch + { + "shell" => LiveSpecificFunctionShellParamType.Shell, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.Json.g.cs new file mode 100644 index 000000000..8af8bf372 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificImageGenParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificImageGenParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificImageGenParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificImageGenParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificImageGenParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificImageGenParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.g.cs new file mode 100644 index 000000000..48a64e182 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificImageGenParam + { + /// + /// The tool to call. Always `image_generation`.
+ /// Default Value: image_generation + ///
+ /// global::tryAGI.OpenAI.LiveSpecificImageGenParamType.ImageGeneration + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificImageGenParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificImageGenParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificImageGenParamType.ImageGeneration; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `image_generation`.
+ /// Default Value: image_generation + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificImageGenParam( + global::tryAGI.OpenAI.LiveSpecificImageGenParamType type = global::tryAGI.OpenAI.LiveSpecificImageGenParamType.ImageGeneration) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificImageGenParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParamType.g.cs new file mode 100644 index 000000000..05e9ced17 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificImageGenParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `image_generation`.
+ /// Default Value: image_generation + ///
+ public enum LiveSpecificImageGenParamType + { + /// + /// + /// + ImageGeneration, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificImageGenParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificImageGenParamType value) + { + return value switch + { + LiveSpecificImageGenParamType.ImageGeneration => "image_generation", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificImageGenParamType? ToEnum(string value) + { + return value switch + { + "image_generation" => LiveSpecificImageGenParamType.ImageGeneration, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.Json.g.cs new file mode 100644 index 000000000..ada4384a9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificProgrammaticToolCallingParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.g.cs new file mode 100644 index 000000000..00f1bf2c6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificProgrammaticToolCallingParam + { + /// + /// The tool to call. Always `programmatic_tool_calling`.
+ /// Default Value: programmatic_tool_calling + ///
+ /// global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType.ProgrammaticToolCalling + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificProgrammaticToolCallingParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType.ProgrammaticToolCalling; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `programmatic_tool_calling`.
+ /// Default Value: programmatic_tool_calling + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificProgrammaticToolCallingParam( + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType type = global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParamType.ProgrammaticToolCalling) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificProgrammaticToolCallingParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParamType.g.cs new file mode 100644 index 000000000..75ceec9db --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificProgrammaticToolCallingParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `programmatic_tool_calling`.
+ /// Default Value: programmatic_tool_calling + ///
+ public enum LiveSpecificProgrammaticToolCallingParamType + { + /// + /// + /// + ProgrammaticToolCalling, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificProgrammaticToolCallingParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificProgrammaticToolCallingParamType value) + { + return value switch + { + LiveSpecificProgrammaticToolCallingParamType.ProgrammaticToolCalling => "programmatic_tool_calling", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificProgrammaticToolCallingParamType? ToEnum(string value) + { + return value switch + { + "programmatic_tool_calling" => LiveSpecificProgrammaticToolCallingParamType.ProgrammaticToolCalling, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.Json.g.cs similarity index 83% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.Json.g.cs index 2ebffbd7a..fbfac1aef 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveResponsesDelegationSettingsInputParamToolChoice2.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class LiveResponsesDelegationSettingsInputParamToolChoice2 + public sealed partial class LiveSpecificWebSearchParam { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.LiveSpecificWebSearchParam? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2), - jsonSerializerContext) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2; + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificWebSearchParam; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.LiveSpecificWebSearchParam? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2? FromJson( + public static global::tryAGI.OpenAI.LiveSpecificWebSearchParam? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoice2; + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificWebSearchParam; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::tryAGI.OpenAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.g.cs new file mode 100644 index 000000000..304672e30 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificWebSearchParam + { + /// + /// The tool to call. Always `web_search`.
+ /// Default Value: web_search + ///
+ /// global::tryAGI.OpenAI.LiveSpecificWebSearchParamType.WebSearch + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificWebSearchParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificWebSearchParamType.WebSearch; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `web_search`.
+ /// Default Value: web_search + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificWebSearchParam( + global::tryAGI.OpenAI.LiveSpecificWebSearchParamType type = global::tryAGI.OpenAI.LiveSpecificWebSearchParamType.WebSearch) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificWebSearchParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParamType.g.cs new file mode 100644 index 000000000..52439c3c8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `web_search`.
+ /// Default Value: web_search + ///
+ public enum LiveSpecificWebSearchParamType + { + /// + /// + /// + WebSearch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificWebSearchParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificWebSearchParamType value) + { + return value switch + { + LiveSpecificWebSearchParamType.WebSearch => "web_search", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificWebSearchParamType? ToEnum(string value) + { + return value switch + { + "web_search" => LiveSpecificWebSearchParamType.WebSearch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.Json.g.cs new file mode 100644 index 000000000..4b574f763 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class LiveSpecificWebSearchPreviewParam + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), + jsonSerializerContext) as global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.g.cs new file mode 100644 index 000000000..64a42ef0a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class LiveSpecificWebSearchPreviewParam + { + /// + /// The tool to call. Always `web_search_preview`.
+ /// Default Value: web_search_preview + ///
+ /// global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType.WebSearchPreview + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.LiveSpecificWebSearchPreviewParamTypeJsonConverter))] + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType Type { get; set; } = global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType.WebSearchPreview; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The tool to call. Always `web_search_preview`.
+ /// Default Value: web_search_preview + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LiveSpecificWebSearchPreviewParam( + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType type = global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParamType.WebSearchPreview) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public LiveSpecificWebSearchPreviewParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParamType.g.cs new file mode 100644 index 000000000..d185bff96 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveSpecificWebSearchPreviewParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The tool to call. Always `web_search_preview`.
+ /// Default Value: web_search_preview + ///
+ public enum LiveSpecificWebSearchPreviewParamType + { + /// + /// + /// + WebSearchPreview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveSpecificWebSearchPreviewParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveSpecificWebSearchPreviewParamType value) + { + return value switch + { + LiveSpecificWebSearchPreviewParamType.WebSearchPreview => "web_search_preview", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveSpecificWebSearchPreviewParamType? ToEnum(string value) + { + return value switch + { + "web_search_preview" => LiveSpecificWebSearchPreviewParamType.WebSearchPreview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveToolChoiceValueEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveToolChoiceValueEnum.g.cs new file mode 100644 index 000000000..2a2ef4eae --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LiveToolChoiceValueEnum.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum LiveToolChoiceValueEnum + { + /// + /// + /// + Auto, + /// + /// + /// + None, + /// + /// + /// + Required, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class LiveToolChoiceValueEnumExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this LiveToolChoiceValueEnum value) + { + return value switch + { + LiveToolChoiceValueEnum.Auto => "auto", + LiveToolChoiceValueEnum.None => "none", + LiveToolChoiceValueEnum.Required => "required", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static LiveToolChoiceValueEnum? ToEnum(string value) + { + return value switch + { + "auto" => LiveToolChoiceValueEnum.Auto, + "none" => LiveToolChoiceValueEnum.None, + "required" => LiveToolChoiceValueEnum.Required, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectEventTypeEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectEventTypeEnum.g.cs index ec34f47ba..6bbb7ab4a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectEventTypeEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectEventTypeEnum.g.cs @@ -8,6 +8,22 @@ namespace tryAGI.OpenAI ///
public enum ProjectEventTypeEnum { + /// + /// + /// + AgentEnvironmentExpired, + /// + /// + /// + AgentEnvironmentFailed, + /// + /// + /// + AgentEnvironmentReady, + /// + /// + /// + AgentEnvironmentSuspended, /// /// /// @@ -114,6 +130,10 @@ public static string ToValueString(this ProjectEventTypeEnum value) { return value switch { + ProjectEventTypeEnum.AgentEnvironmentExpired => "agent.environment.expired", + ProjectEventTypeEnum.AgentEnvironmentFailed => "agent.environment.failed", + ProjectEventTypeEnum.AgentEnvironmentReady => "agent.environment.ready", + ProjectEventTypeEnum.AgentEnvironmentSuspended => "agent.environment.suspended", ProjectEventTypeEnum.AgentSessionActionRequired => "agent.session.action_required", ProjectEventTypeEnum.AgentSessionCreated => "agent.session.created", ProjectEventTypeEnum.AgentSessionFailed => "agent.session.failed", @@ -147,6 +167,10 @@ public static string ToValueString(this ProjectEventTypeEnum value) { return value switch { + "agent.environment.expired" => ProjectEventTypeEnum.AgentEnvironmentExpired, + "agent.environment.failed" => ProjectEventTypeEnum.AgentEnvironmentFailed, + "agent.environment.ready" => ProjectEventTypeEnum.AgentEnvironmentReady, + "agent.environment.suspended" => ProjectEventTypeEnum.AgentEnvironmentSuspended, "agent.session.action_required" => ProjectEventTypeEnum.AgentSessionActionRequired, "agent.session.created" => ProjectEventTypeEnum.AgentSessionCreated, "agent.session.failed" => ProjectEventTypeEnum.AgentSessionFailed, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SafetyAlertResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SafetyAlertResource.g.cs index 2d6315097..4612520b8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SafetyAlertResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SafetyAlertResource.g.cs @@ -72,6 +72,12 @@ public sealed partial class SafetyAlertResource [global::System.Text.Json.Serialization.JsonPropertyName("reason")] public string? Reason { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detailed_explanation")] + public string? DetailedExplanation { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -91,6 +97,7 @@ public sealed partial class SafetyAlertResource /// /// /// + /// /// /// Default Value: safety.alert /// @@ -106,6 +113,7 @@ public SafetyAlertResource( bool requestPaused, global::tryAGI.OpenAI.SafetyAlertErrorType errorType, string? reason, + string? detailedExplanation, global::tryAGI.OpenAI.SafetyAlertResourceObject @object = global::tryAGI.OpenAI.SafetyAlertResourceObject.SafetyAlert) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); @@ -117,6 +125,7 @@ public SafetyAlertResource( this.RequestPaused = requestPaused; this.ErrorType = errorType; this.Reason = reason; + this.DetailedExplanation = detailedExplanation; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEnvironmentStatusResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEnvironmentStatusResource.g.cs index 163a01cc1..c19a7cc25 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEnvironmentStatusResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEnvironmentStatusResource.g.cs @@ -19,6 +19,10 @@ public enum SessionEnvironmentStatusResource /// /// /// + Expired, + /// + /// + /// Failed, /// /// @@ -28,6 +32,10 @@ public enum SessionEnvironmentStatusResource /// /// Ready, + /// + /// + /// + Suspended, } /// @@ -44,9 +52,11 @@ public static string ToValueString(this SessionEnvironmentStatusResource value) { SessionEnvironmentStatusResource.Connected => "connected", SessionEnvironmentStatusResource.Disconnected => "disconnected", + SessionEnvironmentStatusResource.Expired => "expired", SessionEnvironmentStatusResource.Failed => "failed", SessionEnvironmentStatusResource.Pending => "pending", SessionEnvironmentStatusResource.Ready => "ready", + SessionEnvironmentStatusResource.Suspended => "suspended", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -59,9 +69,11 @@ public static string ToValueString(this SessionEnvironmentStatusResource value) { "connected" => SessionEnvironmentStatusResource.Connected, "disconnected" => SessionEnvironmentStatusResource.Disconnected, + "expired" => SessionEnvironmentStatusResource.Expired, "failed" => SessionEnvironmentStatusResource.Failed, "pending" => SessionEnvironmentStatusResource.Pending, "ready" => SessionEnvironmentStatusResource.Ready, + "suspended" => SessionEnvironmentStatusResource.Suspended, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEvent.g.cs index 37d6c0321..e946d65bb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEvent.g.cs @@ -88,6 +88,80 @@ public bool TryPickAgentSessionEnvironmentReady( ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AgentSessionEnvironmentReady' but the value was {ToString()}."); + /// + /// Emitted after an idle hosted session environment is checkpointed and stopped. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? AgentSessionEnvironmentSuspended { get; init; } +#else + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? AgentSessionEnvironmentSuspended { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgentSessionEnvironmentSuspended))] +#endif + public bool IsAgentSessionEnvironmentSuspended => AgentSessionEnvironmentSuspended != null; + + /// + /// + /// + public bool TryPickAgentSessionEnvironmentSuspended( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? value) + { + value = AgentSessionEnvironmentSuspended; + return IsAgentSessionEnvironmentSuspended; + } + + /// + /// + /// + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended PickAgentSessionEnvironmentSuspended() => AgentSessionEnvironmentSuspended is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AgentSessionEnvironmentSuspended' but the value was {ToString()}."); + + /// + /// Emitted after a suspended hosted session environment and its checkpoint expire. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? AgentSessionEnvironmentExpired { get; init; } +#else + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? AgentSessionEnvironmentExpired { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgentSessionEnvironmentExpired))] +#endif + public bool IsAgentSessionEnvironmentExpired => AgentSessionEnvironmentExpired != null; + + /// + /// + /// + public bool TryPickAgentSessionEnvironmentExpired( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? value) + { + value = AgentSessionEnvironmentExpired; + return IsAgentSessionEnvironmentExpired; + } + + /// + /// + /// + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired PickAgentSessionEnvironmentExpired() => AgentSessionEnvironmentExpired is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AgentSessionEnvironmentExpired' but the value was {ToString()}."); + /// /// Emitted after a hosted sandbox is replaced. Conversation history survives; changes to the previous sandbox's files and processes do not. /// @@ -1206,6 +1280,52 @@ public SessionEvent(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentRea /// public static SessionEvent FromAgentSessionEnvironmentReady(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? value) => new SessionEvent(value); + /// + /// + /// + public static implicit operator SessionEvent(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended value) => new SessionEvent((global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended?(SessionEvent @this) => @this.AgentSessionEnvironmentSuspended; + + /// + /// + /// + public SessionEvent(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? value) + { + AgentSessionEnvironmentSuspended = value; + } + + /// + /// + /// + public static SessionEvent FromAgentSessionEnvironmentSuspended(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? value) => new SessionEvent(value); + + /// + /// + /// + public static implicit operator SessionEvent(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired value) => new SessionEvent((global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired?(SessionEvent @this) => @this.AgentSessionEnvironmentExpired; + + /// + /// + /// + public SessionEvent(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? value) + { + AgentSessionEnvironmentExpired = value; + } + + /// + /// + /// + public static SessionEvent FromAgentSessionEnvironmentExpired(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? value) => new SessionEvent(value); + /// /// /// @@ -1880,6 +2000,8 @@ public SessionEvent( global::tryAGI.OpenAI.SessionEventDiscriminatorType? type, global::tryAGI.OpenAI.SessionEventError? error, global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? agentSessionEnvironmentReady, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? agentSessionEnvironmentSuspended, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? agentSessionEnvironmentExpired, global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? agentSessionEnvironmentReset, global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta? agentOutputCommandExecutionOutputDelta, global::tryAGI.OpenAI.SessionEventAgentSessionCreated? agentSessionCreated, @@ -1915,6 +2037,8 @@ public SessionEvent( Error = error; AgentSessionEnvironmentReady = agentSessionEnvironmentReady; + AgentSessionEnvironmentSuspended = agentSessionEnvironmentSuspended; + AgentSessionEnvironmentExpired = agentSessionEnvironmentExpired; AgentSessionEnvironmentReset = agentSessionEnvironmentReset; AgentOutputCommandExecutionOutputDelta = agentOutputCommandExecutionOutputDelta; AgentSessionCreated = agentSessionCreated; @@ -1979,6 +2103,8 @@ AgentSessionTurnCreated as object ?? AgentSessionCreated as object ?? AgentOutputCommandExecutionOutputDelta as object ?? AgentSessionEnvironmentReset as object ?? + AgentSessionEnvironmentExpired as object ?? + AgentSessionEnvironmentSuspended as object ?? AgentSessionEnvironmentReady as object ?? Error as object ; @@ -1989,6 +2115,8 @@ Error as object public override string? ToString() => Error?.ToString() ?? AgentSessionEnvironmentReady?.ToString() ?? + AgentSessionEnvironmentSuspended?.ToString() ?? + AgentSessionEnvironmentExpired?.ToString() ?? AgentSessionEnvironmentReset?.ToString() ?? AgentOutputCommandExecutionOutputDelta?.ToString() ?? AgentSessionCreated?.ToString() ?? @@ -2025,7 +2153,7 @@ Error as object /// public bool Validate() { - return IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && IsAgentSessionTurnReasoningSummaryTextDone; + return IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && IsAgentSessionTurnReasoningSummaryTextDelta && !IsAgentSessionTurnReasoningSummaryTextDone || !IsError && !IsAgentSessionEnvironmentReady && !IsAgentSessionEnvironmentSuspended && !IsAgentSessionEnvironmentExpired && !IsAgentSessionEnvironmentReset && !IsAgentOutputCommandExecutionOutputDelta && !IsAgentSessionCreated && !IsAgentSessionTurnCreated && !IsAgentSessionTurnInProgress && !IsAgentSessionTurnCompleted && !IsAgentSessionTurnFailed && !IsAgentSessionTurnCancelled && !IsAgentSessionTurnItemAdded && !IsAgentSessionIdle && !IsAgentSessionInProgress && !IsAgentSessionRequiresAction && !IsAgentSessionFailed && !IsAgentSessionEnvironmentPending && !IsAgentSessionEnvironmentConnected && !IsAgentSessionEnvironmentDisconnected && !IsAgentSessionEnvironmentFailed && !IsAgentSessionSubagentCreated && !IsAgentSessionSubagentActive && !IsAgentSessionSubagentClosed && !IsAgentSessionTurnItemDone && !IsAgentSessionTurnContentPartAdded && !IsAgentSessionTurnContentPartDone && !IsAgentSessionTurnOutputTextDelta && !IsAgentSessionTurnOutputTextDone && !IsAgentSessionTurnReasoningSummaryPartAdded && !IsAgentSessionTurnReasoningSummaryPartDone && !IsAgentSessionTurnReasoningSummaryTextDelta && IsAgentSessionTurnReasoningSummaryTextDone; } /// @@ -2034,6 +2162,8 @@ public bool Validate() public TResult? Match( global::System.Func? error = null, global::System.Func? agentSessionEnvironmentReady = null, + global::System.Func? agentSessionEnvironmentSuspended = null, + global::System.Func? agentSessionEnvironmentExpired = null, global::System.Func? agentSessionEnvironmentReset = null, global::System.Func? agentOutputCommandExecutionOutputDelta = null, global::System.Func? agentSessionCreated = null, @@ -2078,121 +2208,129 @@ public bool Validate() { return agentSessionEnvironmentReady(__value1); } - else if (AgentSessionEnvironmentReset is { } __value2 && agentSessionEnvironmentReset != null) + else if (AgentSessionEnvironmentSuspended is { } __value2 && agentSessionEnvironmentSuspended != null) + { + return agentSessionEnvironmentSuspended(__value2); + } + else if (AgentSessionEnvironmentExpired is { } __value3 && agentSessionEnvironmentExpired != null) { - return agentSessionEnvironmentReset(__value2); + return agentSessionEnvironmentExpired(__value3); } - else if (AgentOutputCommandExecutionOutputDelta is { } __value3 && agentOutputCommandExecutionOutputDelta != null) + else if (AgentSessionEnvironmentReset is { } __value4 && agentSessionEnvironmentReset != null) { - return agentOutputCommandExecutionOutputDelta(__value3); + return agentSessionEnvironmentReset(__value4); } - else if (AgentSessionCreated is { } __value4 && agentSessionCreated != null) + else if (AgentOutputCommandExecutionOutputDelta is { } __value5 && agentOutputCommandExecutionOutputDelta != null) { - return agentSessionCreated(__value4); + return agentOutputCommandExecutionOutputDelta(__value5); } - else if (AgentSessionTurnCreated is { } __value5 && agentSessionTurnCreated != null) + else if (AgentSessionCreated is { } __value6 && agentSessionCreated != null) { - return agentSessionTurnCreated(__value5); + return agentSessionCreated(__value6); } - else if (AgentSessionTurnInProgress is { } __value6 && agentSessionTurnInProgress != null) + else if (AgentSessionTurnCreated is { } __value7 && agentSessionTurnCreated != null) { - return agentSessionTurnInProgress(__value6); + return agentSessionTurnCreated(__value7); } - else if (AgentSessionTurnCompleted is { } __value7 && agentSessionTurnCompleted != null) + else if (AgentSessionTurnInProgress is { } __value8 && agentSessionTurnInProgress != null) { - return agentSessionTurnCompleted(__value7); + return agentSessionTurnInProgress(__value8); } - else if (AgentSessionTurnFailed is { } __value8 && agentSessionTurnFailed != null) + else if (AgentSessionTurnCompleted is { } __value9 && agentSessionTurnCompleted != null) { - return agentSessionTurnFailed(__value8); + return agentSessionTurnCompleted(__value9); } - else if (AgentSessionTurnCancelled is { } __value9 && agentSessionTurnCancelled != null) + else if (AgentSessionTurnFailed is { } __value10 && agentSessionTurnFailed != null) { - return agentSessionTurnCancelled(__value9); + return agentSessionTurnFailed(__value10); } - else if (AgentSessionTurnItemAdded is { } __value10 && agentSessionTurnItemAdded != null) + else if (AgentSessionTurnCancelled is { } __value11 && agentSessionTurnCancelled != null) { - return agentSessionTurnItemAdded(__value10); + return agentSessionTurnCancelled(__value11); } - else if (AgentSessionIdle is { } __value11 && agentSessionIdle != null) + else if (AgentSessionTurnItemAdded is { } __value12 && agentSessionTurnItemAdded != null) { - return agentSessionIdle(__value11); + return agentSessionTurnItemAdded(__value12); } - else if (AgentSessionInProgress is { } __value12 && agentSessionInProgress != null) + else if (AgentSessionIdle is { } __value13 && agentSessionIdle != null) { - return agentSessionInProgress(__value12); + return agentSessionIdle(__value13); } - else if (AgentSessionRequiresAction is { } __value13 && agentSessionRequiresAction != null) + else if (AgentSessionInProgress is { } __value14 && agentSessionInProgress != null) { - return agentSessionRequiresAction(__value13); + return agentSessionInProgress(__value14); } - else if (AgentSessionFailed is { } __value14 && agentSessionFailed != null) + else if (AgentSessionRequiresAction is { } __value15 && agentSessionRequiresAction != null) { - return agentSessionFailed(__value14); + return agentSessionRequiresAction(__value15); } - else if (AgentSessionEnvironmentPending is { } __value15 && agentSessionEnvironmentPending != null) + else if (AgentSessionFailed is { } __value16 && agentSessionFailed != null) { - return agentSessionEnvironmentPending(__value15); + return agentSessionFailed(__value16); } - else if (AgentSessionEnvironmentConnected is { } __value16 && agentSessionEnvironmentConnected != null) + else if (AgentSessionEnvironmentPending is { } __value17 && agentSessionEnvironmentPending != null) { - return agentSessionEnvironmentConnected(__value16); + return agentSessionEnvironmentPending(__value17); } - else if (AgentSessionEnvironmentDisconnected is { } __value17 && agentSessionEnvironmentDisconnected != null) + else if (AgentSessionEnvironmentConnected is { } __value18 && agentSessionEnvironmentConnected != null) { - return agentSessionEnvironmentDisconnected(__value17); + return agentSessionEnvironmentConnected(__value18); } - else if (AgentSessionEnvironmentFailed is { } __value18 && agentSessionEnvironmentFailed != null) + else if (AgentSessionEnvironmentDisconnected is { } __value19 && agentSessionEnvironmentDisconnected != null) { - return agentSessionEnvironmentFailed(__value18); + return agentSessionEnvironmentDisconnected(__value19); } - else if (AgentSessionSubagentCreated is { } __value19 && agentSessionSubagentCreated != null) + else if (AgentSessionEnvironmentFailed is { } __value20 && agentSessionEnvironmentFailed != null) { - return agentSessionSubagentCreated(__value19); + return agentSessionEnvironmentFailed(__value20); } - else if (AgentSessionSubagentActive is { } __value20 && agentSessionSubagentActive != null) + else if (AgentSessionSubagentCreated is { } __value21 && agentSessionSubagentCreated != null) { - return agentSessionSubagentActive(__value20); + return agentSessionSubagentCreated(__value21); } - else if (AgentSessionSubagentClosed is { } __value21 && agentSessionSubagentClosed != null) + else if (AgentSessionSubagentActive is { } __value22 && agentSessionSubagentActive != null) { - return agentSessionSubagentClosed(__value21); + return agentSessionSubagentActive(__value22); } - else if (AgentSessionTurnItemDone is { } __value22 && agentSessionTurnItemDone != null) + else if (AgentSessionSubagentClosed is { } __value23 && agentSessionSubagentClosed != null) { - return agentSessionTurnItemDone(__value22); + return agentSessionSubagentClosed(__value23); } - else if (AgentSessionTurnContentPartAdded is { } __value23 && agentSessionTurnContentPartAdded != null) + else if (AgentSessionTurnItemDone is { } __value24 && agentSessionTurnItemDone != null) { - return agentSessionTurnContentPartAdded(__value23); + return agentSessionTurnItemDone(__value24); } - else if (AgentSessionTurnContentPartDone is { } __value24 && agentSessionTurnContentPartDone != null) + else if (AgentSessionTurnContentPartAdded is { } __value25 && agentSessionTurnContentPartAdded != null) { - return agentSessionTurnContentPartDone(__value24); + return agentSessionTurnContentPartAdded(__value25); } - else if (AgentSessionTurnOutputTextDelta is { } __value25 && agentSessionTurnOutputTextDelta != null) + else if (AgentSessionTurnContentPartDone is { } __value26 && agentSessionTurnContentPartDone != null) { - return agentSessionTurnOutputTextDelta(__value25); + return agentSessionTurnContentPartDone(__value26); } - else if (AgentSessionTurnOutputTextDone is { } __value26 && agentSessionTurnOutputTextDone != null) + else if (AgentSessionTurnOutputTextDelta is { } __value27 && agentSessionTurnOutputTextDelta != null) { - return agentSessionTurnOutputTextDone(__value26); + return agentSessionTurnOutputTextDelta(__value27); } - else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value27 && agentSessionTurnReasoningSummaryPartAdded != null) + else if (AgentSessionTurnOutputTextDone is { } __value28 && agentSessionTurnOutputTextDone != null) { - return agentSessionTurnReasoningSummaryPartAdded(__value27); + return agentSessionTurnOutputTextDone(__value28); } - else if (AgentSessionTurnReasoningSummaryPartDone is { } __value28 && agentSessionTurnReasoningSummaryPartDone != null) + else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value29 && agentSessionTurnReasoningSummaryPartAdded != null) { - return agentSessionTurnReasoningSummaryPartDone(__value28); + return agentSessionTurnReasoningSummaryPartAdded(__value29); } - else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value29 && agentSessionTurnReasoningSummaryTextDelta != null) + else if (AgentSessionTurnReasoningSummaryPartDone is { } __value30 && agentSessionTurnReasoningSummaryPartDone != null) { - return agentSessionTurnReasoningSummaryTextDelta(__value29); + return agentSessionTurnReasoningSummaryPartDone(__value30); } - else if (AgentSessionTurnReasoningSummaryTextDone is { } __value30 && agentSessionTurnReasoningSummaryTextDone != null) + else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value31 && agentSessionTurnReasoningSummaryTextDelta != null) { - return agentSessionTurnReasoningSummaryTextDone(__value30); + return agentSessionTurnReasoningSummaryTextDelta(__value31); + } + else if (AgentSessionTurnReasoningSummaryTextDone is { } __value32 && agentSessionTurnReasoningSummaryTextDone != null) + { + return agentSessionTurnReasoningSummaryTextDone(__value32); } return default(TResult); @@ -2206,6 +2344,10 @@ public void Match( global::System.Action? agentSessionEnvironmentReady = null, + global::System.Action? agentSessionEnvironmentSuspended = null, + + global::System.Action? agentSessionEnvironmentExpired = null, + global::System.Action? agentSessionEnvironmentReset = null, global::System.Action? agentOutputCommandExecutionOutputDelta = null, @@ -2278,121 +2420,129 @@ public void Match( { agentSessionEnvironmentReady?.Invoke(__value1); } - else if (AgentSessionEnvironmentReset is { } __value2) + else if (AgentSessionEnvironmentSuspended is { } __value2) + { + agentSessionEnvironmentSuspended?.Invoke(__value2); + } + else if (AgentSessionEnvironmentExpired is { } __value3) { - agentSessionEnvironmentReset?.Invoke(__value2); + agentSessionEnvironmentExpired?.Invoke(__value3); } - else if (AgentOutputCommandExecutionOutputDelta is { } __value3) + else if (AgentSessionEnvironmentReset is { } __value4) { - agentOutputCommandExecutionOutputDelta?.Invoke(__value3); + agentSessionEnvironmentReset?.Invoke(__value4); } - else if (AgentSessionCreated is { } __value4) + else if (AgentOutputCommandExecutionOutputDelta is { } __value5) { - agentSessionCreated?.Invoke(__value4); + agentOutputCommandExecutionOutputDelta?.Invoke(__value5); } - else if (AgentSessionTurnCreated is { } __value5) + else if (AgentSessionCreated is { } __value6) { - agentSessionTurnCreated?.Invoke(__value5); + agentSessionCreated?.Invoke(__value6); } - else if (AgentSessionTurnInProgress is { } __value6) + else if (AgentSessionTurnCreated is { } __value7) { - agentSessionTurnInProgress?.Invoke(__value6); + agentSessionTurnCreated?.Invoke(__value7); } - else if (AgentSessionTurnCompleted is { } __value7) + else if (AgentSessionTurnInProgress is { } __value8) { - agentSessionTurnCompleted?.Invoke(__value7); + agentSessionTurnInProgress?.Invoke(__value8); } - else if (AgentSessionTurnFailed is { } __value8) + else if (AgentSessionTurnCompleted is { } __value9) { - agentSessionTurnFailed?.Invoke(__value8); + agentSessionTurnCompleted?.Invoke(__value9); } - else if (AgentSessionTurnCancelled is { } __value9) + else if (AgentSessionTurnFailed is { } __value10) { - agentSessionTurnCancelled?.Invoke(__value9); + agentSessionTurnFailed?.Invoke(__value10); } - else if (AgentSessionTurnItemAdded is { } __value10) + else if (AgentSessionTurnCancelled is { } __value11) { - agentSessionTurnItemAdded?.Invoke(__value10); + agentSessionTurnCancelled?.Invoke(__value11); } - else if (AgentSessionIdle is { } __value11) + else if (AgentSessionTurnItemAdded is { } __value12) { - agentSessionIdle?.Invoke(__value11); + agentSessionTurnItemAdded?.Invoke(__value12); } - else if (AgentSessionInProgress is { } __value12) + else if (AgentSessionIdle is { } __value13) { - agentSessionInProgress?.Invoke(__value12); + agentSessionIdle?.Invoke(__value13); } - else if (AgentSessionRequiresAction is { } __value13) + else if (AgentSessionInProgress is { } __value14) { - agentSessionRequiresAction?.Invoke(__value13); + agentSessionInProgress?.Invoke(__value14); } - else if (AgentSessionFailed is { } __value14) + else if (AgentSessionRequiresAction is { } __value15) { - agentSessionFailed?.Invoke(__value14); + agentSessionRequiresAction?.Invoke(__value15); } - else if (AgentSessionEnvironmentPending is { } __value15) + else if (AgentSessionFailed is { } __value16) { - agentSessionEnvironmentPending?.Invoke(__value15); + agentSessionFailed?.Invoke(__value16); } - else if (AgentSessionEnvironmentConnected is { } __value16) + else if (AgentSessionEnvironmentPending is { } __value17) { - agentSessionEnvironmentConnected?.Invoke(__value16); + agentSessionEnvironmentPending?.Invoke(__value17); } - else if (AgentSessionEnvironmentDisconnected is { } __value17) + else if (AgentSessionEnvironmentConnected is { } __value18) { - agentSessionEnvironmentDisconnected?.Invoke(__value17); + agentSessionEnvironmentConnected?.Invoke(__value18); } - else if (AgentSessionEnvironmentFailed is { } __value18) + else if (AgentSessionEnvironmentDisconnected is { } __value19) { - agentSessionEnvironmentFailed?.Invoke(__value18); + agentSessionEnvironmentDisconnected?.Invoke(__value19); } - else if (AgentSessionSubagentCreated is { } __value19) + else if (AgentSessionEnvironmentFailed is { } __value20) { - agentSessionSubagentCreated?.Invoke(__value19); + agentSessionEnvironmentFailed?.Invoke(__value20); } - else if (AgentSessionSubagentActive is { } __value20) + else if (AgentSessionSubagentCreated is { } __value21) { - agentSessionSubagentActive?.Invoke(__value20); + agentSessionSubagentCreated?.Invoke(__value21); } - else if (AgentSessionSubagentClosed is { } __value21) + else if (AgentSessionSubagentActive is { } __value22) { - agentSessionSubagentClosed?.Invoke(__value21); + agentSessionSubagentActive?.Invoke(__value22); } - else if (AgentSessionTurnItemDone is { } __value22) + else if (AgentSessionSubagentClosed is { } __value23) { - agentSessionTurnItemDone?.Invoke(__value22); + agentSessionSubagentClosed?.Invoke(__value23); } - else if (AgentSessionTurnContentPartAdded is { } __value23) + else if (AgentSessionTurnItemDone is { } __value24) { - agentSessionTurnContentPartAdded?.Invoke(__value23); + agentSessionTurnItemDone?.Invoke(__value24); } - else if (AgentSessionTurnContentPartDone is { } __value24) + else if (AgentSessionTurnContentPartAdded is { } __value25) { - agentSessionTurnContentPartDone?.Invoke(__value24); + agentSessionTurnContentPartAdded?.Invoke(__value25); } - else if (AgentSessionTurnOutputTextDelta is { } __value25) + else if (AgentSessionTurnContentPartDone is { } __value26) { - agentSessionTurnOutputTextDelta?.Invoke(__value25); + agentSessionTurnContentPartDone?.Invoke(__value26); } - else if (AgentSessionTurnOutputTextDone is { } __value26) + else if (AgentSessionTurnOutputTextDelta is { } __value27) { - agentSessionTurnOutputTextDone?.Invoke(__value26); + agentSessionTurnOutputTextDelta?.Invoke(__value27); } - else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value27) + else if (AgentSessionTurnOutputTextDone is { } __value28) { - agentSessionTurnReasoningSummaryPartAdded?.Invoke(__value27); + agentSessionTurnOutputTextDone?.Invoke(__value28); } - else if (AgentSessionTurnReasoningSummaryPartDone is { } __value28) + else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value29) { - agentSessionTurnReasoningSummaryPartDone?.Invoke(__value28); + agentSessionTurnReasoningSummaryPartAdded?.Invoke(__value29); } - else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value29) + else if (AgentSessionTurnReasoningSummaryPartDone is { } __value30) { - agentSessionTurnReasoningSummaryTextDelta?.Invoke(__value29); + agentSessionTurnReasoningSummaryPartDone?.Invoke(__value30); } - else if (AgentSessionTurnReasoningSummaryTextDone is { } __value30) + else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value31) { - agentSessionTurnReasoningSummaryTextDone?.Invoke(__value30); + agentSessionTurnReasoningSummaryTextDelta?.Invoke(__value31); + } + else if (AgentSessionTurnReasoningSummaryTextDone is { } __value32) + { + agentSessionTurnReasoningSummaryTextDone?.Invoke(__value32); } } @@ -2402,6 +2552,8 @@ public void Match( public void Switch( global::System.Action? error = null, global::System.Action? agentSessionEnvironmentReady = null, + global::System.Action? agentSessionEnvironmentSuspended = null, + global::System.Action? agentSessionEnvironmentExpired = null, global::System.Action? agentSessionEnvironmentReset = null, global::System.Action? agentOutputCommandExecutionOutputDelta = null, global::System.Action? agentSessionCreated = null, @@ -2446,121 +2598,129 @@ public void Switch( { agentSessionEnvironmentReady?.Invoke(__value1); } - else if (AgentSessionEnvironmentReset is { } __value2) + else if (AgentSessionEnvironmentSuspended is { } __value2) + { + agentSessionEnvironmentSuspended?.Invoke(__value2); + } + else if (AgentSessionEnvironmentExpired is { } __value3) + { + agentSessionEnvironmentExpired?.Invoke(__value3); + } + else if (AgentSessionEnvironmentReset is { } __value4) { - agentSessionEnvironmentReset?.Invoke(__value2); + agentSessionEnvironmentReset?.Invoke(__value4); } - else if (AgentOutputCommandExecutionOutputDelta is { } __value3) + else if (AgentOutputCommandExecutionOutputDelta is { } __value5) { - agentOutputCommandExecutionOutputDelta?.Invoke(__value3); + agentOutputCommandExecutionOutputDelta?.Invoke(__value5); } - else if (AgentSessionCreated is { } __value4) + else if (AgentSessionCreated is { } __value6) { - agentSessionCreated?.Invoke(__value4); + agentSessionCreated?.Invoke(__value6); } - else if (AgentSessionTurnCreated is { } __value5) + else if (AgentSessionTurnCreated is { } __value7) { - agentSessionTurnCreated?.Invoke(__value5); + agentSessionTurnCreated?.Invoke(__value7); } - else if (AgentSessionTurnInProgress is { } __value6) + else if (AgentSessionTurnInProgress is { } __value8) { - agentSessionTurnInProgress?.Invoke(__value6); + agentSessionTurnInProgress?.Invoke(__value8); } - else if (AgentSessionTurnCompleted is { } __value7) + else if (AgentSessionTurnCompleted is { } __value9) { - agentSessionTurnCompleted?.Invoke(__value7); + agentSessionTurnCompleted?.Invoke(__value9); } - else if (AgentSessionTurnFailed is { } __value8) + else if (AgentSessionTurnFailed is { } __value10) { - agentSessionTurnFailed?.Invoke(__value8); + agentSessionTurnFailed?.Invoke(__value10); } - else if (AgentSessionTurnCancelled is { } __value9) + else if (AgentSessionTurnCancelled is { } __value11) { - agentSessionTurnCancelled?.Invoke(__value9); + agentSessionTurnCancelled?.Invoke(__value11); } - else if (AgentSessionTurnItemAdded is { } __value10) + else if (AgentSessionTurnItemAdded is { } __value12) { - agentSessionTurnItemAdded?.Invoke(__value10); + agentSessionTurnItemAdded?.Invoke(__value12); } - else if (AgentSessionIdle is { } __value11) + else if (AgentSessionIdle is { } __value13) { - agentSessionIdle?.Invoke(__value11); + agentSessionIdle?.Invoke(__value13); } - else if (AgentSessionInProgress is { } __value12) + else if (AgentSessionInProgress is { } __value14) { - agentSessionInProgress?.Invoke(__value12); + agentSessionInProgress?.Invoke(__value14); } - else if (AgentSessionRequiresAction is { } __value13) + else if (AgentSessionRequiresAction is { } __value15) { - agentSessionRequiresAction?.Invoke(__value13); + agentSessionRequiresAction?.Invoke(__value15); } - else if (AgentSessionFailed is { } __value14) + else if (AgentSessionFailed is { } __value16) { - agentSessionFailed?.Invoke(__value14); + agentSessionFailed?.Invoke(__value16); } - else if (AgentSessionEnvironmentPending is { } __value15) + else if (AgentSessionEnvironmentPending is { } __value17) { - agentSessionEnvironmentPending?.Invoke(__value15); + agentSessionEnvironmentPending?.Invoke(__value17); } - else if (AgentSessionEnvironmentConnected is { } __value16) + else if (AgentSessionEnvironmentConnected is { } __value18) { - agentSessionEnvironmentConnected?.Invoke(__value16); + agentSessionEnvironmentConnected?.Invoke(__value18); } - else if (AgentSessionEnvironmentDisconnected is { } __value17) + else if (AgentSessionEnvironmentDisconnected is { } __value19) { - agentSessionEnvironmentDisconnected?.Invoke(__value17); + agentSessionEnvironmentDisconnected?.Invoke(__value19); } - else if (AgentSessionEnvironmentFailed is { } __value18) + else if (AgentSessionEnvironmentFailed is { } __value20) { - agentSessionEnvironmentFailed?.Invoke(__value18); + agentSessionEnvironmentFailed?.Invoke(__value20); } - else if (AgentSessionSubagentCreated is { } __value19) + else if (AgentSessionSubagentCreated is { } __value21) { - agentSessionSubagentCreated?.Invoke(__value19); + agentSessionSubagentCreated?.Invoke(__value21); } - else if (AgentSessionSubagentActive is { } __value20) + else if (AgentSessionSubagentActive is { } __value22) { - agentSessionSubagentActive?.Invoke(__value20); + agentSessionSubagentActive?.Invoke(__value22); } - else if (AgentSessionSubagentClosed is { } __value21) + else if (AgentSessionSubagentClosed is { } __value23) { - agentSessionSubagentClosed?.Invoke(__value21); + agentSessionSubagentClosed?.Invoke(__value23); } - else if (AgentSessionTurnItemDone is { } __value22) + else if (AgentSessionTurnItemDone is { } __value24) { - agentSessionTurnItemDone?.Invoke(__value22); + agentSessionTurnItemDone?.Invoke(__value24); } - else if (AgentSessionTurnContentPartAdded is { } __value23) + else if (AgentSessionTurnContentPartAdded is { } __value25) { - agentSessionTurnContentPartAdded?.Invoke(__value23); + agentSessionTurnContentPartAdded?.Invoke(__value25); } - else if (AgentSessionTurnContentPartDone is { } __value24) + else if (AgentSessionTurnContentPartDone is { } __value26) { - agentSessionTurnContentPartDone?.Invoke(__value24); + agentSessionTurnContentPartDone?.Invoke(__value26); } - else if (AgentSessionTurnOutputTextDelta is { } __value25) + else if (AgentSessionTurnOutputTextDelta is { } __value27) { - agentSessionTurnOutputTextDelta?.Invoke(__value25); + agentSessionTurnOutputTextDelta?.Invoke(__value27); } - else if (AgentSessionTurnOutputTextDone is { } __value26) + else if (AgentSessionTurnOutputTextDone is { } __value28) { - agentSessionTurnOutputTextDone?.Invoke(__value26); + agentSessionTurnOutputTextDone?.Invoke(__value28); } - else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value27) + else if (AgentSessionTurnReasoningSummaryPartAdded is { } __value29) { - agentSessionTurnReasoningSummaryPartAdded?.Invoke(__value27); + agentSessionTurnReasoningSummaryPartAdded?.Invoke(__value29); } - else if (AgentSessionTurnReasoningSummaryPartDone is { } __value28) + else if (AgentSessionTurnReasoningSummaryPartDone is { } __value30) { - agentSessionTurnReasoningSummaryPartDone?.Invoke(__value28); + agentSessionTurnReasoningSummaryPartDone?.Invoke(__value30); } - else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value29) + else if (AgentSessionTurnReasoningSummaryTextDelta is { } __value31) { - agentSessionTurnReasoningSummaryTextDelta?.Invoke(__value29); + agentSessionTurnReasoningSummaryTextDelta?.Invoke(__value31); } - else if (AgentSessionTurnReasoningSummaryTextDone is { } __value30) + else if (AgentSessionTurnReasoningSummaryTextDone is { } __value32) { - agentSessionTurnReasoningSummaryTextDone?.Invoke(__value30); + agentSessionTurnReasoningSummaryTextDone?.Invoke(__value32); } } @@ -2575,6 +2735,10 @@ public override int GetHashCode() typeof(global::tryAGI.OpenAI.SessionEventError), AgentSessionEnvironmentReady, typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady), + AgentSessionEnvironmentSuspended, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended), + AgentSessionEnvironmentExpired, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired), AgentSessionEnvironmentReset, typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset), AgentOutputCommandExecutionOutputDelta, @@ -2651,6 +2815,8 @@ public bool Equals(SessionEvent other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(Error, other.Error) && global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentSessionEnvironmentReady, other.AgentSessionEnvironmentReady) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentSessionEnvironmentSuspended, other.AgentSessionEnvironmentSuspended) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentSessionEnvironmentExpired, other.AgentSessionEnvironmentExpired) && global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentSessionEnvironmentReset, other.AgentSessionEnvironmentReset) && global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentOutputCommandExecutionOutputDelta, other.AgentOutputCommandExecutionOutputDelta) && global::System.Collections.Generic.EqualityComparer.Default.Equals(AgentSessionCreated, other.AgentSessionCreated) && diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.Json.g.cs new file mode 100644 index 000000000..05bd23283 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SessionEventAgentSessionEnvironmentExpired + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired), + jsonSerializerContext) as global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.g.cs new file mode 100644 index 000000000..f83e31c8b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpired.g.cs @@ -0,0 +1,97 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Emitted after a suspended hosted session environment and its checkpoint expire. + /// + public sealed partial class SessionEventAgentSessionEnvironmentExpired + { + /// + /// The type of the object. Always `agent.session.environment.expired`.
+ /// Default Value: agent.session.environment.expired + ///
+ /// global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType.AgentSessionEnvironmentExpired + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentExpiredTypeJsonConverter))] + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType Type { get; set; } = global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType.AgentSessionEnvironmentExpired; + + /// + /// The unique ID of the event. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("event_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventId { get; set; } + + /// + /// The ID of the session associated with the event. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SessionId { get; set; } + + /// + /// The ID of the turn associated with the event, when applicable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("turn_id")] + public string? TurnId { get; set; } + + /// + /// The current environment state. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SessionEnvironmentStateResource Environment { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique ID of the event. + /// + /// + /// The ID of the session associated with the event. + /// + /// + /// The current environment state. + /// + /// + /// The ID of the turn associated with the event, when applicable. + /// + /// + /// The type of the object. Always `agent.session.environment.expired`.
+ /// Default Value: agent.session.environment.expired + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SessionEventAgentSessionEnvironmentExpired( + string eventId, + string sessionId, + global::tryAGI.OpenAI.SessionEnvironmentStateResource environment, + string? turnId, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType type = global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType.AgentSessionEnvironmentExpired) + { + this.Type = type; + this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); + this.TurnId = turnId; + this.Environment = environment ?? throw new global::System.ArgumentNullException(nameof(environment)); + } + + /// + /// Initializes a new instance of the class. + /// + public SessionEventAgentSessionEnvironmentExpired() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpiredType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpiredType.g.cs new file mode 100644 index 000000000..e52de03f0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentExpiredType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the object. Always `agent.session.environment.expired`.
+ /// Default Value: agent.session.environment.expired + ///
+ public enum SessionEventAgentSessionEnvironmentExpiredType + { + /// + /// + /// + AgentSessionEnvironmentExpired, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SessionEventAgentSessionEnvironmentExpiredTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SessionEventAgentSessionEnvironmentExpiredType value) + { + return value switch + { + SessionEventAgentSessionEnvironmentExpiredType.AgentSessionEnvironmentExpired => "agent.session.environment.expired", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SessionEventAgentSessionEnvironmentExpiredType? ToEnum(string value) + { + return value switch + { + "agent.session.environment.expired" => SessionEventAgentSessionEnvironmentExpiredType.AgentSessionEnvironmentExpired, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.Json.g.cs new file mode 100644 index 000000000..e5a5b0f2f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SessionEventAgentSessionEnvironmentSuspended + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended), + jsonSerializerContext) as global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.g.cs new file mode 100644 index 000000000..9d522df4e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspended.g.cs @@ -0,0 +1,97 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Emitted after an idle hosted session environment is checkpointed and stopped. + /// + public sealed partial class SessionEventAgentSessionEnvironmentSuspended + { + /// + /// The type of the object. Always `agent.session.environment.suspended`.
+ /// Default Value: agent.session.environment.suspended + ///
+ /// global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType.AgentSessionEnvironmentSuspended + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionEnvironmentSuspendedTypeJsonConverter))] + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType Type { get; set; } = global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType.AgentSessionEnvironmentSuspended; + + /// + /// The unique ID of the event. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("event_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventId { get; set; } + + /// + /// The ID of the session associated with the event. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SessionId { get; set; } + + /// + /// The ID of the turn associated with the event, when applicable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("turn_id")] + public string? TurnId { get; set; } + + /// + /// The current environment state. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SessionEnvironmentStateResource Environment { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique ID of the event. + /// + /// + /// The ID of the session associated with the event. + /// + /// + /// The current environment state. + /// + /// + /// The ID of the turn associated with the event, when applicable. + /// + /// + /// The type of the object. Always `agent.session.environment.suspended`.
+ /// Default Value: agent.session.environment.suspended + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SessionEventAgentSessionEnvironmentSuspended( + string eventId, + string sessionId, + global::tryAGI.OpenAI.SessionEnvironmentStateResource environment, + string? turnId, + global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType type = global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType.AgentSessionEnvironmentSuspended) + { + this.Type = type; + this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); + this.TurnId = turnId; + this.Environment = environment ?? throw new global::System.ArgumentNullException(nameof(environment)); + } + + /// + /// Initializes a new instance of the class. + /// + public SessionEventAgentSessionEnvironmentSuspended() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspendedType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspendedType.g.cs new file mode 100644 index 000000000..05c160cd5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventAgentSessionEnvironmentSuspendedType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the object. Always `agent.session.environment.suspended`.
+ /// Default Value: agent.session.environment.suspended + ///
+ public enum SessionEventAgentSessionEnvironmentSuspendedType + { + /// + /// + /// + AgentSessionEnvironmentSuspended, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SessionEventAgentSessionEnvironmentSuspendedTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SessionEventAgentSessionEnvironmentSuspendedType value) + { + return value switch + { + SessionEventAgentSessionEnvironmentSuspendedType.AgentSessionEnvironmentSuspended => "agent.session.environment.suspended", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SessionEventAgentSessionEnvironmentSuspendedType? ToEnum(string value) + { + return value switch + { + "agent.session.environment.suspended" => SessionEventAgentSessionEnvironmentSuspendedType.AgentSessionEnvironmentSuspended, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventDiscriminatorType.g.cs index efccbbcff..762341b39 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventDiscriminatorType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SessionEventDiscriminatorType.g.cs @@ -27,6 +27,10 @@ public enum SessionEventDiscriminatorType /// /// /// + AgentSessionEnvironmentExpired, + /// + /// + /// AgentSessionEnvironmentFailed, /// /// @@ -43,6 +47,10 @@ public enum SessionEventDiscriminatorType /// /// /// + AgentSessionEnvironmentSuspended, + /// + /// + /// AgentSessionFailed, /// /// @@ -150,10 +158,12 @@ public static string ToValueString(this SessionEventDiscriminatorType value) SessionEventDiscriminatorType.AgentSessionCreated => "agent.session.created", SessionEventDiscriminatorType.AgentSessionEnvironmentConnected => "agent.session.environment.connected", SessionEventDiscriminatorType.AgentSessionEnvironmentDisconnected => "agent.session.environment.disconnected", + SessionEventDiscriminatorType.AgentSessionEnvironmentExpired => "agent.session.environment.expired", SessionEventDiscriminatorType.AgentSessionEnvironmentFailed => "agent.session.environment.failed", SessionEventDiscriminatorType.AgentSessionEnvironmentPending => "agent.session.environment.pending", SessionEventDiscriminatorType.AgentSessionEnvironmentReady => "agent.session.environment.ready", SessionEventDiscriminatorType.AgentSessionEnvironmentReset => "agent.session.environment.reset", + SessionEventDiscriminatorType.AgentSessionEnvironmentSuspended => "agent.session.environment.suspended", SessionEventDiscriminatorType.AgentSessionFailed => "agent.session.failed", SessionEventDiscriminatorType.AgentSessionIdle => "agent.session.idle", SessionEventDiscriminatorType.AgentSessionInProgress => "agent.session.in_progress", @@ -191,10 +201,12 @@ public static string ToValueString(this SessionEventDiscriminatorType value) "agent.session.created" => SessionEventDiscriminatorType.AgentSessionCreated, "agent.session.environment.connected" => SessionEventDiscriminatorType.AgentSessionEnvironmentConnected, "agent.session.environment.disconnected" => SessionEventDiscriminatorType.AgentSessionEnvironmentDisconnected, + "agent.session.environment.expired" => SessionEventDiscriminatorType.AgentSessionEnvironmentExpired, "agent.session.environment.failed" => SessionEventDiscriminatorType.AgentSessionEnvironmentFailed, "agent.session.environment.pending" => SessionEventDiscriminatorType.AgentSessionEnvironmentPending, "agent.session.environment.ready" => SessionEventDiscriminatorType.AgentSessionEnvironmentReady, "agent.session.environment.reset" => SessionEventDiscriminatorType.AgentSessionEnvironmentReset, + "agent.session.environment.suspended" => SessionEventDiscriminatorType.AgentSessionEnvironmentSuspended, "agent.session.failed" => SessionEventDiscriminatorType.AgentSessionFailed, "agent.session.idle" => SessionEventDiscriminatorType.AgentSessionIdle, "agent.session.in_progress" => SessionEventDiscriminatorType.AgentSessionInProgress, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.Json.g.cs new file mode 100644 index 000000000..1cf5cc202 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct ToolChoiceVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolChoiceVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ToolChoiceVariant2), + jsonSerializerContext) as global::tryAGI.OpenAI.ToolChoiceVariant2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolChoiceVariant2? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ToolChoiceVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ToolChoiceVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ToolChoiceVariant2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.g.cs new file mode 100644 index 000000000..6f7b20282 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant2.g.cs @@ -0,0 +1,1133 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public readonly partial struct ToolChoiceVariant2 : global::System.IEquatable + { + /// + /// + /// + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; init; } +#else + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Function))] +#endif + public bool IsFunction => Function != null; + + /// + /// + /// + public bool TryPickFunction( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) + { + value = Function; + return IsFunction; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam PickFunction() => Function is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; init; } +#else + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Mcp))] +#endif + public bool IsMcp => Mcp != null; + + /// + /// + /// + public bool TryPickMcp( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) + { + value = Mcp; + return IsMcp; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam PickMcp() => Mcp is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Mcp' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FileSearch))] +#endif + public bool IsFileSearch => FileSearch != null; + + /// + /// + /// + public bool TryPickFileSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) + { + value = FileSearch; + return IsFileSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam PickFileSearch() => FileSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearch))] +#endif + public bool IsWebSearch => WebSearch != null; + + /// + /// + /// + public bool TryPickWebSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) + { + value = WebSearch; + return IsWebSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam PickWebSearch() => WebSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearchPreview))] +#endif + public bool IsWebSearchPreview => WebSearchPreview != null; + + /// + /// + /// + public bool TryPickWebSearchPreview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) + { + value = WebSearchPreview; + return IsWebSearchPreview; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam PickWebSearchPreview() => WebSearchPreview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearchPreview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImageGeneration))] +#endif + public bool IsImageGeneration => ImageGeneration != null; + + /// + /// + /// + public bool TryPickImageGeneration( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) + { + value = ImageGeneration; + return IsImageGeneration; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificImageGenParam PickImageGeneration() => ImageGeneration is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ImageGeneration' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Computer))] +#endif + public bool IsComputer => Computer != null; + + /// + /// + /// + public bool TryPickComputer( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificComputerParam? value) + { + value = Computer; + return IsComputer; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificComputerParam PickComputer() => Computer is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Computer' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CodeInterpreter))] +#endif + public bool IsCodeInterpreter => CodeInterpreter != null; + + /// + /// + /// + public bool TryPickCodeInterpreter( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) + { + value = CodeInterpreter; + return IsCodeInterpreter; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam PickCodeInterpreter() => CodeInterpreter is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CodeInterpreter' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ProgrammaticToolCalling))] +#endif + public bool IsProgrammaticToolCalling => ProgrammaticToolCalling != null; + + /// + /// + /// + public bool TryPickProgrammaticToolCalling( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) + { + value = ProgrammaticToolCalling; + return IsProgrammaticToolCalling; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam PickProgrammaticToolCalling() => ProgrammaticToolCalling is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ProgrammaticToolCalling' but the value was {ToString()}."); + + /// + /// Forces the model to call the shell tool when a tool call is required. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Shell))] +#endif + public bool IsShell => Shell != null; + + /// + /// + /// + public bool TryPickShell( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) + { + value = Shell; + return IsShell; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam PickShell() => Shell is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Shell' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] +#endif + public bool IsCustom => Custom != null; + + /// + /// + /// + public bool TryPickCustom( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) + { + value = Custom; + return IsCustom; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam PickCustom() => Custom is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + + /// + /// Forces the model to call the apply_patch tool when executing a tool call. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ApplyPatch))] +#endif + public bool IsApplyPatch => ApplyPatch != null; + + /// + /// + /// + public bool TryPickApplyPatch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) + { + value = ApplyPatch; + return IsApplyPatch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam PickApplyPatch() => ApplyPatch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ApplyPatch' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?(ToolChoiceVariant2 @this) => @this.Function; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) + { + Function = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromFunction(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveMCPToolChoiceParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveMCPToolChoiceParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveMCPToolChoiceParam?(ToolChoiceVariant2 @this) => @this.Mcp; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) + { + Mcp = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromMcp(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificFileSearchParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificFileSearchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFileSearchParam?(ToolChoiceVariant2 @this) => @this.FileSearch; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) + { + FileSearch = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromFileSearch(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificWebSearchParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificWebSearchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchParam?(ToolChoiceVariant2 @this) => @this.WebSearch; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) + { + WebSearch = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromWebSearch(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?(ToolChoiceVariant2 @this) => @this.WebSearchPreview; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) + { + WebSearchPreview = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromWebSearchPreview(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificImageGenParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificImageGenParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificImageGenParam?(ToolChoiceVariant2 @this) => @this.ImageGeneration; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) + { + ImageGeneration = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromImageGeneration(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificComputerParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificComputerParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificComputerParam?(ToolChoiceVariant2 @this) => @this.Computer; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) + { + Computer = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromComputer(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?(ToolChoiceVariant2 @this) => @this.CodeInterpreter; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) + { + CodeInterpreter = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromCodeInterpreter(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?(ToolChoiceVariant2 @this) => @this.ProgrammaticToolCalling; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) + { + ProgrammaticToolCalling = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromProgrammaticToolCalling(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?(ToolChoiceVariant2 @this) => @this.Shell; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) + { + Shell = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromShell(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificCustomToolParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificCustomToolParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCustomToolParam?(ToolChoiceVariant2 @this) => @this.Custom; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) + { + Custom = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromCustom(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam value) => new ToolChoiceVariant2((global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?(ToolChoiceVariant2 @this) => @this.ApplyPatch; + + /// + /// + /// + public ToolChoiceVariant2(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) + { + ApplyPatch = value; + } + + /// + /// + /// + public static ToolChoiceVariant2 FromApplyPatch(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) => new ToolChoiceVariant2(value); + + /// + /// + /// + public ToolChoiceVariant2( + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolChoiceVariant2DiscriminatorType? type, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function, + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp, + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview, + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration, + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer, + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter, + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling, + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell, + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom, + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch + ) + { + Type = type; + + Function = function; + Mcp = mcp; + FileSearch = fileSearch; + WebSearch = webSearch; + WebSearchPreview = webSearchPreview; + ImageGeneration = imageGeneration; + Computer = computer; + CodeInterpreter = codeInterpreter; + ProgrammaticToolCalling = programmaticToolCalling; + Shell = shell; + Custom = custom; + ApplyPatch = applyPatch; + } + + /// + /// + /// + public object? Object => + ApplyPatch as object ?? + Custom as object ?? + Shell as object ?? + ProgrammaticToolCalling as object ?? + CodeInterpreter as object ?? + Computer as object ?? + ImageGeneration as object ?? + WebSearchPreview as object ?? + WebSearch as object ?? + FileSearch as object ?? + Mcp as object ?? + Function as object + ; + + /// + /// + /// + public override string? ToString() => + Function?.ToString() ?? + Mcp?.ToString() ?? + FileSearch?.ToString() ?? + WebSearch?.ToString() ?? + WebSearchPreview?.ToString() ?? + ImageGeneration?.ToString() ?? + Computer?.ToString() ?? + CodeInterpreter?.ToString() ?? + ProgrammaticToolCalling?.ToString() ?? + Shell?.ToString() ?? + Custom?.ToString() ?? + ApplyPatch?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && IsApplyPatch; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? function = null, + global::System.Func? mcp = null, + global::System.Func? fileSearch = null, + global::System.Func? webSearch = null, + global::System.Func? webSearchPreview = null, + global::System.Func? imageGeneration = null, + global::System.Func? computer = null, + global::System.Func? codeInterpreter = null, + global::System.Func? programmaticToolCalling = null, + global::System.Func? shell = null, + global::System.Func? custom = null, + global::System.Func? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0 && function != null) + { + return function(__value0); + } + else if (Mcp is { } __value1 && mcp != null) + { + return mcp(__value1); + } + else if (FileSearch is { } __value2 && fileSearch != null) + { + return fileSearch(__value2); + } + else if (WebSearch is { } __value3 && webSearch != null) + { + return webSearch(__value3); + } + else if (WebSearchPreview is { } __value4 && webSearchPreview != null) + { + return webSearchPreview(__value4); + } + else if (ImageGeneration is { } __value5 && imageGeneration != null) + { + return imageGeneration(__value5); + } + else if (Computer is { } __value6 && computer != null) + { + return computer(__value6); + } + else if (CodeInterpreter is { } __value7 && codeInterpreter != null) + { + return codeInterpreter(__value7); + } + else if (ProgrammaticToolCalling is { } __value8 && programmaticToolCalling != null) + { + return programmaticToolCalling(__value8); + } + else if (Shell is { } __value9 && shell != null) + { + return shell(__value9); + } + else if (Custom is { } __value10 && custom != null) + { + return custom(__value10); + } + else if (ApplyPatch is { } __value11 && applyPatch != null) + { + return applyPatch(__value11); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? function = null, + + global::System.Action? mcp = null, + + global::System.Action? fileSearch = null, + + global::System.Action? webSearch = null, + + global::System.Action? webSearchPreview = null, + + global::System.Action? imageGeneration = null, + + global::System.Action? computer = null, + + global::System.Action? codeInterpreter = null, + + global::System.Action? programmaticToolCalling = null, + + global::System.Action? shell = null, + + global::System.Action? custom = null, + + global::System.Action? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Mcp is { } __value1) + { + mcp?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (WebSearch is { } __value3) + { + webSearch?.Invoke(__value3); + } + else if (WebSearchPreview is { } __value4) + { + webSearchPreview?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Computer is { } __value6) + { + computer?.Invoke(__value6); + } + else if (CodeInterpreter is { } __value7) + { + codeInterpreter?.Invoke(__value7); + } + else if (ProgrammaticToolCalling is { } __value8) + { + programmaticToolCalling?.Invoke(__value8); + } + else if (Shell is { } __value9) + { + shell?.Invoke(__value9); + } + else if (Custom is { } __value10) + { + custom?.Invoke(__value10); + } + else if (ApplyPatch is { } __value11) + { + applyPatch?.Invoke(__value11); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? function = null, + global::System.Action? mcp = null, + global::System.Action? fileSearch = null, + global::System.Action? webSearch = null, + global::System.Action? webSearchPreview = null, + global::System.Action? imageGeneration = null, + global::System.Action? computer = null, + global::System.Action? codeInterpreter = null, + global::System.Action? programmaticToolCalling = null, + global::System.Action? shell = null, + global::System.Action? custom = null, + global::System.Action? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Mcp is { } __value1) + { + mcp?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (WebSearch is { } __value3) + { + webSearch?.Invoke(__value3); + } + else if (WebSearchPreview is { } __value4) + { + webSearchPreview?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Computer is { } __value6) + { + computer?.Invoke(__value6); + } + else if (CodeInterpreter is { } __value7) + { + codeInterpreter?.Invoke(__value7); + } + else if (ProgrammaticToolCalling is { } __value8) + { + programmaticToolCalling?.Invoke(__value8); + } + else if (Shell is { } __value9) + { + shell?.Invoke(__value9); + } + else if (Custom is { } __value10) + { + custom?.Invoke(__value10); + } + else if (ApplyPatch is { } __value11) + { + applyPatch?.Invoke(__value11); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Function, + typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), + Mcp, + typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), + FileSearch, + typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), + WebSearch, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), + WebSearchPreview, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), + ImageGeneration, + typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), + Computer, + typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), + CodeInterpreter, + typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), + ProgrammaticToolCalling, + typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), + Shell, + typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), + Custom, + typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), + ApplyPatch, + typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ToolChoiceVariant2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Mcp, other.Mcp) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(FileSearch, other.FileSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearch, other.WebSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPreview, other.WebSearchPreview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGeneration, other.ImageGeneration) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Computer, other.Computer) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeInterpreter, other.CodeInterpreter) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ProgrammaticToolCalling, other.ProgrammaticToolCalling) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Shell, other.Shell) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatch, other.ApplyPatch) + ; + } + + /// + /// + /// + public static bool operator ==(ToolChoiceVariant2 obj1, ToolChoiceVariant2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ToolChoiceVariant2 obj1, ToolChoiceVariant2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolChoiceVariant2 o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.Json.g.cs new file mode 100644 index 000000000..e38c976e2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct ToolChoiceVariant22 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolChoiceVariant22? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ToolChoiceVariant22), + jsonSerializerContext) as global::tryAGI.OpenAI.ToolChoiceVariant22?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolChoiceVariant22? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ToolChoiceVariant22? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ToolChoiceVariant22), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ToolChoiceVariant22?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.g.cs new file mode 100644 index 000000000..ed539f458 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceVariant22.g.cs @@ -0,0 +1,1133 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public readonly partial struct ToolChoiceVariant22 : global::System.IEquatable + { + /// + /// + /// + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; init; } +#else + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Function))] +#endif + public bool IsFunction => Function != null; + + /// + /// + /// + public bool TryPickFunction( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) + { + value = Function; + return IsFunction; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam PickFunction() => Function is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; init; } +#else + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Mcp))] +#endif + public bool IsMcp => Mcp != null; + + /// + /// + /// + public bool TryPickMcp( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) + { + value = Mcp; + return IsMcp; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam PickMcp() => Mcp is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Mcp' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FileSearch))] +#endif + public bool IsFileSearch => FileSearch != null; + + /// + /// + /// + public bool TryPickFileSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) + { + value = FileSearch; + return IsFileSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam PickFileSearch() => FileSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearch))] +#endif + public bool IsWebSearch => WebSearch != null; + + /// + /// + /// + public bool TryPickWebSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) + { + value = WebSearch; + return IsWebSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam PickWebSearch() => WebSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearchPreview))] +#endif + public bool IsWebSearchPreview => WebSearchPreview != null; + + /// + /// + /// + public bool TryPickWebSearchPreview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) + { + value = WebSearchPreview; + return IsWebSearchPreview; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam PickWebSearchPreview() => WebSearchPreview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearchPreview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImageGeneration))] +#endif + public bool IsImageGeneration => ImageGeneration != null; + + /// + /// + /// + public bool TryPickImageGeneration( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) + { + value = ImageGeneration; + return IsImageGeneration; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificImageGenParam PickImageGeneration() => ImageGeneration is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ImageGeneration' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Computer))] +#endif + public bool IsComputer => Computer != null; + + /// + /// + /// + public bool TryPickComputer( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificComputerParam? value) + { + value = Computer; + return IsComputer; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificComputerParam PickComputer() => Computer is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Computer' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CodeInterpreter))] +#endif + public bool IsCodeInterpreter => CodeInterpreter != null; + + /// + /// + /// + public bool TryPickCodeInterpreter( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) + { + value = CodeInterpreter; + return IsCodeInterpreter; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam PickCodeInterpreter() => CodeInterpreter is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CodeInterpreter' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ProgrammaticToolCalling))] +#endif + public bool IsProgrammaticToolCalling => ProgrammaticToolCalling != null; + + /// + /// + /// + public bool TryPickProgrammaticToolCalling( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) + { + value = ProgrammaticToolCalling; + return IsProgrammaticToolCalling; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam PickProgrammaticToolCalling() => ProgrammaticToolCalling is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ProgrammaticToolCalling' but the value was {ToString()}."); + + /// + /// Forces the model to call the shell tool when a tool call is required. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Shell))] +#endif + public bool IsShell => Shell != null; + + /// + /// + /// + public bool TryPickShell( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) + { + value = Shell; + return IsShell; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam PickShell() => Shell is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Shell' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] +#endif + public bool IsCustom => Custom != null; + + /// + /// + /// + public bool TryPickCustom( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) + { + value = Custom; + return IsCustom; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam PickCustom() => Custom is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + + /// + /// Forces the model to call the apply_patch tool when executing a tool call. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; init; } +#else + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ApplyPatch))] +#endif + public bool IsApplyPatch => ApplyPatch != null; + + /// + /// + /// + public bool TryPickApplyPatch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) + { + value = ApplyPatch; + return IsApplyPatch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam PickApplyPatch() => ApplyPatch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ApplyPatch' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?(ToolChoiceVariant22 @this) => @this.Function; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) + { + Function = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromFunction(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveMCPToolChoiceParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveMCPToolChoiceParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveMCPToolChoiceParam?(ToolChoiceVariant22 @this) => @this.Mcp; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) + { + Mcp = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromMcp(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificFileSearchParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificFileSearchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFileSearchParam?(ToolChoiceVariant22 @this) => @this.FileSearch; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) + { + FileSearch = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromFileSearch(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificWebSearchParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificWebSearchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchParam?(ToolChoiceVariant22 @this) => @this.WebSearch; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) + { + WebSearch = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromWebSearch(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?(ToolChoiceVariant22 @this) => @this.WebSearchPreview; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) + { + WebSearchPreview = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromWebSearchPreview(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificImageGenParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificImageGenParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificImageGenParam?(ToolChoiceVariant22 @this) => @this.ImageGeneration; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) + { + ImageGeneration = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromImageGeneration(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificComputerParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificComputerParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificComputerParam?(ToolChoiceVariant22 @this) => @this.Computer; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) + { + Computer = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromComputer(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?(ToolChoiceVariant22 @this) => @this.CodeInterpreter; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) + { + CodeInterpreter = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromCodeInterpreter(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?(ToolChoiceVariant22 @this) => @this.ProgrammaticToolCalling; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) + { + ProgrammaticToolCalling = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromProgrammaticToolCalling(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?(ToolChoiceVariant22 @this) => @this.Shell; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) + { + Shell = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromShell(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificCustomToolParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificCustomToolParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCustomToolParam?(ToolChoiceVariant22 @this) => @this.Custom; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) + { + Custom = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromCustom(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public static implicit operator ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam value) => new ToolChoiceVariant22((global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?(ToolChoiceVariant22 @this) => @this.ApplyPatch; + + /// + /// + /// + public ToolChoiceVariant22(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) + { + ApplyPatch = value; + } + + /// + /// + /// + public static ToolChoiceVariant22 FromApplyPatch(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) => new ToolChoiceVariant22(value); + + /// + /// + /// + public ToolChoiceVariant22( + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolChoiceVariant2DiscriminatorType? type, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function, + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp, + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview, + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration, + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer, + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter, + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling, + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell, + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom, + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch + ) + { + Type = type; + + Function = function; + Mcp = mcp; + FileSearch = fileSearch; + WebSearch = webSearch; + WebSearchPreview = webSearchPreview; + ImageGeneration = imageGeneration; + Computer = computer; + CodeInterpreter = codeInterpreter; + ProgrammaticToolCalling = programmaticToolCalling; + Shell = shell; + Custom = custom; + ApplyPatch = applyPatch; + } + + /// + /// + /// + public object? Object => + ApplyPatch as object ?? + Custom as object ?? + Shell as object ?? + ProgrammaticToolCalling as object ?? + CodeInterpreter as object ?? + Computer as object ?? + ImageGeneration as object ?? + WebSearchPreview as object ?? + WebSearch as object ?? + FileSearch as object ?? + Mcp as object ?? + Function as object + ; + + /// + /// + /// + public override string? ToString() => + Function?.ToString() ?? + Mcp?.ToString() ?? + FileSearch?.ToString() ?? + WebSearch?.ToString() ?? + WebSearchPreview?.ToString() ?? + ImageGeneration?.ToString() ?? + Computer?.ToString() ?? + CodeInterpreter?.ToString() ?? + ProgrammaticToolCalling?.ToString() ?? + Shell?.ToString() ?? + Custom?.ToString() ?? + ApplyPatch?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && IsApplyPatch; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? function = null, + global::System.Func? mcp = null, + global::System.Func? fileSearch = null, + global::System.Func? webSearch = null, + global::System.Func? webSearchPreview = null, + global::System.Func? imageGeneration = null, + global::System.Func? computer = null, + global::System.Func? codeInterpreter = null, + global::System.Func? programmaticToolCalling = null, + global::System.Func? shell = null, + global::System.Func? custom = null, + global::System.Func? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0 && function != null) + { + return function(__value0); + } + else if (Mcp is { } __value1 && mcp != null) + { + return mcp(__value1); + } + else if (FileSearch is { } __value2 && fileSearch != null) + { + return fileSearch(__value2); + } + else if (WebSearch is { } __value3 && webSearch != null) + { + return webSearch(__value3); + } + else if (WebSearchPreview is { } __value4 && webSearchPreview != null) + { + return webSearchPreview(__value4); + } + else if (ImageGeneration is { } __value5 && imageGeneration != null) + { + return imageGeneration(__value5); + } + else if (Computer is { } __value6 && computer != null) + { + return computer(__value6); + } + else if (CodeInterpreter is { } __value7 && codeInterpreter != null) + { + return codeInterpreter(__value7); + } + else if (ProgrammaticToolCalling is { } __value8 && programmaticToolCalling != null) + { + return programmaticToolCalling(__value8); + } + else if (Shell is { } __value9 && shell != null) + { + return shell(__value9); + } + else if (Custom is { } __value10 && custom != null) + { + return custom(__value10); + } + else if (ApplyPatch is { } __value11 && applyPatch != null) + { + return applyPatch(__value11); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? function = null, + + global::System.Action? mcp = null, + + global::System.Action? fileSearch = null, + + global::System.Action? webSearch = null, + + global::System.Action? webSearchPreview = null, + + global::System.Action? imageGeneration = null, + + global::System.Action? computer = null, + + global::System.Action? codeInterpreter = null, + + global::System.Action? programmaticToolCalling = null, + + global::System.Action? shell = null, + + global::System.Action? custom = null, + + global::System.Action? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Mcp is { } __value1) + { + mcp?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (WebSearch is { } __value3) + { + webSearch?.Invoke(__value3); + } + else if (WebSearchPreview is { } __value4) + { + webSearchPreview?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Computer is { } __value6) + { + computer?.Invoke(__value6); + } + else if (CodeInterpreter is { } __value7) + { + codeInterpreter?.Invoke(__value7); + } + else if (ProgrammaticToolCalling is { } __value8) + { + programmaticToolCalling?.Invoke(__value8); + } + else if (Shell is { } __value9) + { + shell?.Invoke(__value9); + } + else if (Custom is { } __value10) + { + custom?.Invoke(__value10); + } + else if (ApplyPatch is { } __value11) + { + applyPatch?.Invoke(__value11); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? function = null, + global::System.Action? mcp = null, + global::System.Action? fileSearch = null, + global::System.Action? webSearch = null, + global::System.Action? webSearchPreview = null, + global::System.Action? imageGeneration = null, + global::System.Action? computer = null, + global::System.Action? codeInterpreter = null, + global::System.Action? programmaticToolCalling = null, + global::System.Action? shell = null, + global::System.Action? custom = null, + global::System.Action? applyPatch = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Mcp is { } __value1) + { + mcp?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (WebSearch is { } __value3) + { + webSearch?.Invoke(__value3); + } + else if (WebSearchPreview is { } __value4) + { + webSearchPreview?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Computer is { } __value6) + { + computer?.Invoke(__value6); + } + else if (CodeInterpreter is { } __value7) + { + codeInterpreter?.Invoke(__value7); + } + else if (ProgrammaticToolCalling is { } __value8) + { + programmaticToolCalling?.Invoke(__value8); + } + else if (Shell is { } __value9) + { + shell?.Invoke(__value9); + } + else if (Custom is { } __value10) + { + custom?.Invoke(__value10); + } + else if (ApplyPatch is { } __value11) + { + applyPatch?.Invoke(__value11); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Function, + typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), + Mcp, + typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), + FileSearch, + typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), + WebSearch, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), + WebSearchPreview, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), + ImageGeneration, + typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), + Computer, + typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), + CodeInterpreter, + typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), + ProgrammaticToolCalling, + typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), + Shell, + typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), + Custom, + typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), + ApplyPatch, + typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ToolChoiceVariant22 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Mcp, other.Mcp) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(FileSearch, other.FileSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearch, other.WebSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPreview, other.WebSearchPreview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGeneration, other.ImageGeneration) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Computer, other.Computer) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeInterpreter, other.CodeInterpreter) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ProgrammaticToolCalling, other.ProgrammaticToolCalling) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Shell, other.Shell) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatch, other.ApplyPatch) + ; + } + + /// + /// + /// + public static bool operator ==(ToolChoiceVariant22 obj1, ToolChoiceVariant22 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ToolChoiceVariant22 obj1, ToolChoiceVariant22 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolChoiceVariant22 o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem15.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem15.g.cs index 5d7244183..b19256a87 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem15.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem15.g.cs @@ -12,15 +12,15 @@ namespace tryAGI.OpenAI /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? Type { get; } + public global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? Type { get; } /// - /// A function tool available to the Responses backend when the Live model delegates a task. + /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Function { get; init; } + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; init; } #else - public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Function { get; } + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? Function { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickFunction( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) + out global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) { value = Function; return IsFunction; @@ -47,54 +47,54 @@ public bool TryPickFunction( /// /// /// - public global::tryAGI.OpenAI.LiveFunctionToolInputParam PickFunction() => Function is { } value + public global::tryAGI.OpenAI.LiveFunctionToolChoiceParam PickFunction() => Function is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); /// - /// A web search tool available to the Live session’s Responses backend. + /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? WebSearch { get; init; } + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; init; } #else - public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? WebSearch { get; } + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam? Mcp { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearch))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Mcp))] #endif - public bool IsWebSearch => WebSearch != null; + public bool IsMcp => Mcp != null; /// /// /// - public bool TryPickWebSearch( + public bool TryPickMcp( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) + out global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) { - value = WebSearch; - return IsWebSearch; + value = Mcp; + return IsMcp; } /// /// /// - public global::tryAGI.OpenAI.LiveWebSearchToolInputParam PickWebSearch() => WebSearch is { } value + public global::tryAGI.OpenAI.LiveMCPToolChoiceParam PickMcp() => Mcp is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearch' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Mcp' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? FileSearch { get; init; } + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; init; } #else - public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? FileSearch { get; } + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam? FileSearch { get; } #endif /// @@ -112,7 +112,7 @@ public bool TryPickFileSearch( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) { value = FileSearch; return IsFileSearch; @@ -121,7 +121,7 @@ public bool TryPickFileSearch( /// /// /// - public global::tryAGI.OpenAI.LiveFileSearchToolInputParam PickFileSearch() => FileSearch is { } value + public global::tryAGI.OpenAI.LiveSpecificFileSearchParam PickFileSearch() => FileSearch is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearch' but the value was {ToString()}."); @@ -129,83 +129,83 @@ public bool TryPickFileSearch( /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? CodeInterpreter { get; init; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; init; } #else - public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? CodeInterpreter { get; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam? WebSearch { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CodeInterpreter))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearch))] #endif - public bool IsCodeInterpreter => CodeInterpreter != null; + public bool IsWebSearch => WebSearch != null; /// /// /// - public bool TryPickCodeInterpreter( + public bool TryPickWebSearch( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) { - value = CodeInterpreter; - return IsCodeInterpreter; + value = WebSearch; + return IsWebSearch; } /// /// /// - public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam PickCodeInterpreter() => CodeInterpreter is { } value + public global::tryAGI.OpenAI.LiveSpecificWebSearchParam PickWebSearch() => WebSearch is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CodeInterpreter' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearch' but the value was {ToString()}."); /// - /// A Responses shell tool. Use a hosted container or return local shell results with response.item.create. Domain secrets are not supported. + /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Shell { get; init; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; init; } #else - public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Shell { get; } + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? WebSearchPreview { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Shell))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearchPreview))] #endif - public bool IsShell => Shell != null; + public bool IsWebSearchPreview => WebSearchPreview != null; /// /// /// - public bool TryPickShell( + public bool TryPickWebSearchPreview( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) { - value = Shell; - return IsShell; + value = WebSearchPreview; + return IsWebSearchPreview; } /// /// /// - public global::tryAGI.OpenAI.LiveHostedShellToolInputParam PickShell() => Shell is { } value + public global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam PickWebSearchPreview() => WebSearchPreview is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Shell' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearchPreview' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? ImageGeneration { get; init; } + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; init; } #else - public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? ImageGeneration { get; } + public global::tryAGI.OpenAI.LiveSpecificImageGenParam? ImageGeneration { get; } #endif /// @@ -223,7 +223,7 @@ public bool TryPickImageGeneration( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) { value = ImageGeneration; return IsImageGeneration; @@ -232,7 +232,7 @@ public bool TryPickImageGeneration( /// /// /// - public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam PickImageGeneration() => ImageGeneration is { } value + public global::tryAGI.OpenAI.LiveSpecificImageGenParam PickImageGeneration() => ImageGeneration is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ImageGeneration' but the value was {ToString()}."); @@ -240,231 +240,194 @@ public bool TryPickImageGeneration( /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveMCPToolInputParam? Mcp { get; init; } -#else - public global::tryAGI.OpenAI.LiveMCPToolInputParam? Mcp { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Mcp))] -#endif - public bool IsMcp => Mcp != null; - - /// - /// - /// - public bool TryPickMcp( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::tryAGI.OpenAI.LiveMCPToolInputParam? value) - { - value = Mcp; - return IsMcp; - } - - /// - /// - /// - public global::tryAGI.OpenAI.LiveMCPToolInputParam PickMcp() => Mcp is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Mcp' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveCustomToolInputParam? Custom { get; init; } + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; init; } #else - public global::tryAGI.OpenAI.LiveCustomToolInputParam? Custom { get; } + public global::tryAGI.OpenAI.LiveSpecificComputerParam? Computer { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Computer))] #endif - public bool IsCustom => Custom != null; + public bool IsComputer => Computer != null; /// /// /// - public bool TryPickCustom( + public bool TryPickComputer( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveCustomToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificComputerParam? value) { - value = Custom; - return IsCustom; + value = Computer; + return IsComputer; } /// /// /// - public global::tryAGI.OpenAI.LiveCustomToolInputParam PickCustom() => Custom is { } value + public global::tryAGI.OpenAI.LiveSpecificComputerParam PickComputer() => Computer is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Computer' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Namespace { get; init; } + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; init; } #else - public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Namespace { get; } + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? CodeInterpreter { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Namespace))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CodeInterpreter))] #endif - public bool IsNamespace => Namespace != null; + public bool IsCodeInterpreter => CodeInterpreter != null; /// /// /// - public bool TryPickNamespace( + public bool TryPickCodeInterpreter( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) { - value = Namespace; - return IsNamespace; + value = CodeInterpreter; + return IsCodeInterpreter; } /// /// /// - public global::tryAGI.OpenAI.LiveNamespaceToolInputParam PickNamespace() => Namespace is { } value + public global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam PickCodeInterpreter() => CodeInterpreter is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Namespace' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CodeInterpreter' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? ToolSearch { get; init; } + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; init; } #else - public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? ToolSearch { get; } + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? ProgrammaticToolCalling { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ToolSearch))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ProgrammaticToolCalling))] #endif - public bool IsToolSearch => ToolSearch != null; + public bool IsProgrammaticToolCalling => ProgrammaticToolCalling != null; /// /// /// - public bool TryPickToolSearch( + public bool TryPickProgrammaticToolCalling( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) { - value = ToolSearch; - return IsToolSearch; + value = ProgrammaticToolCalling; + return IsProgrammaticToolCalling; } /// /// /// - public global::tryAGI.OpenAI.LiveToolSearchToolInputParam PickToolSearch() => ToolSearch is { } value + public global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam PickProgrammaticToolCalling() => ProgrammaticToolCalling is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ToolSearch' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'ProgrammaticToolCalling' but the value was {ToString()}."); /// - /// + /// Forces the model to call the shell tool when a tool call is required. /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? ProgrammaticToolCalling { get; init; } + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; init; } #else - public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? ProgrammaticToolCalling { get; } + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? Shell { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ProgrammaticToolCalling))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Shell))] #endif - public bool IsProgrammaticToolCalling => ProgrammaticToolCalling != null; + public bool IsShell => Shell != null; /// /// /// - public bool TryPickProgrammaticToolCalling( + public bool TryPickShell( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) { - value = ProgrammaticToolCalling; - return IsProgrammaticToolCalling; + value = Shell; + return IsShell; } /// /// /// - public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam PickProgrammaticToolCalling() => ProgrammaticToolCalling is { } value + public global::tryAGI.OpenAI.LiveSpecificFunctionShellParam PickShell() => Shell is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ProgrammaticToolCalling' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Shell' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveComputerToolInputParam? Computer { get; init; } + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; init; } #else - public global::tryAGI.OpenAI.LiveComputerToolInputParam? Computer { get; } + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam? Custom { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Computer))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] #endif - public bool IsComputer => Computer != null; + public bool IsCustom => Custom != null; /// /// /// - public bool TryPickComputer( + public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveComputerToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) { - value = Computer; - return IsComputer; + value = Custom; + return IsCustom; } /// /// /// - public global::tryAGI.OpenAI.LiveComputerToolInputParam PickComputer() => Computer is { } value + public global::tryAGI.OpenAI.LiveSpecificCustomToolParam PickCustom() => Custom is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Computer' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// - /// + /// Forces the model to call the apply_patch tool when executing a tool call. /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? ApplyPatch { get; init; } + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; init; } #else - public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? ApplyPatch { get; } + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? ApplyPatch { get; } #endif /// @@ -482,7 +445,7 @@ public bool TryPickApplyPatch( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) + out global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) { value = ApplyPatch; return IsApplyPatch; @@ -491,23 +454,23 @@ public bool TryPickApplyPatch( /// /// /// - public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam PickApplyPatch() => ApplyPatch is { } value + public global::tryAGI.OpenAI.LiveSpecificApplyPatchParam PickApplyPatch() => ApplyPatch is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ApplyPatch' but the value was {ToString()}."); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveFunctionToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveFunctionToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveFunctionToolInputParam?(ToolsItem15 @this) => @this.Function; + public static implicit operator global::tryAGI.OpenAI.LiveFunctionToolChoiceParam?(ToolsItem15 @this) => @this.Function; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) { Function = value; } @@ -515,45 +478,45 @@ public ToolsItem15(global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) /// /// /// - public static ToolsItem15 FromFunction(global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromFunction(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveWebSearchToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveWebSearchToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveMCPToolChoiceParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveMCPToolChoiceParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveWebSearchToolInputParam?(ToolsItem15 @this) => @this.WebSearch; + public static implicit operator global::tryAGI.OpenAI.LiveMCPToolChoiceParam?(ToolsItem15 @this) => @this.Mcp; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) { - WebSearch = value; + Mcp = value; } /// /// /// - public static ToolsItem15 FromWebSearch(global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromMcp(global::tryAGI.OpenAI.LiveMCPToolChoiceParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveFileSearchToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveFileSearchToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificFileSearchParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificFileSearchParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveFileSearchToolInputParam?(ToolsItem15 @this) => @this.FileSearch; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFileSearchParam?(ToolsItem15 @this) => @this.FileSearch; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) { FileSearch = value; } @@ -561,68 +524,68 @@ public ToolsItem15(global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) /// /// /// - public static ToolsItem15 FromFileSearch(global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromFileSearch(global::tryAGI.OpenAI.LiveSpecificFileSearchParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificWebSearchParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificWebSearchParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam?(ToolsItem15 @this) => @this.CodeInterpreter; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchParam?(ToolsItem15 @this) => @this.WebSearch; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) { - CodeInterpreter = value; + WebSearch = value; } /// /// /// - public static ToolsItem15 FromCodeInterpreter(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromWebSearch(global::tryAGI.OpenAI.LiveSpecificWebSearchParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveHostedShellToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveHostedShellToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveHostedShellToolInputParam?(ToolsItem15 @this) => @this.Shell; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam?(ToolsItem15 @this) => @this.WebSearchPreview; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) { - Shell = value; + WebSearchPreview = value; } /// /// /// - public static ToolsItem15 FromShell(global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromWebSearchPreview(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveImageGenerationToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificImageGenParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificImageGenParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveImageGenerationToolInputParam?(ToolsItem15 @this) => @this.ImageGeneration; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificImageGenParam?(ToolsItem15 @this) => @this.ImageGeneration; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) { ImageGeneration = value; } @@ -630,160 +593,137 @@ public ToolsItem15(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? valu /// /// /// - public static ToolsItem15 FromImageGeneration(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromImageGeneration(global::tryAGI.OpenAI.LiveSpecificImageGenParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveMCPToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveMCPToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificComputerParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificComputerParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveMCPToolInputParam?(ToolsItem15 @this) => @this.Mcp; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificComputerParam?(ToolsItem15 @this) => @this.Computer; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveMCPToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) { - Mcp = value; - } - - /// - /// - /// - public static ToolsItem15 FromMcp(global::tryAGI.OpenAI.LiveMCPToolInputParam? value) => new ToolsItem15(value); - - /// - /// - /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveCustomToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveCustomToolInputParam?)value); - - /// - /// - /// - public static implicit operator global::tryAGI.OpenAI.LiveCustomToolInputParam?(ToolsItem15 @this) => @this.Custom; - - /// - /// - /// - public ToolsItem15(global::tryAGI.OpenAI.LiveCustomToolInputParam? value) - { - Custom = value; + Computer = value; } /// /// /// - public static ToolsItem15 FromCustom(global::tryAGI.OpenAI.LiveCustomToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromComputer(global::tryAGI.OpenAI.LiveSpecificComputerParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveNamespaceToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveNamespaceToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveNamespaceToolInputParam?(ToolsItem15 @this) => @this.Namespace; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam?(ToolsItem15 @this) => @this.CodeInterpreter; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) { - Namespace = value; + CodeInterpreter = value; } /// /// /// - public static ToolsItem15 FromNamespace(global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromCodeInterpreter(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveToolSearchToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveToolSearchToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveToolSearchToolInputParam?(ToolsItem15 @this) => @this.ToolSearch; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam?(ToolsItem15 @this) => @this.ProgrammaticToolCalling; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) { - ToolSearch = value; + ProgrammaticToolCalling = value; } /// /// /// - public static ToolsItem15 FromToolSearch(global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromProgrammaticToolCalling(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveProgrammaticToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveProgrammaticToolInputParam?(ToolsItem15 @this) => @this.ProgrammaticToolCalling; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificFunctionShellParam?(ToolsItem15 @this) => @this.Shell; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) { - ProgrammaticToolCalling = value; + Shell = value; } /// /// /// - public static ToolsItem15 FromProgrammaticToolCalling(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromShell(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveComputerToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveComputerToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificCustomToolParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificCustomToolParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveComputerToolInputParam?(ToolsItem15 @this) => @this.Computer; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificCustomToolParam?(ToolsItem15 @this) => @this.Custom; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveComputerToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) { - Computer = value; + Custom = value; } /// /// /// - public static ToolsItem15 FromComputer(global::tryAGI.OpenAI.LiveComputerToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromCustom(global::tryAGI.OpenAI.LiveSpecificCustomToolParam? value) => new ToolsItem15(value); /// /// /// - public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveApplyPatchToolInputParam?)value); + public static implicit operator ToolsItem15(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam value) => new ToolsItem15((global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.LiveApplyPatchToolInputParam?(ToolsItem15 @this) => @this.ApplyPatch; + public static implicit operator global::tryAGI.OpenAI.LiveSpecificApplyPatchParam?(ToolsItem15 @this) => @this.ApplyPatch; /// /// /// - public ToolsItem15(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) + public ToolsItem15(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) { ApplyPatch = value; } @@ -791,42 +731,40 @@ public ToolsItem15(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) /// /// /// - public static ToolsItem15 FromApplyPatch(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) => new ToolsItem15(value); + public static ToolsItem15 FromApplyPatch(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? value) => new ToolsItem15(value); /// /// /// public ToolsItem15( - global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? type, - global::tryAGI.OpenAI.LiveFunctionToolInputParam? function, - global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch, - global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch, - global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? codeInterpreter, - global::tryAGI.OpenAI.LiveHostedShellToolInputParam? shell, - global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? imageGeneration, - global::tryAGI.OpenAI.LiveMCPToolInputParam? mcp, - global::tryAGI.OpenAI.LiveCustomToolInputParam? custom, - global::tryAGI.OpenAI.LiveNamespaceToolInputParam? @namespace, - global::tryAGI.OpenAI.LiveToolSearchToolInputParam? toolSearch, - global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? programmaticToolCalling, - global::tryAGI.OpenAI.LiveComputerToolInputParam? computer, - global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? applyPatch + global::tryAGI.OpenAI.LiveAllowedToolsChoiceParamToolDiscriminatorType? type, + global::tryAGI.OpenAI.LiveFunctionToolChoiceParam? function, + global::tryAGI.OpenAI.LiveMCPToolChoiceParam? mcp, + global::tryAGI.OpenAI.LiveSpecificFileSearchParam? fileSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchParam? webSearch, + global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam? webSearchPreview, + global::tryAGI.OpenAI.LiveSpecificImageGenParam? imageGeneration, + global::tryAGI.OpenAI.LiveSpecificComputerParam? computer, + global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam? codeInterpreter, + global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam? programmaticToolCalling, + global::tryAGI.OpenAI.LiveSpecificFunctionShellParam? shell, + global::tryAGI.OpenAI.LiveSpecificCustomToolParam? custom, + global::tryAGI.OpenAI.LiveSpecificApplyPatchParam? applyPatch ) { Type = type; Function = function; - WebSearch = webSearch; + Mcp = mcp; FileSearch = fileSearch; + WebSearch = webSearch; + WebSearchPreview = webSearchPreview; + ImageGeneration = imageGeneration; + Computer = computer; CodeInterpreter = codeInterpreter; + ProgrammaticToolCalling = programmaticToolCalling; Shell = shell; - ImageGeneration = imageGeneration; - Mcp = mcp; Custom = custom; - Namespace = @namespace; - ToolSearch = toolSearch; - ProgrammaticToolCalling = programmaticToolCalling; - Computer = computer; ApplyPatch = applyPatch; } @@ -835,17 +773,16 @@ public ToolsItem15( /// public object? Object => ApplyPatch as object ?? - Computer as object ?? - ProgrammaticToolCalling as object ?? - ToolSearch as object ?? - Namespace as object ?? Custom as object ?? - Mcp as object ?? - ImageGeneration as object ?? Shell as object ?? + ProgrammaticToolCalling as object ?? CodeInterpreter as object ?? - FileSearch as object ?? + Computer as object ?? + ImageGeneration as object ?? + WebSearchPreview as object ?? WebSearch as object ?? + FileSearch as object ?? + Mcp as object ?? Function as object ; @@ -854,17 +791,16 @@ Function as object /// public override string? ToString() => Function?.ToString() ?? - WebSearch?.ToString() ?? + Mcp?.ToString() ?? FileSearch?.ToString() ?? + WebSearch?.ToString() ?? + WebSearchPreview?.ToString() ?? + ImageGeneration?.ToString() ?? + Computer?.ToString() ?? CodeInterpreter?.ToString() ?? + ProgrammaticToolCalling?.ToString() ?? Shell?.ToString() ?? - ImageGeneration?.ToString() ?? - Mcp?.ToString() ?? Custom?.ToString() ?? - Namespace?.ToString() ?? - ToolSearch?.ToString() ?? - ProgrammaticToolCalling?.ToString() ?? - Computer?.ToString() ?? ApplyPatch?.ToString() ; @@ -873,26 +809,25 @@ Function as object /// public bool Validate() { - return IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && IsApplyPatch; + return IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && IsProgrammaticToolCalling && !IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && IsShell && !IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && IsCustom && !IsApplyPatch || !IsFunction && !IsMcp && !IsFileSearch && !IsWebSearch && !IsWebSearchPreview && !IsImageGeneration && !IsComputer && !IsCodeInterpreter && !IsProgrammaticToolCalling && !IsShell && !IsCustom && IsApplyPatch; } /// /// /// public TResult? Match( - global::System.Func? function = null, - global::System.Func? webSearch = null, - global::System.Func? fileSearch = null, - global::System.Func? codeInterpreter = null, - global::System.Func? shell = null, - global::System.Func? imageGeneration = null, - global::System.Func? mcp = null, - global::System.Func? custom = null, - global::System.Func? @namespace = null, - global::System.Func? toolSearch = null, - global::System.Func? programmaticToolCalling = null, - global::System.Func? computer = null, - global::System.Func? applyPatch = null, + global::System.Func? function = null, + global::System.Func? mcp = null, + global::System.Func? fileSearch = null, + global::System.Func? webSearch = null, + global::System.Func? webSearchPreview = null, + global::System.Func? imageGeneration = null, + global::System.Func? computer = null, + global::System.Func? codeInterpreter = null, + global::System.Func? programmaticToolCalling = null, + global::System.Func? shell = null, + global::System.Func? custom = null, + global::System.Func? applyPatch = null, bool validate = true) { if (validate) @@ -904,53 +839,49 @@ public bool Validate() { return function(__value0); } - else if (WebSearch is { } __value1 && webSearch != null) + else if (Mcp is { } __value1 && mcp != null) { - return webSearch(__value1); + return mcp(__value1); } else if (FileSearch is { } __value2 && fileSearch != null) { return fileSearch(__value2); } - else if (CodeInterpreter is { } __value3 && codeInterpreter != null) + else if (WebSearch is { } __value3 && webSearch != null) { - return codeInterpreter(__value3); + return webSearch(__value3); } - else if (Shell is { } __value4 && shell != null) + else if (WebSearchPreview is { } __value4 && webSearchPreview != null) { - return shell(__value4); + return webSearchPreview(__value4); } else if (ImageGeneration is { } __value5 && imageGeneration != null) { return imageGeneration(__value5); } - else if (Mcp is { } __value6 && mcp != null) - { - return mcp(__value6); - } - else if (Custom is { } __value7 && custom != null) + else if (Computer is { } __value6 && computer != null) { - return custom(__value7); + return computer(__value6); } - else if (Namespace is { } __value8 && @namespace != null) + else if (CodeInterpreter is { } __value7 && codeInterpreter != null) { - return @namespace(__value8); + return codeInterpreter(__value7); } - else if (ToolSearch is { } __value9 && toolSearch != null) + else if (ProgrammaticToolCalling is { } __value8 && programmaticToolCalling != null) { - return toolSearch(__value9); + return programmaticToolCalling(__value8); } - else if (ProgrammaticToolCalling is { } __value10 && programmaticToolCalling != null) + else if (Shell is { } __value9 && shell != null) { - return programmaticToolCalling(__value10); + return shell(__value9); } - else if (Computer is { } __value11 && computer != null) + else if (Custom is { } __value10 && custom != null) { - return computer(__value11); + return custom(__value10); } - else if (ApplyPatch is { } __value12 && applyPatch != null) + else if (ApplyPatch is { } __value11 && applyPatch != null) { - return applyPatch(__value12); + return applyPatch(__value11); } return default(TResult); @@ -960,31 +891,29 @@ public bool Validate() /// /// public void Match( - global::System.Action? function = null, + global::System.Action? function = null, - global::System.Action? webSearch = null, + global::System.Action? mcp = null, - global::System.Action? fileSearch = null, + global::System.Action? fileSearch = null, - global::System.Action? codeInterpreter = null, + global::System.Action? webSearch = null, - global::System.Action? shell = null, + global::System.Action? webSearchPreview = null, - global::System.Action? imageGeneration = null, + global::System.Action? imageGeneration = null, - global::System.Action? mcp = null, + global::System.Action? computer = null, - global::System.Action? custom = null, + global::System.Action? codeInterpreter = null, - global::System.Action? @namespace = null, + global::System.Action? programmaticToolCalling = null, - global::System.Action? toolSearch = null, + global::System.Action? shell = null, - global::System.Action? programmaticToolCalling = null, + global::System.Action? custom = null, - global::System.Action? computer = null, - - global::System.Action? applyPatch = null, + global::System.Action? applyPatch = null, bool validate = true) { if (validate) @@ -996,53 +925,49 @@ public void Match( { function?.Invoke(__value0); } - else if (WebSearch is { } __value1) + else if (Mcp is { } __value1) { - webSearch?.Invoke(__value1); + mcp?.Invoke(__value1); } else if (FileSearch is { } __value2) { fileSearch?.Invoke(__value2); } - else if (CodeInterpreter is { } __value3) + else if (WebSearch is { } __value3) { - codeInterpreter?.Invoke(__value3); + webSearch?.Invoke(__value3); } - else if (Shell is { } __value4) + else if (WebSearchPreview is { } __value4) { - shell?.Invoke(__value4); + webSearchPreview?.Invoke(__value4); } else if (ImageGeneration is { } __value5) { imageGeneration?.Invoke(__value5); } - else if (Mcp is { } __value6) - { - mcp?.Invoke(__value6); - } - else if (Custom is { } __value7) + else if (Computer is { } __value6) { - custom?.Invoke(__value7); + computer?.Invoke(__value6); } - else if (Namespace is { } __value8) + else if (CodeInterpreter is { } __value7) { - @namespace?.Invoke(__value8); + codeInterpreter?.Invoke(__value7); } - else if (ToolSearch is { } __value9) + else if (ProgrammaticToolCalling is { } __value8) { - toolSearch?.Invoke(__value9); + programmaticToolCalling?.Invoke(__value8); } - else if (ProgrammaticToolCalling is { } __value10) + else if (Shell is { } __value9) { - programmaticToolCalling?.Invoke(__value10); + shell?.Invoke(__value9); } - else if (Computer is { } __value11) + else if (Custom is { } __value10) { - computer?.Invoke(__value11); + custom?.Invoke(__value10); } - else if (ApplyPatch is { } __value12) + else if (ApplyPatch is { } __value11) { - applyPatch?.Invoke(__value12); + applyPatch?.Invoke(__value11); } } @@ -1050,19 +975,18 @@ public void Match( /// ///
public void Switch( - global::System.Action? function = null, - global::System.Action? webSearch = null, - global::System.Action? fileSearch = null, - global::System.Action? codeInterpreter = null, - global::System.Action? shell = null, - global::System.Action? imageGeneration = null, - global::System.Action? mcp = null, - global::System.Action? custom = null, - global::System.Action? @namespace = null, - global::System.Action? toolSearch = null, - global::System.Action? programmaticToolCalling = null, - global::System.Action? computer = null, - global::System.Action? applyPatch = null, + global::System.Action? function = null, + global::System.Action? mcp = null, + global::System.Action? fileSearch = null, + global::System.Action? webSearch = null, + global::System.Action? webSearchPreview = null, + global::System.Action? imageGeneration = null, + global::System.Action? computer = null, + global::System.Action? codeInterpreter = null, + global::System.Action? programmaticToolCalling = null, + global::System.Action? shell = null, + global::System.Action? custom = null, + global::System.Action? applyPatch = null, bool validate = true) { if (validate) @@ -1074,53 +998,49 @@ public void Switch( { function?.Invoke(__value0); } - else if (WebSearch is { } __value1) + else if (Mcp is { } __value1) { - webSearch?.Invoke(__value1); + mcp?.Invoke(__value1); } else if (FileSearch is { } __value2) { fileSearch?.Invoke(__value2); } - else if (CodeInterpreter is { } __value3) + else if (WebSearch is { } __value3) { - codeInterpreter?.Invoke(__value3); + webSearch?.Invoke(__value3); } - else if (Shell is { } __value4) + else if (WebSearchPreview is { } __value4) { - shell?.Invoke(__value4); + webSearchPreview?.Invoke(__value4); } else if (ImageGeneration is { } __value5) { imageGeneration?.Invoke(__value5); } - else if (Mcp is { } __value6) + else if (Computer is { } __value6) { - mcp?.Invoke(__value6); + computer?.Invoke(__value6); } - else if (Custom is { } __value7) + else if (CodeInterpreter is { } __value7) { - custom?.Invoke(__value7); + codeInterpreter?.Invoke(__value7); } - else if (Namespace is { } __value8) + else if (ProgrammaticToolCalling is { } __value8) { - @namespace?.Invoke(__value8); + programmaticToolCalling?.Invoke(__value8); } - else if (ToolSearch is { } __value9) + else if (Shell is { } __value9) { - toolSearch?.Invoke(__value9); + shell?.Invoke(__value9); } - else if (ProgrammaticToolCalling is { } __value10) + else if (Custom is { } __value10) { - programmaticToolCalling?.Invoke(__value10); + custom?.Invoke(__value10); } - else if (Computer is { } __value11) + else if (ApplyPatch is { } __value11) { - computer?.Invoke(__value11); - } - else if (ApplyPatch is { } __value12) - { - applyPatch?.Invoke(__value12); + applyPatch?.Invoke(__value11); } } @@ -1132,31 +1052,29 @@ public override int GetHashCode() var fields = new object?[] { Function, - typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), - WebSearch, - typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), + typeof(global::tryAGI.OpenAI.LiveFunctionToolChoiceParam), + Mcp, + typeof(global::tryAGI.OpenAI.LiveMCPToolChoiceParam), FileSearch, - typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), + typeof(global::tryAGI.OpenAI.LiveSpecificFileSearchParam), + WebSearch, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchParam), + WebSearchPreview, + typeof(global::tryAGI.OpenAI.LiveSpecificWebSearchPreviewParam), + ImageGeneration, + typeof(global::tryAGI.OpenAI.LiveSpecificImageGenParam), + Computer, + typeof(global::tryAGI.OpenAI.LiveSpecificComputerParam), CodeInterpreter, - typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), + typeof(global::tryAGI.OpenAI.LiveSpecificCodeInterpreterParam), + ProgrammaticToolCalling, + typeof(global::tryAGI.OpenAI.LiveSpecificProgrammaticToolCallingParam), Shell, - typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), - ImageGeneration, - typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), - Mcp, - typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), + typeof(global::tryAGI.OpenAI.LiveSpecificFunctionShellParam), Custom, - typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), - Namespace, - typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), - ToolSearch, - typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), - ProgrammaticToolCalling, - typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), - Computer, - typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), + typeof(global::tryAGI.OpenAI.LiveSpecificCustomToolParam), ApplyPatch, - typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), + typeof(global::tryAGI.OpenAI.LiveSpecificApplyPatchParam), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1173,19 +1091,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(ToolsItem15 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearch, other.WebSearch) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(FileSearch, other.FileSearch) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeInterpreter, other.CodeInterpreter) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Shell, other.Shell) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGeneration, other.ImageGeneration) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Mcp, other.Mcp) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Namespace, other.Namespace) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ToolSearch, other.ToolSearch) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ProgrammaticToolCalling, other.ProgrammaticToolCalling) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Computer, other.Computer) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatch, other.ApplyPatch) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Mcp, other.Mcp) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(FileSearch, other.FileSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearch, other.WebSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPreview, other.WebSearchPreview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGeneration, other.ImageGeneration) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Computer, other.Computer) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeInterpreter, other.CodeInterpreter) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ProgrammaticToolCalling, other.ProgrammaticToolCalling) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Shell, other.Shell) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatch, other.ApplyPatch) ; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem16.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem16.g.cs index 7b17aa860..dc7a1e908 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem16.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem16.g.cs @@ -12,7 +12,7 @@ namespace tryAGI.OpenAI /// /// /// - public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? Type { get; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? Type { get; } /// /// A function tool available to the Responses backend when the Live model delegates a task. @@ -797,7 +797,7 @@ public ToolsItem16(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) /// /// public ToolsItem16( - global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? type, + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsInputParamToolDiscriminatorType? type, global::tryAGI.OpenAI.LiveFunctionToolInputParam? function, global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch, global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem17.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem17.g.cs index 9702f2fae..175c28501 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem17.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem17.g.cs @@ -5,125 +5,670 @@ namespace tryAGI.OpenAI { /// - /// A function or custom tool that belongs to a namespace. + /// /// public readonly partial struct ToolsItem17 : global::System.IEquatable { /// /// /// - public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? Type { get; } + public global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? Type { get; } + + /// + /// A function tool available to the Responses backend when the Live model delegates a task. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Function { get; init; } +#else + public global::tryAGI.OpenAI.LiveFunctionToolInputParam? Function { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Function))] +#endif + public bool IsFunction => Function != null; + + /// + /// + /// + public bool TryPickFunction( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) + { + value = Function; + return IsFunction; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveFunctionToolInputParam PickFunction() => Function is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); + + /// + /// A web search tool available to the Live session’s Responses backend. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? WebSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveWebSearchToolInputParam? WebSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebSearch))] +#endif + public bool IsWebSearch => WebSearch != null; + + /// + /// + /// + public bool TryPickWebSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) + { + value = WebSearch; + return IsWebSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveWebSearchToolInputParam PickWebSearch() => WebSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? FileSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveFileSearchToolInputParam? FileSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FileSearch))] +#endif + public bool IsFileSearch => FileSearch != null; + + /// + /// + /// + public bool TryPickFileSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) + { + value = FileSearch; + return IsFileSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveFileSearchToolInputParam PickFileSearch() => FileSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? CodeInterpreter { get; init; } +#else + public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? CodeInterpreter { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CodeInterpreter))] +#endif + public bool IsCodeInterpreter => CodeInterpreter != null; + + /// + /// + /// + public bool TryPickCodeInterpreter( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) + { + value = CodeInterpreter; + return IsCodeInterpreter; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam PickCodeInterpreter() => CodeInterpreter is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CodeInterpreter' but the value was {ToString()}."); + + /// + /// A Responses shell tool. Use a hosted container or return local shell results with response.item.create. Domain secrets are not supported. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Shell { get; init; } +#else + public global::tryAGI.OpenAI.LiveHostedShellToolInputParam? Shell { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Shell))] +#endif + public bool IsShell => Shell != null; + + /// + /// + /// + public bool TryPickShell( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) + { + value = Shell; + return IsShell; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveHostedShellToolInputParam PickShell() => Shell is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Shell' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? ImageGeneration { get; init; } +#else + public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? ImageGeneration { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImageGeneration))] +#endif + public bool IsImageGeneration => ImageGeneration != null; + + /// + /// + /// + public bool TryPickImageGeneration( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) + { + value = ImageGeneration; + return IsImageGeneration; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveImageGenerationToolInputParam PickImageGeneration() => ImageGeneration is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ImageGeneration' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveMCPToolInputParam? Mcp { get; init; } +#else + public global::tryAGI.OpenAI.LiveMCPToolInputParam? Mcp { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Mcp))] +#endif + public bool IsMcp => Mcp != null; + + /// + /// + /// + public bool TryPickMcp( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveMCPToolInputParam? value) + { + value = Mcp; + return IsMcp; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveMCPToolInputParam PickMcp() => Mcp is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Mcp' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveCustomToolInputParam? Custom { get; init; } +#else + public global::tryAGI.OpenAI.LiveCustomToolInputParam? Custom { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] +#endif + public bool IsCustom => Custom != null; + + /// + /// + /// + public bool TryPickCustom( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveCustomToolInputParam? value) + { + value = Custom; + return IsCustom; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveCustomToolInputParam PickCustom() => Custom is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Namespace { get; init; } +#else + public global::tryAGI.OpenAI.LiveNamespaceToolInputParam? Namespace { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Namespace))] +#endif + public bool IsNamespace => Namespace != null; + + /// + /// + /// + public bool TryPickNamespace( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) + { + value = Namespace; + return IsNamespace; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveNamespaceToolInputParam PickNamespace() => Namespace is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Namespace' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? ToolSearch { get; init; } +#else + public global::tryAGI.OpenAI.LiveToolSearchToolInputParam? ToolSearch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ToolSearch))] +#endif + public bool IsToolSearch => ToolSearch != null; + + /// + /// + /// + public bool TryPickToolSearch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) + { + value = ToolSearch; + return IsToolSearch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveToolSearchToolInputParam PickToolSearch() => ToolSearch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ToolSearch' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? ProgrammaticToolCalling { get; init; } +#else + public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? ProgrammaticToolCalling { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ProgrammaticToolCalling))] +#endif + public bool IsProgrammaticToolCalling => ProgrammaticToolCalling != null; + + /// + /// + /// + public bool TryPickProgrammaticToolCalling( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) + { + value = ProgrammaticToolCalling; + return IsProgrammaticToolCalling; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveProgrammaticToolInputParam PickProgrammaticToolCalling() => ProgrammaticToolCalling is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ProgrammaticToolCalling' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveComputerToolInputParam? Computer { get; init; } +#else + public global::tryAGI.OpenAI.LiveComputerToolInputParam? Computer { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Computer))] +#endif + public bool IsComputer => Computer != null; + + /// + /// + /// + public bool TryPickComputer( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveComputerToolInputParam? value) + { + value = Computer; + return IsComputer; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveComputerToolInputParam PickComputer() => Computer is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Computer' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? ApplyPatch { get; init; } +#else + public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? ApplyPatch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ApplyPatch))] +#endif + public bool IsApplyPatch => ApplyPatch != null; + + /// + /// + /// + public bool TryPickApplyPatch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) + { + value = ApplyPatch; + return IsApplyPatch; + } + + /// + /// + /// + public global::tryAGI.OpenAI.LiveApplyPatchToolInputParam PickApplyPatch() => ApplyPatch is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ApplyPatch' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveFunctionToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveFunctionToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveFunctionToolInputParam?(ToolsItem17 @this) => @this.Function; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) + { + Function = value; + } + + /// + /// + /// + public static ToolsItem17 FromFunction(global::tryAGI.OpenAI.LiveFunctionToolInputParam? value) => new ToolsItem17(value); /// /// /// -#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.BetaFunctionToolParam? Function { get; init; } -#else - public global::tryAGI.OpenAI.BetaFunctionToolParam? Function { get; } -#endif + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveWebSearchToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveWebSearchToolInputParam?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Function))] -#endif - public bool IsFunction => Function != null; + public static implicit operator global::tryAGI.OpenAI.LiveWebSearchToolInputParam?(ToolsItem17 @this) => @this.WebSearch; /// /// /// - public bool TryPickFunction( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::tryAGI.OpenAI.BetaFunctionToolParam? value) + public ToolsItem17(global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) { - value = Function; - return IsFunction; + WebSearch = value; } /// /// /// - public global::tryAGI.OpenAI.BetaFunctionToolParam PickFunction() => Function is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); + public static ToolsItem17 FromWebSearch(global::tryAGI.OpenAI.LiveWebSearchToolInputParam? value) => new ToolsItem17(value); /// - /// A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + /// /// -#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.BetaCustomToolParam? Custom { get; init; } -#else - public global::tryAGI.OpenAI.BetaCustomToolParam? Custom { get; } -#endif + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveFileSearchToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveFileSearchToolInputParam?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] -#endif - public bool IsCustom => Custom != null; + public static implicit operator global::tryAGI.OpenAI.LiveFileSearchToolInputParam?(ToolsItem17 @this) => @this.FileSearch; /// /// /// - public bool TryPickCustom( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::tryAGI.OpenAI.BetaCustomToolParam? value) + public ToolsItem17(global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) { - value = Custom; - return IsCustom; + FileSearch = value; } /// /// /// - public global::tryAGI.OpenAI.BetaCustomToolParam PickCustom() => Custom is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + public static ToolsItem17 FromFileSearch(global::tryAGI.OpenAI.LiveFileSearchToolInputParam? value) => new ToolsItem17(value); + /// /// /// - public static implicit operator ToolsItem17(global::tryAGI.OpenAI.BetaFunctionToolParam value) => new ToolsItem17((global::tryAGI.OpenAI.BetaFunctionToolParam?)value); + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.BetaFunctionToolParam?(ToolsItem17 @this) => @this.Function; + public static implicit operator global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam?(ToolsItem17 @this) => @this.CodeInterpreter; /// /// /// - public ToolsItem17(global::tryAGI.OpenAI.BetaFunctionToolParam? value) + public ToolsItem17(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) { - Function = value; + CodeInterpreter = value; + } + + /// + /// + /// + public static ToolsItem17 FromCodeInterpreter(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveHostedShellToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveHostedShellToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveHostedShellToolInputParam?(ToolsItem17 @this) => @this.Shell; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) + { + Shell = value; + } + + /// + /// + /// + public static ToolsItem17 FromShell(global::tryAGI.OpenAI.LiveHostedShellToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveImageGenerationToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveImageGenerationToolInputParam?(ToolsItem17 @this) => @this.ImageGeneration; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) + { + ImageGeneration = value; + } + + /// + /// + /// + public static ToolsItem17 FromImageGeneration(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveMCPToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveMCPToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveMCPToolInputParam?(ToolsItem17 @this) => @this.Mcp; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveMCPToolInputParam? value) + { + Mcp = value; } /// /// /// - public static ToolsItem17 FromFunction(global::tryAGI.OpenAI.BetaFunctionToolParam? value) => new ToolsItem17(value); + public static ToolsItem17 FromMcp(global::tryAGI.OpenAI.LiveMCPToolInputParam? value) => new ToolsItem17(value); /// /// /// - public static implicit operator ToolsItem17(global::tryAGI.OpenAI.BetaCustomToolParam value) => new ToolsItem17((global::tryAGI.OpenAI.BetaCustomToolParam?)value); + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveCustomToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveCustomToolInputParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.BetaCustomToolParam?(ToolsItem17 @this) => @this.Custom; + public static implicit operator global::tryAGI.OpenAI.LiveCustomToolInputParam?(ToolsItem17 @this) => @this.Custom; /// /// /// - public ToolsItem17(global::tryAGI.OpenAI.BetaCustomToolParam? value) + public ToolsItem17(global::tryAGI.OpenAI.LiveCustomToolInputParam? value) { Custom = value; } @@ -131,28 +676,176 @@ public ToolsItem17(global::tryAGI.OpenAI.BetaCustomToolParam? value) /// /// /// - public static ToolsItem17 FromCustom(global::tryAGI.OpenAI.BetaCustomToolParam? value) => new ToolsItem17(value); + public static ToolsItem17 FromCustom(global::tryAGI.OpenAI.LiveCustomToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveNamespaceToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveNamespaceToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveNamespaceToolInputParam?(ToolsItem17 @this) => @this.Namespace; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) + { + Namespace = value; + } + + /// + /// + /// + public static ToolsItem17 FromNamespace(global::tryAGI.OpenAI.LiveNamespaceToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveToolSearchToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveToolSearchToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveToolSearchToolInputParam?(ToolsItem17 @this) => @this.ToolSearch; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) + { + ToolSearch = value; + } + + /// + /// + /// + public static ToolsItem17 FromToolSearch(global::tryAGI.OpenAI.LiveToolSearchToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveProgrammaticToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveProgrammaticToolInputParam?(ToolsItem17 @this) => @this.ProgrammaticToolCalling; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) + { + ProgrammaticToolCalling = value; + } + + /// + /// + /// + public static ToolsItem17 FromProgrammaticToolCalling(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveComputerToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveComputerToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveComputerToolInputParam?(ToolsItem17 @this) => @this.Computer; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveComputerToolInputParam? value) + { + Computer = value; + } + + /// + /// + /// + public static ToolsItem17 FromComputer(global::tryAGI.OpenAI.LiveComputerToolInputParam? value) => new ToolsItem17(value); + + /// + /// + /// + public static implicit operator ToolsItem17(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam value) => new ToolsItem17((global::tryAGI.OpenAI.LiveApplyPatchToolInputParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.LiveApplyPatchToolInputParam?(ToolsItem17 @this) => @this.ApplyPatch; + + /// + /// + /// + public ToolsItem17(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) + { + ApplyPatch = value; + } + + /// + /// + /// + public static ToolsItem17 FromApplyPatch(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? value) => new ToolsItem17(value); /// /// /// public ToolsItem17( - global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? type, - global::tryAGI.OpenAI.BetaFunctionToolParam? function, - global::tryAGI.OpenAI.BetaCustomToolParam? custom + global::tryAGI.OpenAI.LiveResponsesDelegationSettingsUpdateInputParamToolDiscriminatorType? type, + global::tryAGI.OpenAI.LiveFunctionToolInputParam? function, + global::tryAGI.OpenAI.LiveWebSearchToolInputParam? webSearch, + global::tryAGI.OpenAI.LiveFileSearchToolInputParam? fileSearch, + global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam? codeInterpreter, + global::tryAGI.OpenAI.LiveHostedShellToolInputParam? shell, + global::tryAGI.OpenAI.LiveImageGenerationToolInputParam? imageGeneration, + global::tryAGI.OpenAI.LiveMCPToolInputParam? mcp, + global::tryAGI.OpenAI.LiveCustomToolInputParam? custom, + global::tryAGI.OpenAI.LiveNamespaceToolInputParam? @namespace, + global::tryAGI.OpenAI.LiveToolSearchToolInputParam? toolSearch, + global::tryAGI.OpenAI.LiveProgrammaticToolInputParam? programmaticToolCalling, + global::tryAGI.OpenAI.LiveComputerToolInputParam? computer, + global::tryAGI.OpenAI.LiveApplyPatchToolInputParam? applyPatch ) { Type = type; Function = function; + WebSearch = webSearch; + FileSearch = fileSearch; + CodeInterpreter = codeInterpreter; + Shell = shell; + ImageGeneration = imageGeneration; + Mcp = mcp; Custom = custom; + Namespace = @namespace; + ToolSearch = toolSearch; + ProgrammaticToolCalling = programmaticToolCalling; + Computer = computer; + ApplyPatch = applyPatch; } /// /// /// public object? Object => + ApplyPatch as object ?? + Computer as object ?? + ProgrammaticToolCalling as object ?? + ToolSearch as object ?? + Namespace as object ?? Custom as object ?? + Mcp as object ?? + ImageGeneration as object ?? + Shell as object ?? + CodeInterpreter as object ?? + FileSearch as object ?? + WebSearch as object ?? Function as object ; @@ -161,7 +854,18 @@ Function as object ///
public override string? ToString() => Function?.ToString() ?? - Custom?.ToString() + WebSearch?.ToString() ?? + FileSearch?.ToString() ?? + CodeInterpreter?.ToString() ?? + Shell?.ToString() ?? + ImageGeneration?.ToString() ?? + Mcp?.ToString() ?? + Custom?.ToString() ?? + Namespace?.ToString() ?? + ToolSearch?.ToString() ?? + ProgrammaticToolCalling?.ToString() ?? + Computer?.ToString() ?? + ApplyPatch?.ToString() ; /// @@ -169,15 +873,26 @@ Function as object /// public bool Validate() { - return IsFunction && !IsCustom || !IsFunction && IsCustom; + return IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && IsProgrammaticToolCalling && !IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && IsComputer && !IsApplyPatch || !IsFunction && !IsWebSearch && !IsFileSearch && !IsCodeInterpreter && !IsShell && !IsImageGeneration && !IsMcp && !IsCustom && !IsNamespace && !IsToolSearch && !IsProgrammaticToolCalling && !IsComputer && IsApplyPatch; } /// /// /// public TResult? Match( - global::System.Func? function = null, - global::System.Func? custom = null, + global::System.Func? function = null, + global::System.Func? webSearch = null, + global::System.Func? fileSearch = null, + global::System.Func? codeInterpreter = null, + global::System.Func? shell = null, + global::System.Func? imageGeneration = null, + global::System.Func? mcp = null, + global::System.Func? custom = null, + global::System.Func? @namespace = null, + global::System.Func? toolSearch = null, + global::System.Func? programmaticToolCalling = null, + global::System.Func? computer = null, + global::System.Func? applyPatch = null, bool validate = true) { if (validate) @@ -189,9 +904,53 @@ public bool Validate() { return function(__value0); } - else if (Custom is { } __value1 && custom != null) + else if (WebSearch is { } __value1 && webSearch != null) + { + return webSearch(__value1); + } + else if (FileSearch is { } __value2 && fileSearch != null) + { + return fileSearch(__value2); + } + else if (CodeInterpreter is { } __value3 && codeInterpreter != null) + { + return codeInterpreter(__value3); + } + else if (Shell is { } __value4 && shell != null) + { + return shell(__value4); + } + else if (ImageGeneration is { } __value5 && imageGeneration != null) + { + return imageGeneration(__value5); + } + else if (Mcp is { } __value6 && mcp != null) + { + return mcp(__value6); + } + else if (Custom is { } __value7 && custom != null) + { + return custom(__value7); + } + else if (Namespace is { } __value8 && @namespace != null) + { + return @namespace(__value8); + } + else if (ToolSearch is { } __value9 && toolSearch != null) + { + return toolSearch(__value9); + } + else if (ProgrammaticToolCalling is { } __value10 && programmaticToolCalling != null) + { + return programmaticToolCalling(__value10); + } + else if (Computer is { } __value11 && computer != null) + { + return computer(__value11); + } + else if (ApplyPatch is { } __value12 && applyPatch != null) { - return custom(__value1); + return applyPatch(__value12); } return default(TResult); @@ -201,9 +960,31 @@ public bool Validate() /// ///
public void Match( - global::System.Action? function = null, + global::System.Action? function = null, + + global::System.Action? webSearch = null, + + global::System.Action? fileSearch = null, + + global::System.Action? codeInterpreter = null, + + global::System.Action? shell = null, + + global::System.Action? imageGeneration = null, + + global::System.Action? mcp = null, + + global::System.Action? custom = null, - global::System.Action? custom = null, + global::System.Action? @namespace = null, + + global::System.Action? toolSearch = null, + + global::System.Action? programmaticToolCalling = null, + + global::System.Action? computer = null, + + global::System.Action? applyPatch = null, bool validate = true) { if (validate) @@ -215,9 +996,53 @@ public void Match( { function?.Invoke(__value0); } - else if (Custom is { } __value1) + else if (WebSearch is { } __value1) + { + webSearch?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (CodeInterpreter is { } __value3) + { + codeInterpreter?.Invoke(__value3); + } + else if (Shell is { } __value4) + { + shell?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Mcp is { } __value6) + { + mcp?.Invoke(__value6); + } + else if (Custom is { } __value7) { - custom?.Invoke(__value1); + custom?.Invoke(__value7); + } + else if (Namespace is { } __value8) + { + @namespace?.Invoke(__value8); + } + else if (ToolSearch is { } __value9) + { + toolSearch?.Invoke(__value9); + } + else if (ProgrammaticToolCalling is { } __value10) + { + programmaticToolCalling?.Invoke(__value10); + } + else if (Computer is { } __value11) + { + computer?.Invoke(__value11); + } + else if (ApplyPatch is { } __value12) + { + applyPatch?.Invoke(__value12); } } @@ -225,8 +1050,19 @@ public void Match( /// ///
public void Switch( - global::System.Action? function = null, - global::System.Action? custom = null, + global::System.Action? function = null, + global::System.Action? webSearch = null, + global::System.Action? fileSearch = null, + global::System.Action? codeInterpreter = null, + global::System.Action? shell = null, + global::System.Action? imageGeneration = null, + global::System.Action? mcp = null, + global::System.Action? custom = null, + global::System.Action? @namespace = null, + global::System.Action? toolSearch = null, + global::System.Action? programmaticToolCalling = null, + global::System.Action? computer = null, + global::System.Action? applyPatch = null, bool validate = true) { if (validate) @@ -238,9 +1074,53 @@ public void Switch( { function?.Invoke(__value0); } - else if (Custom is { } __value1) + else if (WebSearch is { } __value1) + { + webSearch?.Invoke(__value1); + } + else if (FileSearch is { } __value2) + { + fileSearch?.Invoke(__value2); + } + else if (CodeInterpreter is { } __value3) + { + codeInterpreter?.Invoke(__value3); + } + else if (Shell is { } __value4) + { + shell?.Invoke(__value4); + } + else if (ImageGeneration is { } __value5) + { + imageGeneration?.Invoke(__value5); + } + else if (Mcp is { } __value6) + { + mcp?.Invoke(__value6); + } + else if (Custom is { } __value7) + { + custom?.Invoke(__value7); + } + else if (Namespace is { } __value8) + { + @namespace?.Invoke(__value8); + } + else if (ToolSearch is { } __value9) + { + toolSearch?.Invoke(__value9); + } + else if (ProgrammaticToolCalling is { } __value10) + { + programmaticToolCalling?.Invoke(__value10); + } + else if (Computer is { } __value11) + { + computer?.Invoke(__value11); + } + else if (ApplyPatch is { } __value12) { - custom?.Invoke(__value1); + applyPatch?.Invoke(__value12); } } @@ -252,9 +1132,31 @@ public override int GetHashCode() var fields = new object?[] { Function, - typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), + typeof(global::tryAGI.OpenAI.LiveFunctionToolInputParam), + WebSearch, + typeof(global::tryAGI.OpenAI.LiveWebSearchToolInputParam), + FileSearch, + typeof(global::tryAGI.OpenAI.LiveFileSearchToolInputParam), + CodeInterpreter, + typeof(global::tryAGI.OpenAI.LiveCodeInterpreterToolInputParam), + Shell, + typeof(global::tryAGI.OpenAI.LiveHostedShellToolInputParam), + ImageGeneration, + typeof(global::tryAGI.OpenAI.LiveImageGenerationToolInputParam), + Mcp, + typeof(global::tryAGI.OpenAI.LiveMCPToolInputParam), Custom, - typeof(global::tryAGI.OpenAI.BetaCustomToolParam), + typeof(global::tryAGI.OpenAI.LiveCustomToolInputParam), + Namespace, + typeof(global::tryAGI.OpenAI.LiveNamespaceToolInputParam), + ToolSearch, + typeof(global::tryAGI.OpenAI.LiveToolSearchToolInputParam), + ProgrammaticToolCalling, + typeof(global::tryAGI.OpenAI.LiveProgrammaticToolInputParam), + Computer, + typeof(global::tryAGI.OpenAI.LiveComputerToolInputParam), + ApplyPatch, + typeof(global::tryAGI.OpenAI.LiveApplyPatchToolInputParam), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +1173,19 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(ToolsItem17 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearch, other.WebSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(FileSearch, other.FileSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeInterpreter, other.CodeInterpreter) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Shell, other.Shell) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGeneration, other.ImageGeneration) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Mcp, other.Mcp) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Namespace, other.Namespace) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ToolSearch, other.ToolSearch) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ProgrammaticToolCalling, other.ProgrammaticToolCalling) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Computer, other.Computer) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatch, other.ApplyPatch) ; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem18.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem18.g.cs index 09c35ecb2..e3c197ce7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem18.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem18.g.cs @@ -5,22 +5,22 @@ namespace tryAGI.OpenAI { /// - /// A function or custom tool loaded into a namespace by tool search. + /// A function or custom tool that belongs to a namespace. /// public readonly partial struct ToolsItem18 : global::System.IEquatable { /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type { get; } + public global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Function { get; init; } + public global::tryAGI.OpenAI.BetaFunctionToolParam? Function { get; init; } #else - public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Function { get; } + public global::tryAGI.OpenAI.BetaFunctionToolParam? Function { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickFunction( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) + out global::tryAGI.OpenAI.BetaFunctionToolParam? value) { value = Function; return IsFunction; @@ -47,7 +47,7 @@ public bool TryPickFunction( /// /// /// - public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam PickFunction() => Function is { } value + public global::tryAGI.OpenAI.BetaFunctionToolParam PickFunction() => Function is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); @@ -90,17 +90,17 @@ public bool TryPickCustom( /// /// /// - public static implicit operator ToolsItem18(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam value) => new ToolsItem18((global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam?)value); + public static implicit operator ToolsItem18(global::tryAGI.OpenAI.BetaFunctionToolParam value) => new ToolsItem18((global::tryAGI.OpenAI.BetaFunctionToolParam?)value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam?(ToolsItem18 @this) => @this.Function; + public static implicit operator global::tryAGI.OpenAI.BetaFunctionToolParam?(ToolsItem18 @this) => @this.Function; /// /// /// - public ToolsItem18(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) + public ToolsItem18(global::tryAGI.OpenAI.BetaFunctionToolParam? value) { Function = value; } @@ -108,7 +108,7 @@ public ToolsItem18(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? /// /// /// - public static ToolsItem18 FromFunction(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) => new ToolsItem18(value); + public static ToolsItem18 FromFunction(global::tryAGI.OpenAI.BetaFunctionToolParam? value) => new ToolsItem18(value); /// /// @@ -137,8 +137,8 @@ public ToolsItem18(global::tryAGI.OpenAI.BetaCustomToolParam? value) /// /// public ToolsItem18( - global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? type, - global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? function, + global::tryAGI.OpenAI.BetaNamespaceToolParamToolDiscriminatorType? type, + global::tryAGI.OpenAI.BetaFunctionToolParam? function, global::tryAGI.OpenAI.BetaCustomToolParam? custom ) { @@ -176,7 +176,7 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? function = null, + global::System.Func? function = null, global::System.Func? custom = null, bool validate = true) { @@ -201,7 +201,7 @@ public bool Validate() /// ///
public void Match( - global::System.Action? function = null, + global::System.Action? function = null, global::System.Action? custom = null, bool validate = true) @@ -225,7 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? function = null, + global::System.Action? function = null, global::System.Action? custom = null, bool validate = true) { @@ -252,7 +252,7 @@ public override int GetHashCode() var fields = new object?[] { Function, - typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), + typeof(global::tryAGI.OpenAI.BetaFunctionToolParam), Custom, typeof(global::tryAGI.OpenAI.BetaCustomToolParam), }; @@ -271,7 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(ToolsItem18 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.Json.g.cs new file mode 100644 index 000000000..6a3cfa7f1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct ToolsItem19 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolsItem19? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ToolsItem19), + jsonSerializerContext) as global::tryAGI.OpenAI.ToolsItem19?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ToolsItem19? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ToolsItem19? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ToolsItem19), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ToolsItem19?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.g.cs new file mode 100644 index 000000000..2bbe2c873 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolsItem19.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// A function or custom tool loaded into a namespace by tool search. + /// + public readonly partial struct ToolsItem19 : global::System.IEquatable + { + /// + /// + /// + public global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Function { get; init; } +#else + public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? Function { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Function))] +#endif + public bool IsFunction => Function != null; + + /// + /// + /// + public bool TryPickFunction( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) + { + value = Function; + return IsFunction; + } + + /// + /// + /// + public global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam PickFunction() => Function is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}."); + + /// + /// A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.BetaCustomToolParam? Custom { get; init; } +#else + public global::tryAGI.OpenAI.BetaCustomToolParam? Custom { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] +#endif + public bool IsCustom => Custom != null; + + /// + /// + /// + public bool TryPickCustom( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.BetaCustomToolParam? value) + { + value = Custom; + return IsCustom; + } + + /// + /// + /// + public global::tryAGI.OpenAI.BetaCustomToolParam PickCustom() => Custom is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ToolsItem19(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam value) => new ToolsItem19((global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam?(ToolsItem19 @this) => @this.Function; + + /// + /// + /// + public ToolsItem19(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) + { + Function = value; + } + + /// + /// + /// + public static ToolsItem19 FromFunction(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? value) => new ToolsItem19(value); + + /// + /// + /// + public static implicit operator ToolsItem19(global::tryAGI.OpenAI.BetaCustomToolParam value) => new ToolsItem19((global::tryAGI.OpenAI.BetaCustomToolParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.BetaCustomToolParam?(ToolsItem19 @this) => @this.Custom; + + /// + /// + /// + public ToolsItem19(global::tryAGI.OpenAI.BetaCustomToolParam? value) + { + Custom = value; + } + + /// + /// + /// + public static ToolsItem19 FromCustom(global::tryAGI.OpenAI.BetaCustomToolParam? value) => new ToolsItem19(value); + + /// + /// + /// + public ToolsItem19( + global::tryAGI.OpenAI.BetaToolSearchOutputNamespaceToolParamToolDiscriminatorType? type, + global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam? function, + global::tryAGI.OpenAI.BetaCustomToolParam? custom + ) + { + Type = type; + + Function = function; + Custom = custom; + } + + /// + /// + /// + public object? Object => + Custom as object ?? + Function as object + ; + + /// + /// + /// + public override string? ToString() => + Function?.ToString() ?? + Custom?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsFunction && !IsCustom || !IsFunction && IsCustom; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? function = null, + global::System.Func? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0 && function != null) + { + return function(__value0); + } + else if (Custom is { } __value1 && custom != null) + { + return custom(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? function = null, + + global::System.Action? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Custom is { } __value1) + { + custom?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? function = null, + global::System.Action? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Function is { } __value0) + { + function?.Invoke(__value0); + } + else if (Custom is { } __value1) + { + custom?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Function, + typeof(global::tryAGI.OpenAI.BetaToolSearchOutputFunctionToolParam), + Custom, + typeof(global::tryAGI.OpenAI.BetaCustomToolParam), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ToolsItem19 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Function, other.Function) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + ; + } + + /// + /// + /// + public static bool operator ==(ToolsItem19 obj1, ToolsItem19 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ToolsItem19 obj1, ToolsItem19 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolsItem19 o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.Json.g.cs new file mode 100644 index 000000000..629d552c8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct WebhookAgentEnvironmentExpired + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentExpired?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.g.cs new file mode 100644 index 000000000..738732328 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpired.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Sent when an agent environment expires and can no longer resume from a snapshot. + /// + public readonly partial struct WebhookAgentEnvironmentExpired : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SessionEnvelope))] +#endif + public bool IsSessionEnvelope => SessionEnvelope != null; + + /// + /// + /// + public bool TryPickSessionEnvelope( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + value = SessionEnvelope; + return IsSessionEnvelope; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope PickSessionEnvelope() => SessionEnvelope is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SessionEnvelope' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? WebhookAgentEnvironmentExpiredVariant2 { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? WebhookAgentEnvironmentExpiredVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebhookAgentEnvironmentExpiredVariant2))] +#endif + public bool IsWebhookAgentEnvironmentExpiredVariant2 => WebhookAgentEnvironmentExpiredVariant2 != null; + + /// + /// + /// + public bool TryPickWebhookAgentEnvironmentExpiredVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? value) + { + value = WebhookAgentEnvironmentExpiredVariant2; + return IsWebhookAgentEnvironmentExpiredVariant2; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2 PickWebhookAgentEnvironmentExpiredVariant2() => WebhookAgentEnvironmentExpiredVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookAgentEnvironmentExpiredVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentExpired(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope value) => new WebhookAgentEnvironmentExpired((global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?(WebhookAgentEnvironmentExpired @this) => @this.SessionEnvelope; + + /// + /// + /// + public WebhookAgentEnvironmentExpired(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + SessionEnvelope = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentExpired FromSessionEnvelope(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) => new WebhookAgentEnvironmentExpired(value); + + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentExpired(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2 value) => new WebhookAgentEnvironmentExpired((global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2?(WebhookAgentEnvironmentExpired @this) => @this.WebhookAgentEnvironmentExpiredVariant2; + + /// + /// + /// + public WebhookAgentEnvironmentExpired(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? value) + { + WebhookAgentEnvironmentExpiredVariant2 = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentExpired FromWebhookAgentEnvironmentExpiredVariant2(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? value) => new WebhookAgentEnvironmentExpired(value); + + /// + /// + /// + public WebhookAgentEnvironmentExpired( + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope, + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? webhookAgentEnvironmentExpiredVariant2 + ) + { + SessionEnvelope = sessionEnvelope; + WebhookAgentEnvironmentExpiredVariant2 = webhookAgentEnvironmentExpiredVariant2; + } + + /// + /// + /// + public object? Object => + WebhookAgentEnvironmentExpiredVariant2 as object ?? + SessionEnvelope as object + ; + + /// + /// + /// + public override string? ToString() => + SessionEnvelope?.ToString() ?? + WebhookAgentEnvironmentExpiredVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsSessionEnvelope && IsWebhookAgentEnvironmentExpiredVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? sessionEnvelope = null, + global::System.Func? webhookAgentEnvironmentExpiredVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0 && sessionEnvelope != null) + { + return sessionEnvelope(__value0); + } + else if (WebhookAgentEnvironmentExpiredVariant2 is { } __value1 && webhookAgentEnvironmentExpiredVariant2 != null) + { + return webhookAgentEnvironmentExpiredVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? sessionEnvelope = null, + + global::System.Action? webhookAgentEnvironmentExpiredVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentExpiredVariant2 is { } __value1) + { + webhookAgentEnvironmentExpiredVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? sessionEnvelope = null, + global::System.Action? webhookAgentEnvironmentExpiredVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentExpiredVariant2 is { } __value1) + { + webhookAgentEnvironmentExpiredVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + SessionEnvelope, + typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), + WebhookAgentEnvironmentExpiredVariant2, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(WebhookAgentEnvironmentExpired other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SessionEnvelope, other.SessionEnvelope) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebhookAgentEnvironmentExpiredVariant2, other.WebhookAgentEnvironmentExpiredVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(WebhookAgentEnvironmentExpired obj1, WebhookAgentEnvironmentExpired obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(WebhookAgentEnvironmentExpired obj1, WebhookAgentEnvironmentExpired obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is WebhookAgentEnvironmentExpired o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.Json.g.cs new file mode 100644 index 000000000..cc49b81f3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class WebhookAgentEnvironmentExpiredVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.g.cs new file mode 100644 index 000000000..1f57105d2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class WebhookAgentEnvironmentExpiredVariant2 + { + /// + /// The event type. Always `agent.environment.expired`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentExpiredVariant2TypeJsonConverter))] + public global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type Type { get; set; } + + /// + /// Identifies the environment whose lifecycle changed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.AgentEnvironmentEvent Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Identifies the environment whose lifecycle changed. + /// + /// + /// The event type. Always `agent.environment.expired`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebhookAgentEnvironmentExpiredVariant2( + global::tryAGI.OpenAI.AgentEnvironmentEvent data, + global::tryAGI.OpenAI.WebhookAgentEnvironmentExpiredVariant2Type type) + { + this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public WebhookAgentEnvironmentExpiredVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2Type.g.cs new file mode 100644 index 000000000..de6b2db3b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentExpiredVariant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The event type. Always `agent.environment.expired`. + /// + public enum WebhookAgentEnvironmentExpiredVariant2Type + { + /// + /// + /// + AgentEnvironmentExpired, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookAgentEnvironmentExpiredVariant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookAgentEnvironmentExpiredVariant2Type value) + { + return value switch + { + WebhookAgentEnvironmentExpiredVariant2Type.AgentEnvironmentExpired => "agent.environment.expired", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookAgentEnvironmentExpiredVariant2Type? ToEnum(string value) + { + return value switch + { + "agent.environment.expired" => WebhookAgentEnvironmentExpiredVariant2Type.AgentEnvironmentExpired, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.Json.g.cs new file mode 100644 index 000000000..db169d3af --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct WebhookAgentEnvironmentFailed + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentFailed?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.g.cs new file mode 100644 index 000000000..4ae0074fe --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailed.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Sent when setup fails for a prewarmed OpenAI-hosted environment before it is attached to a session. + /// + public readonly partial struct WebhookAgentEnvironmentFailed : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SessionEnvelope))] +#endif + public bool IsSessionEnvelope => SessionEnvelope != null; + + /// + /// + /// + public bool TryPickSessionEnvelope( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + value = SessionEnvelope; + return IsSessionEnvelope; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope PickSessionEnvelope() => SessionEnvelope is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SessionEnvelope' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? WebhookAgentEnvironmentFailedVariant2 { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? WebhookAgentEnvironmentFailedVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebhookAgentEnvironmentFailedVariant2))] +#endif + public bool IsWebhookAgentEnvironmentFailedVariant2 => WebhookAgentEnvironmentFailedVariant2 != null; + + /// + /// + /// + public bool TryPickWebhookAgentEnvironmentFailedVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? value) + { + value = WebhookAgentEnvironmentFailedVariant2; + return IsWebhookAgentEnvironmentFailedVariant2; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2 PickWebhookAgentEnvironmentFailedVariant2() => WebhookAgentEnvironmentFailedVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookAgentEnvironmentFailedVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentFailed(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope value) => new WebhookAgentEnvironmentFailed((global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?(WebhookAgentEnvironmentFailed @this) => @this.SessionEnvelope; + + /// + /// + /// + public WebhookAgentEnvironmentFailed(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + SessionEnvelope = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentFailed FromSessionEnvelope(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) => new WebhookAgentEnvironmentFailed(value); + + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentFailed(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2 value) => new WebhookAgentEnvironmentFailed((global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2?(WebhookAgentEnvironmentFailed @this) => @this.WebhookAgentEnvironmentFailedVariant2; + + /// + /// + /// + public WebhookAgentEnvironmentFailed(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? value) + { + WebhookAgentEnvironmentFailedVariant2 = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentFailed FromWebhookAgentEnvironmentFailedVariant2(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? value) => new WebhookAgentEnvironmentFailed(value); + + /// + /// + /// + public WebhookAgentEnvironmentFailed( + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope, + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? webhookAgentEnvironmentFailedVariant2 + ) + { + SessionEnvelope = sessionEnvelope; + WebhookAgentEnvironmentFailedVariant2 = webhookAgentEnvironmentFailedVariant2; + } + + /// + /// + /// + public object? Object => + WebhookAgentEnvironmentFailedVariant2 as object ?? + SessionEnvelope as object + ; + + /// + /// + /// + public override string? ToString() => + SessionEnvelope?.ToString() ?? + WebhookAgentEnvironmentFailedVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsSessionEnvelope && IsWebhookAgentEnvironmentFailedVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? sessionEnvelope = null, + global::System.Func? webhookAgentEnvironmentFailedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0 && sessionEnvelope != null) + { + return sessionEnvelope(__value0); + } + else if (WebhookAgentEnvironmentFailedVariant2 is { } __value1 && webhookAgentEnvironmentFailedVariant2 != null) + { + return webhookAgentEnvironmentFailedVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? sessionEnvelope = null, + + global::System.Action? webhookAgentEnvironmentFailedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentFailedVariant2 is { } __value1) + { + webhookAgentEnvironmentFailedVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? sessionEnvelope = null, + global::System.Action? webhookAgentEnvironmentFailedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentFailedVariant2 is { } __value1) + { + webhookAgentEnvironmentFailedVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + SessionEnvelope, + typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), + WebhookAgentEnvironmentFailedVariant2, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(WebhookAgentEnvironmentFailed other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SessionEnvelope, other.SessionEnvelope) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebhookAgentEnvironmentFailedVariant2, other.WebhookAgentEnvironmentFailedVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(WebhookAgentEnvironmentFailed obj1, WebhookAgentEnvironmentFailed obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(WebhookAgentEnvironmentFailed obj1, WebhookAgentEnvironmentFailed obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is WebhookAgentEnvironmentFailed o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.Json.g.cs new file mode 100644 index 000000000..68302c5b3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class WebhookAgentEnvironmentFailedVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.g.cs new file mode 100644 index 000000000..6b1e856f1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class WebhookAgentEnvironmentFailedVariant2 + { + /// + /// The event type. Always `agent.environment.failed`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentFailedVariant2TypeJsonConverter))] + public global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type Type { get; set; } + + /// + /// Identifies the environment whose lifecycle changed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.AgentEnvironmentEvent Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Identifies the environment whose lifecycle changed. + /// + /// + /// The event type. Always `agent.environment.failed`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebhookAgentEnvironmentFailedVariant2( + global::tryAGI.OpenAI.AgentEnvironmentEvent data, + global::tryAGI.OpenAI.WebhookAgentEnvironmentFailedVariant2Type type) + { + this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public WebhookAgentEnvironmentFailedVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2Type.g.cs new file mode 100644 index 000000000..a4cbf2ddf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentFailedVariant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The event type. Always `agent.environment.failed`. + /// + public enum WebhookAgentEnvironmentFailedVariant2Type + { + /// + /// + /// + AgentEnvironmentFailed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookAgentEnvironmentFailedVariant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookAgentEnvironmentFailedVariant2Type value) + { + return value switch + { + WebhookAgentEnvironmentFailedVariant2Type.AgentEnvironmentFailed => "agent.environment.failed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookAgentEnvironmentFailedVariant2Type? ToEnum(string value) + { + return value switch + { + "agent.environment.failed" => WebhookAgentEnvironmentFailedVariant2Type.AgentEnvironmentFailed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.Json.g.cs new file mode 100644 index 000000000..2bc0271a8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct WebhookAgentEnvironmentReady + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReady? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReady), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentReady?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReady? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReady? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReady), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentReady?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.g.cs new file mode 100644 index 000000000..2a873f060 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReady.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Sent when a prewarmed OpenAI-hosted environment finishes setup before being attached to a session. + /// + public readonly partial struct WebhookAgentEnvironmentReady : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SessionEnvelope))] +#endif + public bool IsSessionEnvelope => SessionEnvelope != null; + + /// + /// + /// + public bool TryPickSessionEnvelope( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + value = SessionEnvelope; + return IsSessionEnvelope; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope PickSessionEnvelope() => SessionEnvelope is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SessionEnvelope' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? WebhookAgentEnvironmentReadyVariant2 { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? WebhookAgentEnvironmentReadyVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebhookAgentEnvironmentReadyVariant2))] +#endif + public bool IsWebhookAgentEnvironmentReadyVariant2 => WebhookAgentEnvironmentReadyVariant2 != null; + + /// + /// + /// + public bool TryPickWebhookAgentEnvironmentReadyVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? value) + { + value = WebhookAgentEnvironmentReadyVariant2; + return IsWebhookAgentEnvironmentReadyVariant2; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2 PickWebhookAgentEnvironmentReadyVariant2() => WebhookAgentEnvironmentReadyVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookAgentEnvironmentReadyVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentReady(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope value) => new WebhookAgentEnvironmentReady((global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?(WebhookAgentEnvironmentReady @this) => @this.SessionEnvelope; + + /// + /// + /// + public WebhookAgentEnvironmentReady(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + SessionEnvelope = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentReady FromSessionEnvelope(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) => new WebhookAgentEnvironmentReady(value); + + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentReady(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2 value) => new WebhookAgentEnvironmentReady((global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2?(WebhookAgentEnvironmentReady @this) => @this.WebhookAgentEnvironmentReadyVariant2; + + /// + /// + /// + public WebhookAgentEnvironmentReady(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? value) + { + WebhookAgentEnvironmentReadyVariant2 = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentReady FromWebhookAgentEnvironmentReadyVariant2(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? value) => new WebhookAgentEnvironmentReady(value); + + /// + /// + /// + public WebhookAgentEnvironmentReady( + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope, + global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? webhookAgentEnvironmentReadyVariant2 + ) + { + SessionEnvelope = sessionEnvelope; + WebhookAgentEnvironmentReadyVariant2 = webhookAgentEnvironmentReadyVariant2; + } + + /// + /// + /// + public object? Object => + WebhookAgentEnvironmentReadyVariant2 as object ?? + SessionEnvelope as object + ; + + /// + /// + /// + public override string? ToString() => + SessionEnvelope?.ToString() ?? + WebhookAgentEnvironmentReadyVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsSessionEnvelope && IsWebhookAgentEnvironmentReadyVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? sessionEnvelope = null, + global::System.Func? webhookAgentEnvironmentReadyVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0 && sessionEnvelope != null) + { + return sessionEnvelope(__value0); + } + else if (WebhookAgentEnvironmentReadyVariant2 is { } __value1 && webhookAgentEnvironmentReadyVariant2 != null) + { + return webhookAgentEnvironmentReadyVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? sessionEnvelope = null, + + global::System.Action? webhookAgentEnvironmentReadyVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentReadyVariant2 is { } __value1) + { + webhookAgentEnvironmentReadyVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? sessionEnvelope = null, + global::System.Action? webhookAgentEnvironmentReadyVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentReadyVariant2 is { } __value1) + { + webhookAgentEnvironmentReadyVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + SessionEnvelope, + typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), + WebhookAgentEnvironmentReadyVariant2, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(WebhookAgentEnvironmentReady other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SessionEnvelope, other.SessionEnvelope) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebhookAgentEnvironmentReadyVariant2, other.WebhookAgentEnvironmentReadyVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(WebhookAgentEnvironmentReady obj1, WebhookAgentEnvironmentReady obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(WebhookAgentEnvironmentReady obj1, WebhookAgentEnvironmentReady obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is WebhookAgentEnvironmentReady o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.Json.g.cs new file mode 100644 index 000000000..3d24d9669 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class WebhookAgentEnvironmentReadyVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.g.cs new file mode 100644 index 000000000..204881573 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class WebhookAgentEnvironmentReadyVariant2 + { + /// + /// The event type. Always `agent.environment.ready`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentReadyVariant2TypeJsonConverter))] + public global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type Type { get; set; } + + /// + /// Identifies the environment whose lifecycle changed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.AgentEnvironmentEvent Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Identifies the environment whose lifecycle changed. + /// + /// + /// The event type. Always `agent.environment.ready`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebhookAgentEnvironmentReadyVariant2( + global::tryAGI.OpenAI.AgentEnvironmentEvent data, + global::tryAGI.OpenAI.WebhookAgentEnvironmentReadyVariant2Type type) + { + this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public WebhookAgentEnvironmentReadyVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2Type.g.cs new file mode 100644 index 000000000..cb8db7690 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentReadyVariant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The event type. Always `agent.environment.ready`. + /// + public enum WebhookAgentEnvironmentReadyVariant2Type + { + /// + /// + /// + AgentEnvironmentReady, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookAgentEnvironmentReadyVariant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookAgentEnvironmentReadyVariant2Type value) + { + return value switch + { + WebhookAgentEnvironmentReadyVariant2Type.AgentEnvironmentReady => "agent.environment.ready", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookAgentEnvironmentReadyVariant2Type? ToEnum(string value) + { + return value switch + { + "agent.environment.ready" => WebhookAgentEnvironmentReadyVariant2Type.AgentEnvironmentReady, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.Json.g.cs new file mode 100644 index 000000000..26392171b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct WebhookAgentEnvironmentSuspended + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspended?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.g.cs new file mode 100644 index 000000000..27e7baaa6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspended.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Sent when an agent environment is suspended and can resume from a snapshot. + /// + public readonly partial struct WebhookAgentEnvironmentSuspended : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? SessionEnvelope { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SessionEnvelope))] +#endif + public bool IsSessionEnvelope => SessionEnvelope != null; + + /// + /// + /// + public bool TryPickSessionEnvelope( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + value = SessionEnvelope; + return IsSessionEnvelope; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentSessionEnvelope PickSessionEnvelope() => SessionEnvelope is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SessionEnvelope' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? WebhookAgentEnvironmentSuspendedVariant2 { get; init; } +#else + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? WebhookAgentEnvironmentSuspendedVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebhookAgentEnvironmentSuspendedVariant2))] +#endif + public bool IsWebhookAgentEnvironmentSuspendedVariant2 => WebhookAgentEnvironmentSuspendedVariant2 != null; + + /// + /// + /// + public bool TryPickWebhookAgentEnvironmentSuspendedVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? value) + { + value = WebhookAgentEnvironmentSuspendedVariant2; + return IsWebhookAgentEnvironmentSuspendedVariant2; + } + + /// + /// + /// + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2 PickWebhookAgentEnvironmentSuspendedVariant2() => WebhookAgentEnvironmentSuspendedVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookAgentEnvironmentSuspendedVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentSuspended(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope value) => new WebhookAgentEnvironmentSuspended((global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentSessionEnvelope?(WebhookAgentEnvironmentSuspended @this) => @this.SessionEnvelope; + + /// + /// + /// + public WebhookAgentEnvironmentSuspended(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) + { + SessionEnvelope = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentSuspended FromSessionEnvelope(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? value) => new WebhookAgentEnvironmentSuspended(value); + + /// + /// + /// + public static implicit operator WebhookAgentEnvironmentSuspended(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2 value) => new WebhookAgentEnvironmentSuspended((global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2?(WebhookAgentEnvironmentSuspended @this) => @this.WebhookAgentEnvironmentSuspendedVariant2; + + /// + /// + /// + public WebhookAgentEnvironmentSuspended(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? value) + { + WebhookAgentEnvironmentSuspendedVariant2 = value; + } + + /// + /// + /// + public static WebhookAgentEnvironmentSuspended FromWebhookAgentEnvironmentSuspendedVariant2(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? value) => new WebhookAgentEnvironmentSuspended(value); + + /// + /// + /// + public WebhookAgentEnvironmentSuspended( + global::tryAGI.OpenAI.WebhookAgentSessionEnvelope? sessionEnvelope, + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? webhookAgentEnvironmentSuspendedVariant2 + ) + { + SessionEnvelope = sessionEnvelope; + WebhookAgentEnvironmentSuspendedVariant2 = webhookAgentEnvironmentSuspendedVariant2; + } + + /// + /// + /// + public object? Object => + WebhookAgentEnvironmentSuspendedVariant2 as object ?? + SessionEnvelope as object + ; + + /// + /// + /// + public override string? ToString() => + SessionEnvelope?.ToString() ?? + WebhookAgentEnvironmentSuspendedVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsSessionEnvelope && IsWebhookAgentEnvironmentSuspendedVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? sessionEnvelope = null, + global::System.Func? webhookAgentEnvironmentSuspendedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0 && sessionEnvelope != null) + { + return sessionEnvelope(__value0); + } + else if (WebhookAgentEnvironmentSuspendedVariant2 is { } __value1 && webhookAgentEnvironmentSuspendedVariant2 != null) + { + return webhookAgentEnvironmentSuspendedVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? sessionEnvelope = null, + + global::System.Action? webhookAgentEnvironmentSuspendedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentSuspendedVariant2 is { } __value1) + { + webhookAgentEnvironmentSuspendedVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? sessionEnvelope = null, + global::System.Action? webhookAgentEnvironmentSuspendedVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SessionEnvelope is { } __value0) + { + sessionEnvelope?.Invoke(__value0); + } + else if (WebhookAgentEnvironmentSuspendedVariant2 is { } __value1) + { + webhookAgentEnvironmentSuspendedVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + SessionEnvelope, + typeof(global::tryAGI.OpenAI.WebhookAgentSessionEnvelope), + WebhookAgentEnvironmentSuspendedVariant2, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(WebhookAgentEnvironmentSuspended other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SessionEnvelope, other.SessionEnvelope) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebhookAgentEnvironmentSuspendedVariant2, other.WebhookAgentEnvironmentSuspendedVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(WebhookAgentEnvironmentSuspended obj1, WebhookAgentEnvironmentSuspended obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(WebhookAgentEnvironmentSuspended obj1, WebhookAgentEnvironmentSuspended obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is WebhookAgentEnvironmentSuspended o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.Json.g.cs new file mode 100644 index 000000000..03a67e252 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class WebhookAgentEnvironmentSuspendedVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2), + jsonSerializerContext) as global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? FromJson( + string json) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::tryAGI.OpenAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.g.cs new file mode 100644 index 000000000..a45e9a32a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class WebhookAgentEnvironmentSuspendedVariant2 + { + /// + /// The event type. Always `agent.environment.suspended`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.WebhookAgentEnvironmentSuspendedVariant2TypeJsonConverter))] + public global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type Type { get; set; } + + /// + /// Identifies the environment whose lifecycle changed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.AgentEnvironmentEvent Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Identifies the environment whose lifecycle changed. + /// + /// + /// The event type. Always `agent.environment.suspended`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebhookAgentEnvironmentSuspendedVariant2( + global::tryAGI.OpenAI.AgentEnvironmentEvent data, + global::tryAGI.OpenAI.WebhookAgentEnvironmentSuspendedVariant2Type type) + { + this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public WebhookAgentEnvironmentSuspendedVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs new file mode 100644 index 000000000..5f4352233 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebhookAgentEnvironmentSuspendedVariant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The event type. Always `agent.environment.suspended`. + /// + public enum WebhookAgentEnvironmentSuspendedVariant2Type + { + /// + /// + /// + AgentEnvironmentSuspended, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookAgentEnvironmentSuspendedVariant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookAgentEnvironmentSuspendedVariant2Type value) + { + return value switch + { + WebhookAgentEnvironmentSuspendedVariant2Type.AgentEnvironmentSuspended => "agent.environment.suspended", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookAgentEnvironmentSuspendedVariant2Type? ToEnum(string value) + { + return value switch + { + "agent.environment.suspended" => WebhookAgentEnvironmentSuspendedVariant2Type.AgentEnvironmentSuspended, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 84d9cab45..93e0ed410 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -32252,9 +32252,9 @@ paths: For text, you can pass a string. You can also send user messages containing `input_text` and `input_image` parts, with up to 128 images - per request. Images must be data URLs; external URLs and file IDs aren’t - accepted. Other message roles, function calls, files, audio, and item - references aren’t supported. + per request. Images can be base64 data URLs or publicly accessible + HTTP(S) URLs. File IDs aren’t accepted. Other message roles, function + calls, files, audio, and item references aren’t supported. Sometimes a question returns a refusal instead of an answer. The result @@ -32308,6 +32308,180 @@ paths: "total_tokens": 42 } } + /agents/environments: + get: + operationId: listAgentEnvironments + summary: List agent environments + description: Lists OpenAI-hosted environments owned by the authenticated + principal. Requires access to the prewarming beta. + tags: + - Agents + parameters: + - name: limit + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 100 + default: 20 + description: The maximum number of resources to return, between 1 and 100. + Defaults to 20. + - name: order + in: query + required: false + schema: + $ref: "#/components/schemas/ListOrderParam" + default: desc + description: The order in which resources are returned. Defaults to `desc`. + - name: after + in: query + required: false + schema: + type: string + minLength: 0 + maxLength: 1048576 + description: Return resources after this resource ID in the selected order. + - name: type + in: query + required: false + schema: + $ref: "#/components/schemas/EnvironmentTypeParam" + description: The hosting type to list. Defaults to `openai_hosted`. + responses: + "200": + description: A page of owned environments. + content: + application/json: + schema: + $ref: "#/components/schemas/AgentEnvironmentListResource" + description: An ID-paginated list of owned environments. + "400": + description: The request was invalid. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "401": + description: Authentication or project context was missing. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "403": + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "404": + description: The requested environment or referenced resource was not found. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "409": + description: The request conflicted with the current environment state. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "500": + description: An internal error occurred. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "503": + description: The service is temporarily unavailable. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + post: + operationId: createAgentEnvironment + summary: Create an agent environment + description: Creates an OpenAI-hosted environment before creating a session. + Requires access to the prewarming beta. + tags: + - Agents + parameters: + - name: Idempotency-Key + in: header + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + description: Deduplicates creation for 24 hours within the authenticated + organization, project, and creator. Retry the same JSON parameters + with the same key to retrieve the original environment in its + current state. Different parameters or an incomplete hosted creation + return 409. Deleted environments are not recreated. After retention + expires, the key may create a new environment. Without this header, + each request creates a new environment. + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateAgentEnvironmentParams" + required: true + responses: + "201": + description: The created OpenAI-hosted environment. + content: + application/json: + schema: + $ref: "#/components/schemas/PublicEnvironmentResource" + "400": + description: The request was invalid. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "401": + description: Authentication or project context was missing. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "403": + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "404": + description: The requested environment or referenced resource was not found. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "409": + description: The request conflicted with the current environment state. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "429": + description: The request exceeded a rate or capacity limit. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "500": + description: An internal error occurred. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" + "503": + description: The service is temporarily unavailable. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse-2" /agents/environments/{environment_id}: get: operationId: retrieveAgentEnvironment @@ -38631,6 +38805,78 @@ paths: "input_tokens": 11 } webhooks: + agent_environment_expired: + post: + description: > + Sent when an agent environment expires and can no longer resume from a + snapshot. + requestBody: + description: The event payload sent by the API. + content: + application/json: + schema: + $ref: "#/components/schemas/WebhookAgentEnvironmentExpired" + responses: + "200": + description: > + Return a 200 status code to acknowledge receipt of the event. + Non-200 + + status codes will be retried. + agent_environment_failed: + post: + description: > + Sent when setup fails for a prewarmed OpenAI-hosted environment before + it is attached to a session. + requestBody: + description: The event payload sent by the API. + content: + application/json: + schema: + $ref: "#/components/schemas/WebhookAgentEnvironmentFailed" + responses: + "200": + description: > + Return a 200 status code to acknowledge receipt of the event. + Non-200 + + status codes will be retried. + agent_environment_ready: + post: + description: > + Sent when a prewarmed OpenAI-hosted environment finishes setup before + being attached to a session. + requestBody: + description: The event payload sent by the API. + content: + application/json: + schema: + $ref: "#/components/schemas/WebhookAgentEnvironmentReady" + responses: + "200": + description: > + Return a 200 status code to acknowledge receipt of the event. + Non-200 + + status codes will be retried. + agent_environment_suspended: + post: + description: > + Sent when an agent environment is suspended and can resume from a + snapshot. + requestBody: + description: The event payload sent by the API. + content: + application/json: + schema: + $ref: "#/components/schemas/WebhookAgentEnvironmentSuspended" + responses: + "200": + description: > + Return a 200 status code to acknowledge receipt of the event. + Non-200 + + status codes will be retried. agent_session_action_required: post: description: > @@ -79116,6 +79362,134 @@ components: - id - type - status + WebhookAgentEnvironmentExpired: + type: object + title: agent.environment.expired + description: > + Sent when an agent environment expires and can no longer resume from a + snapshot. + allOf: + - $ref: "#/components/schemas/WebhookAgentSessionEnvelope" + - type: object + required: + - type + - data + properties: + type: + type: string + description: The event type. Always `agent.environment.expired`. + enum: + - agent.environment.expired + x-stainless-const: true + data: + $ref: "#/components/schemas/AgentEnvironmentEvent" + x-oaiMeta: + name: agent.environment.expired + group: webhook-events + example: | + { + "id": "evt_123", + "object": "event", + "created_at": 1719168000, + "type": "agent.environment.expired", + "data": {"id": "ccarenv_123"} + } + WebhookAgentEnvironmentFailed: + type: object + title: agent.environment.failed + description: > + Sent when setup fails for a prewarmed OpenAI-hosted environment before + it is attached to a session. + allOf: + - $ref: "#/components/schemas/WebhookAgentSessionEnvelope" + - type: object + required: + - type + - data + properties: + type: + type: string + description: The event type. Always `agent.environment.failed`. + enum: + - agent.environment.failed + x-stainless-const: true + data: + $ref: "#/components/schemas/AgentEnvironmentEvent" + x-oaiMeta: + name: agent.environment.failed + group: webhook-events + example: | + { + "id": "evt_123", + "object": "event", + "created_at": 1719168000, + "type": "agent.environment.failed", + "data": {"id": "ccarenv_123"} + } + WebhookAgentEnvironmentReady: + type: object + title: agent.environment.ready + description: > + Sent when a prewarmed OpenAI-hosted environment finishes setup before + being attached to a session. + allOf: + - $ref: "#/components/schemas/WebhookAgentSessionEnvelope" + - type: object + required: + - type + - data + properties: + type: + type: string + description: The event type. Always `agent.environment.ready`. + enum: + - agent.environment.ready + x-stainless-const: true + data: + $ref: "#/components/schemas/AgentEnvironmentEvent" + x-oaiMeta: + name: agent.environment.ready + group: webhook-events + example: | + { + "id": "evt_123", + "object": "event", + "created_at": 1719168000, + "type": "agent.environment.ready", + "data": {"id": "ccarenv_123"} + } + WebhookAgentEnvironmentSuspended: + type: object + title: agent.environment.suspended + description: > + Sent when an agent environment is suspended and can resume from a + snapshot. + allOf: + - $ref: "#/components/schemas/WebhookAgentSessionEnvelope" + - type: object + required: + - type + - data + properties: + type: + type: string + description: The event type. Always `agent.environment.suspended`. + enum: + - agent.environment.suspended + x-stainless-const: true + data: + $ref: "#/components/schemas/AgentEnvironmentEvent" + x-oaiMeta: + name: agent.environment.suspended + group: webhook-events + example: | + { + "id": "evt_123", + "object": "event", + "created_at": 1719168000, + "type": "agent.environment.suspended", + "data": {"id": "ccarenv_123"} + } WebhookAgentSessionActionRequired: type: object title: agent.session.action_required @@ -85099,6 +85473,217 @@ components: - auto - none - required + LiveFunctionToolChoiceParam: + type: object + properties: + type: + description: The tool to call. Always `function`. + default: function + x-stainless-const: true + type: string + enum: + - function + name: + description: The name of the function tool to call. + type: string + required: + - type + - name + LiveMCPToolChoiceParam: + type: object + properties: + type: + description: The tool to call. Always `mcp`. + default: mcp + x-stainless-const: true + type: string + enum: + - mcp + server_label: + description: The label of the MCP server to call. + type: string + name: + anyOf: + - description: The name of the MCP tool to call. If omitted, the server may choose + a default. + type: string + - type: "null" + required: + - type + - server_label + LiveSpecificFileSearchParam: + type: object + properties: + type: + description: The tool to call. Always `file_search`. + default: file_search + x-stainless-const: true + type: string + enum: + - file_search + required: + - type + LiveSpecificWebSearchParam: + type: object + properties: + type: + description: The tool to call. Always `web_search`. + default: web_search + x-stainless-const: true + type: string + enum: + - web_search + required: + - type + LiveSpecificWebSearchPreviewParam: + type: object + properties: + type: + description: The tool to call. Always `web_search_preview`. + default: web_search_preview + x-stainless-const: true + type: string + enum: + - web_search_preview + required: + - type + LiveSpecificImageGenParam: + type: object + properties: + type: + description: The tool to call. Always `image_generation`. + default: image_generation + x-stainless-const: true + type: string + enum: + - image_generation + required: + - type + LiveSpecificComputerParam: + type: object + properties: + type: + description: The tool to call. Always `computer`. + default: computer + x-stainless-const: true + type: string + enum: + - computer + required: + - type + LiveSpecificCodeInterpreterParam: + type: object + properties: + type: + description: The tool to call. Always `code_interpreter`. + default: code_interpreter + x-stainless-const: true + type: string + enum: + - code_interpreter + required: + - type + LiveSpecificProgrammaticToolCallingParam: + type: object + properties: + type: + description: The tool to call. Always `programmatic_tool_calling`. + default: programmatic_tool_calling + x-stainless-const: true + type: string + enum: + - programmatic_tool_calling + required: + - type + LiveSpecificFunctionShellParam: + title: Specific shell tool choice + description: Forces the model to call the shell tool when a tool call is required. + type: object + properties: + type: + description: The tool to call. Always `shell`. + default: shell + x-stainless-const: true + type: string + enum: + - shell + required: + - type + LiveSpecificCustomToolParam: + type: object + properties: + type: + description: The tool to call. Always `custom`. + default: custom + x-stainless-const: true + type: string + enum: + - custom + name: + description: The name of the custom tool to call. + type: string + required: + - type + - name + LiveSpecificApplyPatchParam: + title: Specific apply patch tool choice + description: Forces the model to call the apply_patch tool when executing a tool call. + type: object + properties: + type: + description: The tool to call. Always `apply_patch`. + default: apply_patch + x-stainless-const: true + type: string + enum: + - apply_patch + required: + - type + LiveToolChoiceValueEnum: + type: string + enum: + - none + - auto + - required + LiveAllowedToolsChoiceParam: + type: object + properties: + type: + description: The tool choice type. Always `allowed_tools`. + default: allowed_tools + x-stainless-const: true + type: string + enum: + - allowed_tools + tools: + description: The tools that the delegated Responses model may call. + type: array + items: + discriminator: + propertyName: type + oneOf: + - $ref: "#/components/schemas/LiveFunctionToolChoiceParam" + - $ref: "#/components/schemas/LiveMCPToolChoiceParam" + - $ref: "#/components/schemas/LiveSpecificFileSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchPreviewParam" + - $ref: "#/components/schemas/LiveSpecificImageGenParam" + - $ref: "#/components/schemas/LiveSpecificComputerParam" + - $ref: "#/components/schemas/LiveSpecificCodeInterpreterParam" + - $ref: "#/components/schemas/LiveSpecificProgrammaticToolCallingParam" + - $ref: "#/components/schemas/LiveSpecificFunctionShellParam" + - $ref: "#/components/schemas/LiveSpecificCustomToolParam" + - $ref: "#/components/schemas/LiveSpecificApplyPatchParam" + minItems: 1 + maxItems: 128 + mode: + anyOf: + - description: How to select a tool from the allowed set. + $ref: "#/components/schemas/LiveToolChoiceValueEnum" + - type: "null" + required: + - type + - tools LiveResponsesDelegationSettingsInputParam: description: Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend. @@ -85162,8 +85747,22 @@ components: delegated by the Live model. oneOf: - $ref: "#/components/schemas/LiveToolChoiceEnum" - - type: object - additionalProperties: {} + - discriminator: + propertyName: type + oneOf: + - $ref: "#/components/schemas/LiveFunctionToolChoiceParam" + - $ref: "#/components/schemas/LiveMCPToolChoiceParam" + - $ref: "#/components/schemas/LiveSpecificFileSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchPreviewParam" + - $ref: "#/components/schemas/LiveSpecificImageGenParam" + - $ref: "#/components/schemas/LiveSpecificComputerParam" + - $ref: "#/components/schemas/LiveSpecificCodeInterpreterParam" + - $ref: "#/components/schemas/LiveSpecificProgrammaticToolCallingParam" + - $ref: "#/components/schemas/LiveSpecificFunctionShellParam" + - $ref: "#/components/schemas/LiveSpecificCustomToolParam" + - $ref: "#/components/schemas/LiveSpecificApplyPatchParam" + - $ref: "#/components/schemas/LiveAllowedToolsChoiceParam" parallel_tool_calls: anyOf: - description: Whether the delegated Responses model may request multiple tool @@ -85569,8 +86168,22 @@ components: delegated by the Live model. oneOf: - $ref: "#/components/schemas/LiveToolChoiceEnum" - - type: object - additionalProperties: {} + - discriminator: + propertyName: type + oneOf: + - $ref: "#/components/schemas/LiveFunctionToolChoiceParam" + - $ref: "#/components/schemas/LiveMCPToolChoiceParam" + - $ref: "#/components/schemas/LiveSpecificFileSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchParam" + - $ref: "#/components/schemas/LiveSpecificWebSearchPreviewParam" + - $ref: "#/components/schemas/LiveSpecificImageGenParam" + - $ref: "#/components/schemas/LiveSpecificComputerParam" + - $ref: "#/components/schemas/LiveSpecificCodeInterpreterParam" + - $ref: "#/components/schemas/LiveSpecificProgrammaticToolCallingParam" + - $ref: "#/components/schemas/LiveSpecificFunctionShellParam" + - $ref: "#/components/schemas/LiveSpecificCustomToolParam" + - $ref: "#/components/schemas/LiveSpecificApplyPatchParam" + - $ref: "#/components/schemas/LiveAllowedToolsChoiceParam" parallel_tool_calls: anyOf: - description: Whether the delegated Responses model may request multiple tool @@ -86378,6 +86991,12 @@ components: description: A customer-safe description derived from error_type, or null for zero data retention requests. - type: "null" + detailed_explanation: + anyOf: + - type: string + description: A generated explanation, temporarily available for eligible zero + data retention alerts. Omitted when unavailable. + - type: "null" type: object required: - id @@ -89049,8 +89668,9 @@ components: type: string minLength: 0 maxLength: 1073741824 - pattern: "^data:" - description: A base64-encoded image in a data URL. + pattern: ^(data:|https?://) + description: A base64-encoded image in a data URL or a publicly accessible + HTTP(S) image URL. detail: anyOf: - $ref: "#/components/schemas/ImageDetailParam" @@ -89068,7 +89688,8 @@ components: - image_url - type additionalProperties: false - description: An inline image. External URLs and file IDs are not supported. + description: An image provided as a base64 data URL or a publicly accessible + HTTP(S) URL. File IDs are not supported. DecisionInputContentParts: type: array items: @@ -89092,7 +89713,7 @@ components: maxLength: 10485760 - $ref: "#/components/schemas/DecisionInputContentParts" title: Parts - description: Text evidence or an ordered list of text and inline image parts. + description: Text evidence or an ordered list of text and image parts. DecisionInputMessage: type: object properties: @@ -89114,7 +89735,7 @@ components: - role - content additionalProperties: false - description: A user message containing text or inline images. + description: A user message containing text or images. DecisionInput: oneOf: - type: string @@ -89134,10 +89755,10 @@ components: minItems: 0 maxItems: 131072 description: The text or images to evaluate for every question. Provide a text - string or user messages containing text and inline images. Images must - be inline data URLs; at most 128 images are allowed across all messages - in one request. External URLs, files, audio, tools, and item references - are not supported. + string or user messages containing text and images. Images can be base64 + data URLs or publicly accessible HTTP(S) URLs; at most 128 images are + allowed across all messages in one request. Files, audio, tools, and + item references are not supported. QuestionParamPredicate: type: object properties: @@ -89538,6 +90159,20 @@ components: - answers - usage additionalProperties: false + ListOrderParam: + type: string + enum: + - asc + - desc + x-enumDescriptions: + - Returns resources in ascending order. + - Returns resources in descending order. + description: The order in which paginated resources are returned. + EnvironmentTypeParam: + type: string + enum: + - openai_hosted + description: The hosting type of an execution environment. EnvironmentTypeResource: type: string enum: @@ -89548,14 +90183,19 @@ components: type: string enum: - pending + - ready - connected - disconnected + - suspended - expired - failed x-enumDescriptions: - "" + - Provisioning succeeded and the environment is available for attachment + or use. - "" - "" + - The sandbox is stopped and can be resumed from its private checkpoint. - "" - "" description: The public lifecycle status of an execution environment. @@ -89794,6 +90434,48 @@ components: - plugins additionalProperties: false description: Safe metadata for a first-class execution environment. + AgentEnvironmentListResource: + type: object + properties: + object: + type: string + enum: + - list + default: list + x-stainless-const: true + description: The object type, which is always `list`. + data: + type: array + items: + $ref: "#/components/schemas/PublicEnvironmentResource" + minItems: 0 + maxItems: 2000 + description: The resources returned in this page, in the requested sort order. + first_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the first resource in `data`, or `null` if the page is + empty. + last_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the last resource in `data`, or `null` if the page is + empty. Pass this as `after` with the same order and filters. + has_more: + type: boolean + description: Whether there are more resources to retrieve after this page. + required: + - object + - data + - first_id + - last_id + - has_more + additionalProperties: false + description: A page of Agents API resources, with IDs for retrieving additional pages. ErrorBodyResource: type: object properties: @@ -89833,81 +90515,270 @@ components: - error additionalProperties: false description: An API error response. - ListOrderParam: + EnvironmentPackagesParam: + type: object + properties: + python: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 16384 + description: Python packages to install. Defaults to an empty list. + system: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 16384 + description: System packages to install. Defaults to an empty list. + npm: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 16384 + description: npm packages to install globally. Defaults to an empty list. + additionalProperties: false + description: Packages to install in an OpenAI-hosted environment. + SetupCommandParam: + type: object + properties: + command: + type: string + minLength: 0 + maxLength: 65536 + description: The shell command to execute. + cwd: + type: + - string + - "null" + minLength: 0 + maxLength: 4096 + description: The absolute working directory. Defaults to `/workspace`. + required: + - command + additionalProperties: false + description: A confidential setup command executed before the hosted agent starts. + NetworkAccessParam: type: string enum: - - asc - - desc + - enabled + - disabled + - restricted x-enumDescriptions: - - Returns resources in ascending order. - - Returns resources in descending order. - description: The order in which paginated resources are returned. - EnvironmentFilePageObjectResource: - type: string - enum: - - page - default: page - x-stainless-const: true - description: The object type for a page of files in an execution environment. - EnvironmentFileResource: + - Allows unrestricted network access. + - Disables network access. + - Applies the configured domain restrictions. + description: The network access mode for an OpenAI-hosted environment. + NetworkPolicyParam: type: object properties: - object: + access: + $ref: "#/components/schemas/NetworkAccessParam" + description: The environment's network access mode. + allowed_domains: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 16384 + description: Domains the environment may access when network access is restricted. + blocked_domains: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 100 + description: "Domains blocked for both executor and browser when access is + restricted. A nonempty list requires `access: restricted` and cannot + be combined with nonempty `allowed_domains`. Wildcard domains are + not supported." + required: + - access + additionalProperties: false + description: Network access for an OpenAI-hosted environment. + DesktopParam: + type: object + properties: + enabled: + type: boolean + description: Whether to provision the desktop and its browser proxy. + required: + - enabled + additionalProperties: false + description: Desktop configuration for an OpenAI-hosted environment. + HostedSkillParamSkillReference: + type: object + properties: + type: type: string enum: - - agent.environment.file - default: agent.environment.file + - skill_reference + default: skill_reference x-stainless-const: true - description: The object type. Always `agent.environment.file`. - environment_id: + description: The type of the object. Always `skill_reference`. + skill_id: type: string + minLength: 1 + maxLength: 64 + description: The ID of the skill created through `/v1/skills`. + version: + type: + - string + - "null" minLength: 0 - description: The ID of the environment containing this file. - path: + maxLength: 1048576 + description: The skill version, a positive integer or `latest`; omission selects + the default. + required: + - type + - skill_id + additionalProperties: false + description: References a skill uploaded through the Skills API. + InlineCapabilitySourceParamBase64: + type: object + properties: + type: + type: string + enum: + - base64 + default: base64 + x-stainless-const: true + description: The type of the object. Always `base64`. + media_type: + type: string + enum: + - application/zip + default: application/zip + x-stainless-const: true + x-enumDescriptions: + - A ZIP archive. + description: The archive media type, always `application/zip`. + data: + type: string + minLength: 1 + maxLength: 70254592 + description: Standard-base64 encoded ZIP archive bytes. + required: + - type + - media_type + - data + additionalProperties: false + description: Provides ZIP bytes encoded with standard base64. + InlineCapabilitySourceParam: + oneOf: + - $ref: "#/components/schemas/InlineCapabilitySourceParamBase64" + discriminator: + propertyName: type + mapping: + base64: "#/components/schemas/InlineCapabilitySourceParamBase64" + x-oai-discriminator-values: + - base64 + description: The encoded ZIP archive for an inline skill or plugin. + HostedSkillParamInline: + type: object + properties: + type: + type: string + enum: + - inline + default: inline + x-stainless-const: true + description: The type of the object. Always `inline`. + name: + type: string + minLength: 1 + maxLength: 64 + description: The skill name declared in `SKILL.md`. + description: type: string minLength: 0 - description: The absolute file path inside the environment's workspace. - size_bytes: - type: integer - format: int64 - minimum: 0 - description: The file size in bytes. + maxLength: 1048576 + description: The skill description declared in `SKILL.md`. + source: + $ref: "#/components/schemas/InlineCapabilitySourceParam" + description: The inline ZIP archive. required: - - object - - environment_id - - path - - size_bytes + - type + - name + - description + - source additionalProperties: false - description: A live file in an execution environment. - EnvironmentFileListResource: + description: Supplies a skill ZIP directly in the session request. + HostedSkillParam: + oneOf: + - $ref: "#/components/schemas/HostedSkillParamSkillReference" + - $ref: "#/components/schemas/HostedSkillParamInline" + discriminator: + propertyName: type + mapping: + skill_reference: "#/components/schemas/HostedSkillParamSkillReference" + inline: "#/components/schemas/HostedSkillParamInline" + x-oai-discriminator-values: + - skill_reference + - inline + description: A skill installed in an OpenAI-hosted environment. + HostedPluginParamInline: type: object properties: - object: - $ref: "#/components/schemas/EnvironmentFilePageObjectResource" - description: The object type. Always `page`. - data: - type: array - items: - $ref: "#/components/schemas/EnvironmentFileResource" - minItems: 0 - maxItems: 2000 - description: Files available on the current page. - next: - type: - - string - - "null" + type: + type: string + enum: + - inline + default: inline + x-stainless-const: true + description: The type of the object. Always `inline`. + name: + type: string + minLength: 1 + maxLength: 64 + description: The plugin name declared in `.codex-plugin/plugin.json`. + description: + type: string minLength: 0 - description: The opaque cursor to use when requesting the next page, if any. - has_more: - type: boolean - description: Whether more files follow this page. + maxLength: 1048576 + description: The plugin description declared in `.codex-plugin/plugin.json`. + source: + $ref: "#/components/schemas/InlineCapabilitySourceParam" + description: The inline ZIP archive. required: - - object - - data - - next - - has_more + - type + - name + - description + - source additionalProperties: false - description: A paginated list of live execution environment files. + description: Supplies a plugin ZIP directly in the session request. + HostedPluginParam: + oneOf: + - $ref: "#/components/schemas/HostedPluginParamInline" + discriminator: + propertyName: type + mapping: + inline: "#/components/schemas/HostedPluginParamInline" + x-oai-discriminator-values: + - inline + description: A plugin installed in an OpenAI-hosted environment. HostedEnvironmentFileParamFileId: type: object properties: @@ -89973,6 +90844,209 @@ components: - file_id - inline description: A file materialized in an OpenAI-hosted execution environment. + CreateEnvironmentParamOpenaiHosted: + type: object + properties: + type: + type: string + enum: + - openai_hosted + default: openai_hosted + x-stainless-const: true + description: The type of the object. Always `openai_hosted`. + packages: + anyOf: + - $ref: "#/components/schemas/EnvironmentPackagesParam" + - type: "null" + description: Packages to install in the environment. Defaults to empty package + lists. + setup_commands: + type: + - array + - "null" + items: + $ref: "#/components/schemas/SetupCommandParam" + minItems: 0 + maxItems: 16 + description: Ordered, confidential setup commands. Command bodies are never + returned. + network: + anyOf: + - $ref: "#/components/schemas/NetworkPolicyParam" + - type: "null" + description: Network access policy for the environment. If omitted, the API + version determines whether network access is enabled or disabled. + desktop: + anyOf: + - $ref: "#/components/schemas/DesktopParam" + - type: "null" + description: Desktop provisioning. Omission or null inherits the template + setting, or defaults to disabled. + env: + type: + - object + - "null" + additionalProperties: + type: string + minLength: 0 + maxLength: 1048576 + propertyNames: + type: string + minLength: 1 + maxLength: 256 + minProperties: 0 + maxProperties: 1024 + description: Environment variables made available to the agent. + capability_directories: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 16384 + description: Directories that contain capabilities exposed to the agent. + Defaults to an empty list. + skills: + type: + - array + - "null" + items: + $ref: "#/components/schemas/HostedSkillParam" + minItems: 0 + maxItems: 200 + description: Skills referenced by ID or provided as inline ZIP archives. + Defaults to an empty list. + plugins: + type: + - array + - "null" + items: + $ref: "#/components/schemas/HostedPluginParam" + minItems: 0 + maxItems: 32 + description: Plugins provided as inline ZIP archives. Defaults to an empty list. + files: + type: + - array + - "null" + items: + $ref: "#/components/schemas/HostedEnvironmentFileParam" + minItems: 0 + maxItems: 50 + description: Files available before the agent starts. Defaults to an empty list. + environment_template_id: + type: string + minLength: 0 + maxLength: 64 + description: A reusable hosted template applied before inline configuration. + Omitted fields inherit the template; network overrides cannot + broaden its policy. + required: + - type + additionalProperties: false + description: Provision an OpenAI-hosted environment from inline configuration or + a template. + CreateEnvironmentParam: + oneOf: + - $ref: "#/components/schemas/CreateEnvironmentParamOpenaiHosted" + discriminator: + propertyName: type + mapping: + openai_hosted: "#/components/schemas/CreateEnvironmentParamOpenaiHosted" + x-oai-discriminator-values: + - openai_hosted + description: Configuration for a new prewarmed OpenAI-hosted environment. + CreateAgentEnvironmentParams: + type: object + properties: + environment: + $ref: "#/components/schemas/CreateEnvironmentParam" + description: The required hosting type and its configuration. + vault_ids: + type: + - array + - "null" + items: + type: string + minLength: 0 + maxLength: 1048576 + minItems: 0 + maxItems: 10 + description: The IDs of up to 10 vaults made available to an OpenAI-hosted + environment. + required: + - environment + additionalProperties: false + description: Parameters for creating an execution environment before its sessions. + EnvironmentFilePageObjectResource: + type: string + enum: + - page + default: page + x-stainless-const: true + description: The object type for a page of files in an execution environment. + EnvironmentFileResource: + type: object + properties: + object: + type: string + enum: + - agent.environment.file + default: agent.environment.file + x-stainless-const: true + description: The object type. Always `agent.environment.file`. + environment_id: + type: string + minLength: 0 + description: The ID of the environment containing this file. + path: + type: string + minLength: 0 + description: The absolute file path inside the environment's workspace. + size_bytes: + type: integer + format: int64 + minimum: 0 + description: The file size in bytes. + required: + - object + - environment_id + - path + - size_bytes + additionalProperties: false + description: A live file in an execution environment. + EnvironmentFileListResource: + type: object + properties: + object: + $ref: "#/components/schemas/EnvironmentFilePageObjectResource" + description: The object type. Always `page`. + data: + type: array + items: + $ref: "#/components/schemas/EnvironmentFileResource" + minItems: 0 + maxItems: 2000 + description: Files available on the current page. + next: + type: + - string + - "null" + minLength: 0 + description: The opaque cursor to use when requesting the next page, if any. + has_more: + type: boolean + description: Whether more files follow this page. + required: + - object + - data + - next + - has_more + additionalProperties: false + description: A paginated list of live execution environment files. SubagentObjectResource: type: string enum: @@ -93351,270 +94425,6 @@ components: - has_more additionalProperties: false description: A page of Agents API resources, with IDs for retrieving additional pages. - EnvironmentPackagesParam: - type: object - properties: - python: - type: - - array - - "null" - items: - type: string - minLength: 0 - maxLength: 1048576 - minItems: 0 - maxItems: 16384 - description: Python packages to install. Defaults to an empty list. - system: - type: - - array - - "null" - items: - type: string - minLength: 0 - maxLength: 1048576 - minItems: 0 - maxItems: 16384 - description: System packages to install. Defaults to an empty list. - npm: - type: - - array - - "null" - items: - type: string - minLength: 0 - maxLength: 1048576 - minItems: 0 - maxItems: 16384 - description: npm packages to install globally. Defaults to an empty list. - additionalProperties: false - description: Packages to install in an OpenAI-hosted environment. - SetupCommandParam: - type: object - properties: - command: - type: string - minLength: 0 - maxLength: 65536 - description: The shell command to execute. - cwd: - type: - - string - - "null" - minLength: 0 - maxLength: 4096 - description: The absolute working directory. Defaults to `/workspace`. - required: - - command - additionalProperties: false - description: A confidential setup command executed before the hosted agent starts. - NetworkAccessParam: - type: string - enum: - - enabled - - disabled - - restricted - x-enumDescriptions: - - Allows unrestricted network access. - - Disables network access. - - Applies the configured domain restrictions. - description: The network access mode for an OpenAI-hosted environment. - NetworkPolicyParam: - type: object - properties: - access: - $ref: "#/components/schemas/NetworkAccessParam" - description: The environment's network access mode. - allowed_domains: - type: - - array - - "null" - items: - type: string - minLength: 0 - maxLength: 1048576 - minItems: 0 - maxItems: 16384 - description: Domains the environment may access when network access is restricted. - blocked_domains: - type: - - array - - "null" - items: - type: string - minLength: 0 - maxLength: 1048576 - minItems: 0 - maxItems: 100 - description: "Domains blocked for both executor and browser when access is - restricted. A nonempty list requires `access: restricted` and cannot - be combined with nonempty `allowed_domains`. Wildcard domains are - not supported." - required: - - access - additionalProperties: false - description: Network access for an OpenAI-hosted environment. - DesktopParam: - type: object - properties: - enabled: - type: boolean - description: Whether to provision the desktop and its browser proxy. - required: - - enabled - additionalProperties: false - description: Desktop configuration for an OpenAI-hosted environment. - HostedSkillParamSkillReference: - type: object - properties: - type: - type: string - enum: - - skill_reference - default: skill_reference - x-stainless-const: true - description: The type of the object. Always `skill_reference`. - skill_id: - type: string - minLength: 1 - maxLength: 64 - description: The ID of the skill created through `/v1/skills`. - version: - type: - - string - - "null" - minLength: 0 - maxLength: 1048576 - description: The skill version, a positive integer or `latest`; omission selects - the default. - required: - - type - - skill_id - additionalProperties: false - description: References a skill uploaded through the Skills API. - InlineCapabilitySourceParamBase64: - type: object - properties: - type: - type: string - enum: - - base64 - default: base64 - x-stainless-const: true - description: The type of the object. Always `base64`. - media_type: - type: string - enum: - - application/zip - default: application/zip - x-stainless-const: true - x-enumDescriptions: - - A ZIP archive. - description: The archive media type, always `application/zip`. - data: - type: string - minLength: 1 - maxLength: 70254592 - description: Standard-base64 encoded ZIP archive bytes. - required: - - type - - media_type - - data - additionalProperties: false - description: Provides ZIP bytes encoded with standard base64. - InlineCapabilitySourceParam: - oneOf: - - $ref: "#/components/schemas/InlineCapabilitySourceParamBase64" - discriminator: - propertyName: type - mapping: - base64: "#/components/schemas/InlineCapabilitySourceParamBase64" - x-oai-discriminator-values: - - base64 - description: The encoded ZIP archive for an inline skill or plugin. - HostedSkillParamInline: - type: object - properties: - type: - type: string - enum: - - inline - default: inline - x-stainless-const: true - description: The type of the object. Always `inline`. - name: - type: string - minLength: 1 - maxLength: 64 - description: The skill name declared in `SKILL.md`. - description: - type: string - minLength: 0 - maxLength: 1048576 - description: The skill description declared in `SKILL.md`. - source: - $ref: "#/components/schemas/InlineCapabilitySourceParam" - description: The inline ZIP archive. - required: - - type - - name - - description - - source - additionalProperties: false - description: Supplies a skill ZIP directly in the session request. - HostedSkillParam: - oneOf: - - $ref: "#/components/schemas/HostedSkillParamSkillReference" - - $ref: "#/components/schemas/HostedSkillParamInline" - discriminator: - propertyName: type - mapping: - skill_reference: "#/components/schemas/HostedSkillParamSkillReference" - inline: "#/components/schemas/HostedSkillParamInline" - x-oai-discriminator-values: - - skill_reference - - inline - description: A skill installed in an OpenAI-hosted environment. - HostedPluginParamInline: - type: object - properties: - type: - type: string - enum: - - inline - default: inline - x-stainless-const: true - description: The type of the object. Always `inline`. - name: - type: string - minLength: 1 - maxLength: 64 - description: The plugin name declared in `.codex-plugin/plugin.json`. - description: - type: string - minLength: 0 - maxLength: 1048576 - description: The plugin description declared in `.codex-plugin/plugin.json`. - source: - $ref: "#/components/schemas/InlineCapabilitySourceParam" - description: The inline ZIP archive. - required: - - type - - name - - description - - source - additionalProperties: false - description: Supplies a plugin ZIP directly in the session request. - HostedPluginParam: - oneOf: - - $ref: "#/components/schemas/HostedPluginParamInline" - discriminator: - propertyName: type - mapping: - inline: "#/components/schemas/HostedPluginParamInline" - x-oai-discriminator-values: - - inline - description: A plugin installed in an OpenAI-hosted environment. CreateEnvironmentTemplateParams: type: object properties: @@ -95182,9 +95992,12 @@ components: minItems: 0 maxItems: 50 description: Files available before the agent starts. Defaults to an empty list. - container_size: - $ref: "#/components/schemas/ContainerSizeParam" - description: The hosted container size. Omission selects the medium tier. + environment_id: + type: string + minLength: 9 + maxLength: 256 + description: An existing prewarmed environment. Cannot be combined with a + template or inline configuration. environment_template_id: type: string minLength: 0 @@ -95192,11 +96005,40 @@ components: description: A reusable hosted template applied before inline session configuration. Omitted fields inherit the template; network overrides cannot broaden its policy. + container_size: + $ref: "#/components/schemas/ContainerSizeParam" + description: The hosted container size. Omission selects the medium tier. required: - type additionalProperties: false description: An existing OpenAI-hosted environment or new inline/template-based hosted configuration. + not: + required: + - environment_id + anyOf: + - required: + - packages + - required: + - setup_commands + - required: + - network + - required: + - desktop + - required: + - env + - required: + - capability_directories + - required: + - skills + - required: + - plugins + - required: + - files + - required: + - environment_template_id + - required: + - container_size EnvironmentParamSelfHosted: type: object properties: @@ -95539,12 +96381,17 @@ components: - ready - connected - disconnected + - suspended + - expired - failed x-enumDescriptions: - The environment is being prepared. - The environment is ready to connect. - The environment is connected. - The environment is disconnected. + - The environment is stopped and can be resumed from its private + checkpoint. + - The environment and its private checkpoint have expired. - The environment failed to connect. description: The connection status of a session environment. SessionEnvironmentErrorResource: @@ -95628,128 +96475,79 @@ components: - turn_id - environment additionalProperties: false - description: Emitted when a hosted session environment is ready to connect. - SessionEventAgentSessionTurnReasoningSummaryTextDelta: - type: object - properties: - type: - type: string - enum: - - agent.session.turn.reasoning_summary_text.delta - default: agent.session.turn.reasoning_summary_text.delta - x-stainless-const: true - description: The type of the object. Always - `agent.session.turn.reasoning_summary_text.delta`. - event_id: - type: string - minLength: 0 - description: The unique ID of the event. - session_id: - type: string - minLength: 0 - description: The ID of the session associated with the event. - turn_id: - type: - - string - - "null" - minLength: 0 - description: The ID of the turn associated with the event, when applicable. - item_id: - type: string - minLength: 0 - description: The ID of the reasoning item. - output_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the item in the turn output. - summary_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the summary content part. - delta: - type: string - minLength: 0 - description: The summary text that was appended. - required: - - type - - event_id - - session_id - - turn_id - - item_id - - output_index - - summary_index - - delta - additionalProperties: false - description: Emitted when text is appended to a reasoning summary. - SessionEventAgentSessionTurnReasoningSummaryPartDone: - type: object - properties: - type: - type: string - enum: - - agent.session.turn.reasoning_summary_part.done - default: agent.session.turn.reasoning_summary_part.done - x-stainless-const: true - description: The type of the object. Always - `agent.session.turn.reasoning_summary_part.done`. - event_id: - type: string - minLength: 0 - description: The unique ID of the event. - session_id: - type: string - minLength: 0 - description: The ID of the session associated with the event. - turn_id: - type: - - string - - "null" - minLength: 0 - description: The ID of the turn associated with the event, when applicable. - item_id: - type: string - minLength: 0 - description: The ID of the reasoning item. - output_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the item in the turn output. - summary_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the summary part. - part: - $ref: "#/components/schemas/SummaryTextResource" - description: The completed summary part. - status: - type: - - string - - "null" - enum: - - incomplete - - null - description: Present as `incomplete` when summary generation was interrupted. - x-stainless-const: true - required: - - type - - event_id - - session_id - - turn_id - - item_id - - output_index - - summary_index - - part - - status - additionalProperties: false - description: Emitted when a reasoning summary part is complete. + description: Emitted when a hosted session environment is ready to connect. + SessionEventAgentSessionEnvironmentSuspended: + type: object + properties: + type: + type: string + enum: + - agent.session.environment.suspended + default: agent.session.environment.suspended + x-stainless-const: true + description: The type of the object. Always `agent.session.environment.suspended`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + environment: + $ref: "#/components/schemas/SessionEnvironmentStateResource" + description: The current environment state. + required: + - type + - event_id + - session_id + - turn_id + - environment + additionalProperties: false + description: Emitted after an idle hosted session environment is checkpointed + and stopped. + SessionEventAgentSessionEnvironmentExpired: + type: object + properties: + type: + type: string + enum: + - agent.session.environment.expired + default: agent.session.environment.expired + x-stainless-const: true + description: The type of the object. Always `agent.session.environment.expired`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + environment: + $ref: "#/components/schemas/SessionEnvironmentStateResource" + description: The current environment state. + required: + - type + - event_id + - session_id + - turn_id + - environment + additionalProperties: false + description: Emitted after a suspended hosted session environment and its + checkpoint expire. SessionEventAgentSessionEnvironmentReset: type: object properties: @@ -96813,10 +97611,133 @@ components: - part additionalProperties: false description: Emitted when a reasoning summary content part is added. + SessionEventAgentSessionTurnReasoningSummaryPartDone: + type: object + properties: + type: + type: string + enum: + - agent.session.turn.reasoning_summary_part.done + default: agent.session.turn.reasoning_summary_part.done + x-stainless-const: true + description: The type of the object. Always + `agent.session.turn.reasoning_summary_part.done`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + item_id: + type: string + minLength: 0 + description: The ID of the reasoning item. + output_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the item in the turn output. + summary_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the summary part. + part: + $ref: "#/components/schemas/SummaryTextResource" + description: The completed summary part. + status: + type: + - string + - "null" + enum: + - incomplete + - null + description: Present as `incomplete` when summary generation was interrupted. + x-stainless-const: true + required: + - type + - event_id + - session_id + - turn_id + - item_id + - output_index + - summary_index + - part + - status + additionalProperties: false + description: Emitted when a reasoning summary part is complete. + SessionEventAgentSessionTurnReasoningSummaryTextDelta: + type: object + properties: + type: + type: string + enum: + - agent.session.turn.reasoning_summary_text.delta + default: agent.session.turn.reasoning_summary_text.delta + x-stainless-const: true + description: The type of the object. Always + `agent.session.turn.reasoning_summary_text.delta`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + item_id: + type: string + minLength: 0 + description: The ID of the reasoning item. + output_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the item in the turn output. + summary_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the summary content part. + delta: + type: string + minLength: 0 + description: The summary text that was appended. + required: + - type + - event_id + - session_id + - turn_id + - item_id + - output_index + - summary_index + - delta + additionalProperties: false + description: Emitted when text is appended to a reasoning summary. SessionEvent: oneOf: - $ref: "#/components/schemas/SessionEventError" - $ref: "#/components/schemas/SessionEventAgentSessionEnvironmentReady" + - $ref: "#/components/schemas/SessionEventAgentSessionEnvironmentSuspended" + - $ref: "#/components/schemas/SessionEventAgentSessionEnvironmentExpired" - $ref: "#/components/schemas/SessionEventAgentSessionEnvironmentReset" - $ref: "#/components/schemas/SessionEventAgentOutputCommandExecutionOutputDelta" - $ref: "#/components/schemas/SessionEventAgentSessionCreated" @@ -96857,10 +97778,8 @@ components: entAgentSessionTurnReasoningSummaryTextDone" error: "#/components/schemas/SessionEventError" agent.session.environment.ready: "#/components/schemas/SessionEventAgentSessionEnvironmentReady" - agent.session.turn.reasoning_summary_text.delta: "#/components/schemas/SessionE\ - ventAgentSessionTurnReasoningSummaryTextDelta" - agent.session.turn.reasoning_summary_part.done: "#/components/schemas/SessionEv\ - entAgentSessionTurnReasoningSummaryPartDone" + agent.session.environment.suspended: "#/components/schemas/SessionEventAgentSessionEnvironmentSuspended" + agent.session.environment.expired: "#/components/schemas/SessionEventAgentSessionEnvironmentExpired" agent.session.environment.reset: "#/components/schemas/SessionEventAgentSessionEnvironmentReset" agent.output.command_execution_output.delta: "#/components/schemas/SessionEvent\ AgentOutputCommandExecutionOutputDelta" @@ -96890,9 +97809,15 @@ components: agent.session.turn.output_text.done: "#/components/schemas/SessionEventAgentSessionTurnOutputTextDone" agent.session.turn.reasoning_summary_part.added: "#/components/schemas/SessionE\ ventAgentSessionTurnReasoningSummaryPartAdded" + agent.session.turn.reasoning_summary_part.done: "#/components/schemas/SessionEv\ + entAgentSessionTurnReasoningSummaryPartDone" + agent.session.turn.reasoning_summary_text.delta: "#/components/schemas/SessionE\ + ventAgentSessionTurnReasoningSummaryTextDelta" x-oai-discriminator-values: - error - agent.session.environment.ready + - agent.session.environment.suspended + - agent.session.environment.expired - agent.session.environment.reset - agent.output.command_execution_output.delta - agent.session.created @@ -98701,6 +99626,10 @@ components: - realtime.call.incoming - video.completed - video.failed + - agent.environment.ready + - agent.environment.failed + - agent.environment.suspended + - agent.environment.expired - agent.session.created - agent.session.action_required - agent.session.in_progress @@ -98890,6 +99819,17 @@ components: required: - object - data + AgentEnvironmentEvent: + type: object + properties: + id: + type: string + minLength: 0 + description: The ID of the environment. + required: + - id + additionalProperties: false + description: Identifies the environment whose lifecycle changed. AgentSessionRequiredActionTypeResource: type: string enum: