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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ await CliRuntime.RunAsync(async () =>
__expiresAfterSpecified || __expiresAfterBase is not null
? new global::tryAGI.OpenAI.FileExpirationAfter
{
Anchor = expiresAfterAnchor,
Anchor = expiresAfterAnchor,
Seconds = expiresAfterSeconds!,

}
: __expiresAfterBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ await CliRuntime.RunAsync(async () =>
__fileSearchSpecified || __fileSearchBase is not null
? new global::tryAGI.OpenAI.HostedToolPermissionUpdate
{
Enabled = fileSearchEnabled!,
Enabled = fileSearchEnabled!,

}
: __fileSearchBase;

Expand All @@ -105,7 +106,8 @@ await CliRuntime.RunAsync(async () =>
__webSearchSpecified || __webSearchBase is not null
? new global::tryAGI.OpenAI.HostedToolPermissionUpdate
{
Enabled = webSearchEnabled!,
Enabled = webSearchEnabled!,

}
: __webSearchBase;

Expand All @@ -115,7 +117,8 @@ await CliRuntime.RunAsync(async () =>
__imageGenerationSpecified || __imageGenerationBase is not null
? new global::tryAGI.OpenAI.HostedToolPermissionUpdate
{
Enabled = imageGenerationEnabled!,
Enabled = imageGenerationEnabled!,

}
: __imageGenerationBase;

Expand All @@ -125,7 +128,8 @@ await CliRuntime.RunAsync(async () =>
__mcpSpecified || __mcpBase is not null
? new global::tryAGI.OpenAI.HostedToolPermissionUpdate
{
Enabled = mcpEnabled!,
Enabled = mcpEnabled!,

}
: __mcpBase;

Expand All @@ -135,7 +139,8 @@ await CliRuntime.RunAsync(async () =>
__codeInterpreterSpecified || __codeInterpreterBase is not null
? new global::tryAGI.OpenAI.HostedToolPermissionUpdate
{
Enabled = codeInterpreterEnabled!,
Enabled = codeInterpreterEnabled!,

}
: __codeInterpreterBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ await CliRuntime.RunAsync(async () =>
__promptSpecified || __promptBase is not null
? new global::tryAGI.OpenAI.PromptVariant1
{
Id = promptId!,
Id = promptId!,
Version = promptVersion,

}
: __promptBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ await CliRuntime.RunAsync(async () =>
__sessionSpecified || __sessionBase is not null
? new global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA
{
Type = sessionType,
Type = sessionType,
OutputModalities = sessionOutputModalities,
Instructions = sessionInstructions,
Include = sessionInclude,
ParallelToolCalls = sessionParallelToolCalls,

}
: __sessionBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ await CliRuntime.RunAsync(async () =>
__promptSpecified || __promptBase is not null
? new global::tryAGI.OpenAI.PromptVariant1
{
Id = promptId!,
Id = promptId!,
Version = promptVersion,

}
: __promptBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ await CliRuntime.RunAsync(async () =>
__notificationChannelSpecified || __notificationChannelBase is not null
? new global::tryAGI.OpenAI.SpendAlertNotificationChannel
{
Type = notificationChannelType,
Type = notificationChannelType,
Recipients = notificationChannelRecipients!,
SubjectPrefix = notificationChannelSubjectPrefix,

}
: __notificationChannelBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ await CliRuntime.RunAsync(async () =>
__notificationChannelSpecified || __notificationChannelBase is not null
? new global::tryAGI.OpenAI.SpendAlertNotificationChannel
{
Type = notificationChannelType,
Type = notificationChannelType,
Recipients = notificationChannelRecipients!,
SubjectPrefix = notificationChannelSubjectPrefix,

}
: __notificationChannelBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ await CliRuntime.RunAsync(async () =>
__notificationChannelSpecified || __notificationChannelBase is not null
? new global::tryAGI.OpenAI.SpendAlertNotificationChannel
{
Type = notificationChannelType,
Type = notificationChannelType,
Recipients = notificationChannelRecipients!,
SubjectPrefix = notificationChannelSubjectPrefix,

}
: __notificationChannelBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ await CliRuntime.RunAsync(async () =>
__notificationChannelSpecified || __notificationChannelBase is not null
? new global::tryAGI.OpenAI.SpendAlertNotificationChannel
{
Type = notificationChannelType,
Type = notificationChannelType,
Recipients = notificationChannelRecipients!,
SubjectPrefix = notificationChannelSubjectPrefix,

}
: __notificationChannelBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ await CliRuntime.RunAsync(async () =>
__expiresAfterSpecified || __expiresAfterBase is not null
? new global::tryAGI.OpenAI.FileExpirationAfter
{
Anchor = expiresAfterAnchor,
Anchor = expiresAfterAnchor,
Seconds = expiresAfterSeconds!,

}
: __expiresAfterBase;
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
Expand Down