diff --git a/src/cli/AI21.CLI/AI21.CLI.csproj b/src/cli/AI21.CLI/AI21.CLI.csproj
index 43a2837c..6510bbc0 100644
--- a/src/cli/AI21.CLI/AI21.CLI.csproj
+++ b/src/cli/AI21.CLI/AI21.CLI.csproj
@@ -19,11 +19,11 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs
index 84c7f8cd..59c58a41 100644
--- a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs
@@ -110,71 +110,71 @@ public static Command Create()
command.Subcommands.Add(ProxyBedrockInvokeStreamTokenwiseModelModelIdInvokeWithResponseStreamPostCommandApiCommand.Create());
command.Subcommands.Add(ProxyBedrockInvokeTokenwiseModelModelIdInvokePostCommandApiCommand.Create());
command.Subcommands.Add(ProxyCliConfigHarnessApiAuthCliConfigGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1GatewayV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1TokenwiseV1PathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand.Create());
- command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPostCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1GatewayV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.Create());
+ command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.Create());
command.Subcommands.Add(SubmitInsightFeedbackGatewayInsightsInsightIdFeedbackPostCommandApiCommand.Create());
command.Subcommands.Add(SubmitInsightFeedbackTokenwiseInsightsInsightIdFeedbackPostCommandApiCommand.Create());
command.Subcommands.Add(UpdateAgentGatewaySettingsAgentsAgentIdPutCommandApiCommand.Create());
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs
deleted file mode 100644
index 1f0a0f54..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyHarnessApiHarnessApiPathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-harness-api-harness-api-path-get", @"Proxy Harness Api");
- command.Arguments.Add(Path);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyHarnessApiHarnessApiPathGetAsync(
- path: path,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs
similarity index 93%
rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs
index 7795b34d..1f477eae 100644
--- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyHarnessApiHarnessApiPathGet3CommandApiCommand
+internal static partial class ProxyHarnessApiHarnessApiPathPost2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-get3", @"Proxy Harness Api");
+ var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post2", @"Proxy Harness Api");
command.Arguments.Add(Path);
@@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyHarnessApiHarnessApiPathGet3Async(
+ var response = await client.ProxyHarnessApiHarnessApiPathPost2Async(
path: path,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs
similarity index 93%
rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs
index 675bb00b..24cb10a2 100644
--- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyHarnessApiHarnessApiPathGet4CommandApiCommand
+internal static partial class ProxyHarnessApiHarnessApiPathPost3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-get4", @"Proxy Harness Api");
+ var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post3", @"Proxy Harness Api");
command.Arguments.Add(Path);
@@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyHarnessApiHarnessApiPathGet4Async(
+ var response = await client.ProxyHarnessApiHarnessApiPathPost3Async(
path: path,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs
similarity index 93%
rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs
index 0378c22b..dcd23234 100644
--- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyHarnessApiHarnessApiPathGet5CommandApiCommand
+internal static partial class ProxyHarnessApiHarnessApiPathPost4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-get5", @"Proxy Harness Api");
+ var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post4", @"Proxy Harness Api");
command.Arguments.Add(Path);
@@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyHarnessApiHarnessApiPathGet5Async(
+ var response = await client.ProxyHarnessApiHarnessApiPathPost4Async(
path: path,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs
new file mode 100644
index 00000000..99fa4875
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs
@@ -0,0 +1,66 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyHarnessApiHarnessApiPathPost5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-harness-api-harness-api-path-post5", @"Proxy Harness Api");
+ command.Arguments.Add(Path);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyHarnessApiHarnessApiPathPost5Async(
+ path: path,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs
index 5c180118..252a76cf 100644
--- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyHarnessApiHarnessApiPathGet2CommandApiCommand
+internal static partial class ProxyHarnessApiHarnessApiPathPostCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-get2", @"Proxy Harness Api");
+ var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post", @"Proxy Harness Api");
command.Arguments.Add(Path);
@@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyHarnessApiHarnessApiPathGet2Async(
+ var response = await client.ProxyHarnessApiHarnessApiPathPostAsync(
path: path,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index 2e3c28fe..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1GatewayOffV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-gateway-off-v1-path-get6", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1GatewayOffV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index b5498dbf..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1GatewayOffV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-gateway-off-v1-path-get", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1GatewayOffV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs
index ce6d2008..ea489d0a 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOffV1GatewayOffV1PathGet3CommandApiCommand
+internal static partial class ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-get3", @"Proxy Off V1
+ var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options2", @"Proxy Off V1
A/B off-arm — forces gateway transformers off for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOffV1GatewayOffV1PathGet3Async(
+ var response = await client.ProxyOffV1GatewayOffV1PathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs
index c025e714..392a25b1 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOffV1GatewayOffV1PathGet4CommandApiCommand
+internal static partial class ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-get4", @"Proxy Off V1
+ var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options3", @"Proxy Off V1
A/B off-arm — forces gateway transformers off for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOffV1GatewayOffV1PathGet4Async(
+ var response = await client.ProxyOffV1GatewayOffV1PathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs
index c40d338b..aefd3eb3 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOffV1GatewayOffV1PathGet5CommandApiCommand
+internal static partial class ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-get5", @"Proxy Off V1
+ var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options4", @"Proxy Off V1
A/B off-arm — forces gateway transformers off for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOffV1GatewayOffV1PathGet5Async(
+ var response = await client.ProxyOffV1GatewayOffV1PathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..734532f0
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-gateway-off-v1-path-options5", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1GatewayOffV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..b6830490
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-gateway-off-v1-path-options6", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1GatewayOffV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs
index 2d327724..8271d9e6 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOffV1GatewayOffV1PathGet2CommandApiCommand
+internal static partial class ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-get2", @"Proxy Off V1
+ var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options", @"Proxy Off V1
A/B off-arm — forces gateway transformers off for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOffV1GatewayOffV1PathGet2Async(
+ var response = await client.ProxyOffV1GatewayOffV1PathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs
deleted file mode 100644
index b1607370..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get2", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGet2Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs
deleted file mode 100644
index a988f136..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get3", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGet3Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs
deleted file mode 100644
index 9b37eacd..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get4", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGet4Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs
deleted file mode 100644
index 130dbb7e..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get5", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGet5Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index ec8fc567..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get6", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index 8614e8b3..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-get", @"Proxy Off V1
-A/B off-arm — forces gateway transformers off for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOffV1TokenwiseOffV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs
new file mode 100644
index 00000000..3e243461
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options2", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptions2Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs
new file mode 100644
index 00000000..561261c2
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options3", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptions3Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs
new file mode 100644
index 00000000..ab84facb
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options4", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptions4Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..118a5583
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options5", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..ab683ecb
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options6", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs
new file mode 100644
index 00000000..c9bd7d11
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-off-v1-tokenwise-off-v1-path-options", @"Proxy Off V1
+A/B off-arm — forces gateway transformers off for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOffV1TokenwiseOffV1PathOptionsAsync(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index 1235a543..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOnV1GatewayOnV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-gateway-on-v1-path-get6", @"Proxy On V1
-A/B on-arm — forces gateway transformers on for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOnV1GatewayOnV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index fcbc9342..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOnV1GatewayOnV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-gateway-on-v1-path-get", @"Proxy On V1
-A/B on-arm — forces gateway transformers on for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOnV1GatewayOnV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs
index 2684468a..2ad10dbf 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1GatewayOnV1PathGet2CommandApiCommand
+internal static partial class ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-get2", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options2", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1GatewayOnV1PathGet2Async(
+ var response = await client.ProxyOnV1GatewayOnV1PathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs
index 9f85151f..e9622243 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1GatewayOnV1PathGet3CommandApiCommand
+internal static partial class ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-get3", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options3", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1GatewayOnV1PathGet3Async(
+ var response = await client.ProxyOnV1GatewayOnV1PathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs
index 0df0d240..c0c1207c 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1GatewayOnV1PathGet4CommandApiCommand
+internal static partial class ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-get4", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options4", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1GatewayOnV1PathGet4Async(
+ var response = await client.ProxyOnV1GatewayOnV1PathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..22b5a98c
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-gateway-on-v1-path-options5", @"Proxy On V1
+A/B on-arm — forces gateway transformers on for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOnV1GatewayOnV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..e8d41fe2
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-gateway-on-v1-path-options6", @"Proxy On V1
+A/B on-arm — forces gateway transformers on for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOnV1GatewayOnV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs
index 220ac292..2da26311 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1GatewayOnV1PathGet5CommandApiCommand
+internal static partial class ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-get5", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1GatewayOnV1PathGet5Async(
+ var response = await client.ProxyOnV1GatewayOnV1PathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index ae9baae2..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-tokenwise-on-v1-path-get6", @"Proxy On V1
-A/B on-arm — forces gateway transformers on for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOnV1TokenwiseOnV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index b92419cd..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-tokenwise-on-v1-path-get", @"Proxy On V1
-A/B on-arm — forces gateway transformers on for this request only.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyOnV1TokenwiseOnV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs
index f5ea49f4..57cc9f69 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-get3", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options2", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1TokenwiseOnV1PathGet3Async(
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs
index 04e44c7f..42b31a2f 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-get4", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options3", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1TokenwiseOnV1PathGet4Async(
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs
index e825d8df..99a9bf9b 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-get5", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options4", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1TokenwiseOnV1PathGet5Async(
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..3ff0a676
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-tokenwise-on-v1-path-options5", @"Proxy On V1
+A/B on-arm — forces gateway transformers on for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..e7cc4697
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-on-v1-tokenwise-on-v1-path-options6", @"Proxy On V1
+A/B on-arm — forces gateway transformers on for this request only.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs
index 4204ffd8..de15d0bd 100644
--- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand
+internal static partial class ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-get2", @"Proxy On V1
+ var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options", @"Proxy On V1
A/B on-arm — forces gateway transformers on for this request only.");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyOnV1TokenwiseOnV1PathGet2Async(
+ var response = await client.ProxyOnV1TokenwiseOnV1PathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index a09c3a39..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1GatewayV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-gateway-v1-path-get6", @"Proxy V1
-Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
-
-Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
-intentionally left ungated.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1GatewayV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index 5c9b0bbc..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1GatewayV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-gateway-v1-path-get", @"Proxy V1
-Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
-
-Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
-intentionally left ungated.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1GatewayV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs
index 1c7b485d..cdbeb470 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1GatewayV1PathGet2CommandApiCommand
+internal static partial class ProxyV1GatewayV1PathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-get2", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options2", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1GatewayV1PathGet2Async(
+ var response = await client.ProxyV1GatewayV1PathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs
index 4e86a51f..b36f9396 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1GatewayV1PathGet3CommandApiCommand
+internal static partial class ProxyV1GatewayV1PathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-get3", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options3", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1GatewayV1PathGet3Async(
+ var response = await client.ProxyV1GatewayV1PathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs
index 76ee4a34..ac801948 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1GatewayV1PathGet4CommandApiCommand
+internal static partial class ProxyV1GatewayV1PathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-get4", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options4", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1GatewayV1PathGet4Async(
+ var response = await client.ProxyV1GatewayV1PathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..e9095357
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1GatewayV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-gateway-v1-path-options5", @"Proxy V1
+Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+
+Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+intentionally left ungated.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1GatewayV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..05a3cee5
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1GatewayV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-gateway-v1-path-options6", @"Proxy V1
+Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+
+Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+intentionally left ungated.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1GatewayV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs
index 10e1a2d3..ebca2d0b 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1GatewayV1PathGet5CommandApiCommand
+internal static partial class ProxyV1GatewayV1PathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-get5", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1GatewayV1PathGet5Async(
+ var response = await client.ProxyV1GatewayV1PathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs
deleted file mode 100644
index 4fc67585..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1TokenwiseV1PathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-tokenwise-v1-path-get6", @"Proxy V1
-Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
-
-Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
-intentionally left ungated.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1TokenwiseV1PathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs
deleted file mode 100644
index 1828a1fe..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1TokenwiseV1PathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-tokenwise-v1-path-get", @"Proxy V1
-Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
-
-Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
-intentionally left ungated.");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1TokenwiseV1PathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs
index 0a60ce92..acf35ba3 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1TokenwiseV1PathGet3CommandApiCommand
+internal static partial class ProxyV1TokenwiseV1PathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-get3", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options2", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1TokenwiseV1PathGet3Async(
+ var response = await client.ProxyV1TokenwiseV1PathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs
index 00f3e1e8..ec9d0e38 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1TokenwiseV1PathGet4CommandApiCommand
+internal static partial class ProxyV1TokenwiseV1PathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-get4", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options3", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1TokenwiseV1PathGet4Async(
+ var response = await client.ProxyV1TokenwiseV1PathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs
index bc5260fe..116d622d 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1TokenwiseV1PathGet5CommandApiCommand
+internal static partial class ProxyV1TokenwiseV1PathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-get5", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options4", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1TokenwiseV1PathGet5Async(
+ var response = await client.ProxyV1TokenwiseV1PathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..84a9b27d
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1TokenwiseV1PathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-tokenwise-v1-path-options5", @"Proxy V1
+Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+
+Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+intentionally left ungated.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1TokenwiseV1PathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..a6bd9fbd
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1TokenwiseV1PathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1-tokenwise-v1-path-options6", @"Proxy V1
+Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+
+Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+intentionally left ungated.");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1TokenwiseV1PathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs
index 5a1c9988..8e580367 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1TokenwiseV1PathGet2CommandApiCommand
+internal static partial class ProxyV1TokenwiseV1PathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-get2", @"Proxy V1
+ var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options", @"Proxy V1
Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
@@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1TokenwiseV1PathGet2Async(
+ var response = await client.ProxyV1TokenwiseV1PathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs
deleted file mode 100644
index aecd98e3..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaGatewayV1betaPathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-gateway-v1beta-path-get6", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaGatewayV1betaPathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs
deleted file mode 100644
index 5bb2ce9c..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaGatewayV1betaPathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-gateway-v1beta-path-get", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaGatewayV1betaPathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs
index 49ce650f..9ac63163 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1betaGatewayV1betaPathGet3CommandApiCommand
+internal static partial class ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-get3", @"Proxy V1Beta
+ var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options2", @"Proxy V1Beta
Native Gemini API surface (``/v1beta/models/*:generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1betaGatewayV1betaPathGet3Async(
+ var response = await client.ProxyV1betaGatewayV1betaPathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs
index a93192f5..62a17e22 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1betaGatewayV1betaPathGet4CommandApiCommand
+internal static partial class ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-get4", @"Proxy V1Beta
+ var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options3", @"Proxy V1Beta
Native Gemini API surface (``/v1beta/models/*:generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1betaGatewayV1betaPathGet4Async(
+ var response = await client.ProxyV1betaGatewayV1betaPathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs
index 62c3a3a7..bf8858a8 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1betaGatewayV1betaPathGet5CommandApiCommand
+internal static partial class ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-get5", @"Proxy V1Beta
+ var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options4", @"Proxy V1Beta
Native Gemini API surface (``/v1beta/models/*:generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1betaGatewayV1betaPathGet5Async(
+ var response = await client.ProxyV1betaGatewayV1betaPathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..21bbd32b
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-gateway-v1beta-path-options5", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaGatewayV1betaPathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..9c1563be
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-gateway-v1beta-path-options6", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaGatewayV1betaPathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs
similarity index 94%
rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs
index 7dc5ac65..c5c6c775 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1betaGatewayV1betaPathGet2CommandApiCommand
+internal static partial class ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-get2", @"Proxy V1Beta
+ var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options", @"Proxy V1Beta
Native Gemini API surface (``/v1beta/models/*:generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1betaGatewayV1betaPathGet2Async(
+ var response = await client.ProxyV1betaGatewayV1betaPathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs
deleted file mode 100644
index f746d291..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get2", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGet2Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs
deleted file mode 100644
index a27517e7..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get3", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGet3Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs
deleted file mode 100644
index 7559f9e4..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get4", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGet4Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs
deleted file mode 100644
index d815e2e4..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get5", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGet5Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs
deleted file mode 100644
index 5da4cb98..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get6", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs
deleted file mode 100644
index 612766bb..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-get", @"Proxy V1Beta
-Native Gemini API surface (``/v1beta/models/*:generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1betaTokenwiseV1betaPathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs
new file mode 100644
index 00000000..e5a90881
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options2", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptions2Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs
new file mode 100644
index 00000000..51be63bf
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options3", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptions3Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs
new file mode 100644
index 00000000..88ab5a52
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options4", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptions4Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..50fecb3f
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options5", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..16887d32
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options6", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs
new file mode 100644
index 00000000..ea96b28d
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1beta-tokenwise-v1beta-path-options", @"Proxy V1Beta
+Native Gemini API surface (``/v1beta/models/*:generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1betaTokenwiseV1betaPathOptionsAsync(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs
deleted file mode 100644
index e7d3975c..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1internalGatewayV1internalPathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-gateway-v1internal-path-get6", @"Proxy V1Internal
-Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1internalGatewayV1internalPathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs
deleted file mode 100644
index ce8578fc..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1internalGatewayV1internalPathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-gateway-v1internal-path-get", @"Proxy V1Internal
-Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1internalGatewayV1internalPathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs
index 3f22ef2e..afab0493 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1internalGatewayV1internalPathGet3CommandApiCommand
+internal static partial class ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-get3", @"Proxy V1Internal
+ var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options2", @"Proxy V1Internal
Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1internalGatewayV1internalPathGet3Async(
+ var response = await client.ProxyV1internalGatewayV1internalPathOptions2Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs
index ad11b953..45f49ab5 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1internalGatewayV1internalPathGet4CommandApiCommand
+internal static partial class ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-get4", @"Proxy V1Internal
+ var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options3", @"Proxy V1Internal
Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1internalGatewayV1internalPathGet4Async(
+ var response = await client.ProxyV1internalGatewayV1internalPathOptions3Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs
index cb4d002e..eb17d602 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1internalGatewayV1internalPathGet5CommandApiCommand
+internal static partial class ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-get5", @"Proxy V1Internal
+ var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options4", @"Proxy V1Internal
Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1internalGatewayV1internalPathGet5Async(
+ var response = await client.ProxyV1internalGatewayV1internalPathOptions4Async(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs
new file mode 100644
index 00000000..660b90c7
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-gateway-v1internal-path-options5", @"Proxy V1Internal
+Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1internalGatewayV1internalPathOptions5Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs
new file mode 100644
index 00000000..7fb89a11
--- /dev/null
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs
@@ -0,0 +1,76 @@
+#nullable enable
+#pragma warning disable CS0618
+
+using System.CommandLine;
+
+namespace AI21.CLI.Commands;
+
+internal static partial class ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand
+{
+ private static Argument Path { get; } = new(
+ name: @"path")
+ {
+ Description = @"",
+ };
+
+ private static Option XAi21Key { get; } = new(
+ name: @"--x-ai21-key")
+ {
+ Description = @"",
+ };
+
+ private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-gateway-v1internal-path-options6", @"Proxy V1Internal
+Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
+ command.Arguments.Add(Path);
+ command.Options.Add(XAi21Key);
+
+
+ command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
+ await CliRuntime.RunAsync(async () =>
+ {
+ var path = parseResult.GetRequiredValue(Path);
+ var xAi21Key = parseResult.GetValue(XAi21Key);
+ using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
+
+
+ var response = await client.ProxyV1internalGatewayV1internalPathOptions6Async(
+ path: path,
+ xAi21Key: xAi21Key,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+
+
+ await CliRuntime.WriteResponseAsync(
+ parseResult,
+ response,
+ global::AI21.SourceGenerationContext.Default,
+ FormatResponse,
+ cancellationToken).ConfigureAwait(false);
+ }, cancellationToken).ConfigureAwait(false));
+ CustomizeCommand(ref command);
+ return command;
+ }
+}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs
index 7f701732..bbf78e67 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1internalGatewayV1internalPathGet2CommandApiCommand
+internal static partial class ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand
{
private static Argument Path { get; } = new(
name: @"path")
@@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob
public static Command Create(string? commandName = null)
{
- var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-get2", @"Proxy V1Internal
+ var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options", @"Proxy V1Internal
Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
command.Arguments.Add(Path);
command.Options.Add(XAi21Key);
@@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () =>
using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
- var response = await client.ProxyV1internalGatewayV1internalPathGet2Async(
+ var response = await client.ProxyV1internalGatewayV1internalPathOptionsAsync(
path: path,
xAi21Key: xAi21Key,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs
deleted file mode 100644
index 32b02c09..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-tokenwise-v1internal-path-get6", @"Proxy V1Internal
-Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1internalTokenwiseV1internalPathGet6Async(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs
deleted file mode 100644
index f4c7b752..00000000
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618
-
-using System.CommandLine;
-
-namespace AI21.CLI.Commands;
-
-internal static partial class ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand
-{
- private static Argument Path { get; } = new(
- name: @"path")
- {
- Description = @"",
- };
-
- private static Option XAi21Key { get; } = new(
- name: @"--x-ai21-key")
- {
- Description = @"",
- };
-
- private static string FormatResponse(ParseResult parseResult, string 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, string 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 ?? @"proxy-v1internal-tokenwise-v1internal-path-get", @"Proxy V1Internal
-Cloud Code native Gemini surface (``/v1internal:*generateContent``).");
- command.Arguments.Add(Path);
- command.Options.Add(XAi21Key);
-
-
- command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) =>
- await CliRuntime.RunAsync(async () =>
- {
- var path = parseResult.GetRequiredValue(Path);
- var xAi21Key = parseResult.GetValue(XAi21Key);
- using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);
-
-
- var response = await client.ProxyV1internalTokenwiseV1internalPathGetAsync(
- path: path,
- xAi21Key: xAi21Key,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-
-
- await CliRuntime.WriteResponseAsync(
- parseResult,
- response,
- global::AI21.SourceGenerationContext.Default,
- FormatResponse,
- cancellationToken).ConfigureAwait(false);
- }, cancellationToken).ConfigureAwait(false));
- CustomizeCommand(ref command);
- return command;
- }
-}
\ No newline at end of file
diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs
similarity index 95%
rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs
rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs
index 6fc109e8..210f9445 100644
--- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs
+++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs
@@ -5,7 +5,7 @@
namespace AI21.CLI.Commands;
-internal static partial class ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand
+internal static partial class ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand
{
private static Argument