From 6226b218983db01edc002ff61bef9c6cd18c686d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 9 Oct 2026 01:06:07 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...son.g.cs => OpenRouter.AnyOf.51.Json.g.cs} | 26 +- ...AnyOf.49.g.cs => OpenRouter.AnyOf.51.g.cs} | 480 ++-- .../OpenRouter.ApiKeysClient.List.g.cs | 16 + .../OpenRouter.EndUsersClient.Create.g.cs | 2 +- .../OpenRouter.EndUsersClient.Delete.g.cs | 4 +- .../OpenRouter.EndUsersClient.Get.g.cs | 4 +- .../OpenRouter.EndUsersClient.List.g.cs | 4 +- .../OpenRouter.EndUsersClient.Update.g.cs | 6 +- .../OpenRouter.GuardrailsClient.Create.g.cs | 6 - .../OpenRouter.GuardrailsClient.Update.g.cs | 6 - .../OpenRouter.IApiKeysClient.List.g.cs | 10 + .../OpenRouter.IEndUsersClient.Create.g.cs | 2 +- .../OpenRouter.IEndUsersClient.Delete.g.cs | 4 +- .../OpenRouter.IEndUsersClient.Get.g.cs | 4 +- .../OpenRouter.IEndUsersClient.List.g.cs | 4 +- .../OpenRouter.IEndUsersClient.Update.g.cs | 6 +- .../OpenRouter.IGuardrailsClient.Create.g.cs | 5 - .../OpenRouter.IGuardrailsClient.Update.g.cs | 5 - ...InternsClient.SignInternDaemonRequest.g.cs | 64 + ...OpenRouter.InternsClient.CreateIntern.g.cs | 2 +- ...InternsClient.SignInternDaemonRequest.g.cs | 819 ++++++ ...=> OpenRouter.JsonConverters.AnyOf51.g.cs} | 218 +- .../OpenRouter.JsonConverters.Inputs.g.cs | 16 +- ...OpenRouter.JsonConverters.OutputItems.g.cs | 17 +- ...ers.OutputToolSearchCallItemExecution.g.cs | 53 + ...utToolSearchCallItemExecutionNullable.g.cs | 60 + ...nverters.OutputToolSearchCallItemType.g.cs | 53 + ....OutputToolSearchCallItemTypeNullable.g.cs | 60 + ...onverters.ToolSearchCallItemExecution.g.cs | 48 + ...s.ToolSearchCallItemExecutionNullable.g.cs | 55 + ...onConverters.ToolSearchCallItemStatus.g.cs | 48 + ...ters.ToolSearchCallItemStatusNullable.g.cs | 55 + ...JsonConverters.ToolSearchCallItemType.g.cs | 53 + ...erters.ToolSearchCallItemTypeNullable.g.cs | 60 + ...verters.ToolSearchOutputItemExecution.g.cs | 48 + ...ToolSearchOutputItemExecutionNullable.g.cs | 55 + ...Converters.ToolSearchOutputItemStatus.g.cs | 48 + ...rs.ToolSearchOutputItemStatusNullable.g.cs | 55 + ...onConverters.ToolSearchOutputItemType.g.cs | 53 + ...ters.ToolSearchOutputItemTypeNullable.g.cs | 60 + .../OpenRouter.JsonSerializerContext.g.cs | 825 +++--- ...OpenRouter.JsonSerializerContextTypes.g.cs | 2438 +++++++++-------- ...penRouter.Models.CreateEndUserRequest.g.cs | 4 +- ...nRouter.Models.CreateGuardrailRequest.g.cs | 16 +- ...Router.Models.CreateGuardrailResponse.g.cs | 2 +- .../Generated/OpenRouter.Models.EndUser.g.cs | 4 +- ...penRouter.Models.GetGuardrailResponse.g.cs | 2 +- .../OpenRouter.Models.Guardrail.g.cs | 16 +- .../Generated/OpenRouter.Models.Inputs.g.cs | 20 +- .../OpenRouter.Models.JevRouterPlugin.g.cs | 14 + ...nRouter.Models.ListGuardrailsResponse.g.cs | 2 +- ...nRouter.Models.MessagesResultVariant2.g.cs | 12 +- ...Models.OutputApplyPatchServerToolItem.g.cs | 20 +- .../OpenRouter.Models.OutputDatetimeItem.g.cs | 20 +- ...s.OutputImageGenerationServerToolItem.g.cs | 20 +- .../OpenRouter.Models.OutputItems.g.cs | 92 +- ...r.Models.OutputItemsDiscriminatorType.g.cs | 6 + ...dels.OutputSearchModelsServerToolItem.g.cs | 20 +- ....Models.OutputToolSearchCallItem.Json.g.cs | 141 + ...outer.Models.OutputToolSearchCallItem.g.cs | 98 + ...utputToolSearchCallItemArguments.Json.g.cs | 141 + ...els.OutputToolSearchCallItemArguments.g.cs | 19 + ...els.OutputToolSearchCallItemExecution.g.cs | 45 + ...r.Models.OutputToolSearchCallItemType.g.cs | 45 + ...Models.OutputToolSearchServerToolItem.g.cs | 20 +- ....Models.OutputWebSearchServerToolItem.g.cs | 20 +- .../OpenRouter.Models.PublicEndpoint.g.cs | 8 +- ...r.Models.SignInternDaemonRequest.Json.g.cs | 141 + ...Router.Models.SignInternDaemonRequest.g.cs | 50 + ....Models.SignInternDaemonResponse.Json.g.cs | 141 + ...outer.Models.SignInternDaemonResponse.g.cs | 72 + ...nRouter.Models.SwitchyardRouterPlugin.g.cs | 4 +- ...Router.Models.ToolSearchCallItem.Json.g.cs | 141 + .../OpenRouter.Models.ToolSearchCallItem.g.cs | 95 + ...dels.ToolSearchCallItemArguments.Json.g.cs | 141 + ...er.Models.ToolSearchCallItemArguments.g.cs | 19 + ...er.Models.ToolSearchCallItemExecution.g.cs | 120 + ...outer.Models.ToolSearchCallItemStatus.g.cs | 127 + ...nRouter.Models.ToolSearchCallItemType.g.cs | 45 + ...uter.Models.ToolSearchOutputItem.Json.g.cs | 141 + ...penRouter.Models.ToolSearchOutputItem.g.cs | 96 + ....Models.ToolSearchOutputItemExecution.g.cs | 120 + ...ter.Models.ToolSearchOutputItemStatus.g.cs | 127 + ....Models.ToolSearchOutputItemTool.Json.g.cs | 141 + ...outer.Models.ToolSearchOutputItemTool.g.cs | 63 + ...Models.ToolSearchOutputItemTool2.Json.g.cs | 141 + ...uter.Models.ToolSearchOutputItemTool2.g.cs | 45 + ...Models.ToolSearchOutputItemTool3.Json.g.cs | 141 + ...uter.Models.ToolSearchOutputItemTool3.g.cs | 19 + ...outer.Models.ToolSearchOutputItemType.g.cs | 45 + ...nRouter.Models.UpdateGuardrailRequest.g.cs | 14 - ...Router.Models.UpdateGuardrailResponse.g.cs | 2 +- .../Generated/autosdk.generated-examples.json | 161 +- src/libs/OpenRouter/openapi.yaml | 1079 +++++++- 94 files changed, 8048 insertions(+), 2047 deletions(-) rename src/libs/OpenRouter/Generated/{OpenRouter.AnyOf.49.Json.g.cs => OpenRouter.AnyOf.51.Json.g.cs} (94%) rename src/libs/OpenRouter/Generated/{OpenRouter.AnyOf.49.g.cs => OpenRouter.AnyOf.51.g.cs} (77%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IInternsClient.SignInternDaemonRequest.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.InternsClient.SignInternDaemonRequest.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.JsonConverters.AnyOf49.g.cs => OpenRouter.JsonConverters.AnyOf51.g.cs} (93%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecutionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatusNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecutionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemExecution.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemType.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.Json.g.cs similarity index 94% rename from src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.Json.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.Json.g.cs index eaba2e38..f1fc90a0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.Json.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.Json.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public readonly partial struct AnyOf + public readonly partial struct AnyOf { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::OpenRouter.AnyOf? FromJson( + public static global::OpenRouter.AnyOf? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::OpenRouter.AnyOf), - jsonSerializerContext) as global::OpenRouter.AnyOf?; + typeof(global::OpenRouter.AnyOf), + jsonSerializerContext) as global::OpenRouter.AnyOf?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::OpenRouter.AnyOf? FromJson( + public static global::OpenRouter.AnyOf? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::OpenRouter.AnyOf? FromJson( + public static global::OpenRouter.AnyOf? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize>( + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::OpenRouter.AnyOf), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnyOf?; + typeof(global::OpenRouter.AnyOf), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnyOf?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.g.cs similarity index 77% rename from src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.g.cs index f83c3cf4..d2bbb83a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.49.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.51.g.cs @@ -6,7 +6,7 @@ namespace OpenRouter /// /// /// - public readonly partial struct AnyOf : global::System.IEquatable> + public readonly partial struct AnyOf : global::System.IEquatable> { /// /// @@ -1820,15 +1820,89 @@ public bool TryPickValue49( public T49 PickValue49() => Value49 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value49' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T50? Value50 { get; init; } +#else + public T50? Value50 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value50))] +#endif + public bool IsValue50 => Value50 != null; + + /// + /// + /// + public bool TryPickValue50( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T50? value) + { + value = Value50; + return IsValue50; + } + + /// + /// + /// + public T50 PickValue50() => Value50 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value50' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T51? Value51 { get; init; } +#else + public T51? Value51 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value51))] +#endif + public bool IsValue51 => Value51 != null; + + /// + /// + /// + public bool TryPickValue51( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T51? value) + { + value = Value51; + return IsValue51; + } + + /// + /// + /// + public T51 PickValue51() => Value51 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value51' but the value was {ToString()}."); /// /// /// - public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); + public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); /// /// /// - public static implicit operator T1?(AnyOf @this) => @this.Value1; + public static implicit operator T1?(AnyOf @this) => @this.Value1; /// /// @@ -1841,17 +1915,17 @@ public AnyOf(T1? value) /// /// /// - public static AnyOf FromValue1(T1? value) => new AnyOf(value); + public static AnyOf FromValue1(T1? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); + public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); /// /// /// - public static implicit operator T2?(AnyOf @this) => @this.Value2; + public static implicit operator T2?(AnyOf @this) => @this.Value2; /// /// @@ -1864,17 +1938,17 @@ public AnyOf(T2? value) /// /// /// - public static AnyOf FromValue2(T2? value) => new AnyOf(value); + public static AnyOf FromValue2(T2? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); + public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); /// /// /// - public static implicit operator T3?(AnyOf @this) => @this.Value3; + public static implicit operator T3?(AnyOf @this) => @this.Value3; /// /// @@ -1887,17 +1961,17 @@ public AnyOf(T3? value) /// /// /// - public static AnyOf FromValue3(T3? value) => new AnyOf(value); + public static AnyOf FromValue3(T3? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T4 value) => new AnyOf((T4?)value); + public static implicit operator AnyOf(T4 value) => new AnyOf((T4?)value); /// /// /// - public static implicit operator T4?(AnyOf @this) => @this.Value4; + public static implicit operator T4?(AnyOf @this) => @this.Value4; /// /// @@ -1910,17 +1984,17 @@ public AnyOf(T4? value) /// /// /// - public static AnyOf FromValue4(T4? value) => new AnyOf(value); + public static AnyOf FromValue4(T4? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T5 value) => new AnyOf((T5?)value); + public static implicit operator AnyOf(T5 value) => new AnyOf((T5?)value); /// /// /// - public static implicit operator T5?(AnyOf @this) => @this.Value5; + public static implicit operator T5?(AnyOf @this) => @this.Value5; /// /// @@ -1933,17 +2007,17 @@ public AnyOf(T5? value) /// /// /// - public static AnyOf FromValue5(T5? value) => new AnyOf(value); + public static AnyOf FromValue5(T5? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T6 value) => new AnyOf((T6?)value); + public static implicit operator AnyOf(T6 value) => new AnyOf((T6?)value); /// /// /// - public static implicit operator T6?(AnyOf @this) => @this.Value6; + public static implicit operator T6?(AnyOf @this) => @this.Value6; /// /// @@ -1956,17 +2030,17 @@ public AnyOf(T6? value) /// /// /// - public static AnyOf FromValue6(T6? value) => new AnyOf(value); + public static AnyOf FromValue6(T6? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T7 value) => new AnyOf((T7?)value); + public static implicit operator AnyOf(T7 value) => new AnyOf((T7?)value); /// /// /// - public static implicit operator T7?(AnyOf @this) => @this.Value7; + public static implicit operator T7?(AnyOf @this) => @this.Value7; /// /// @@ -1979,17 +2053,17 @@ public AnyOf(T7? value) /// /// /// - public static AnyOf FromValue7(T7? value) => new AnyOf(value); + public static AnyOf FromValue7(T7? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T8 value) => new AnyOf((T8?)value); + public static implicit operator AnyOf(T8 value) => new AnyOf((T8?)value); /// /// /// - public static implicit operator T8?(AnyOf @this) => @this.Value8; + public static implicit operator T8?(AnyOf @this) => @this.Value8; /// /// @@ -2002,17 +2076,17 @@ public AnyOf(T8? value) /// /// /// - public static AnyOf FromValue8(T8? value) => new AnyOf(value); + public static AnyOf FromValue8(T8? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T9 value) => new AnyOf((T9?)value); + public static implicit operator AnyOf(T9 value) => new AnyOf((T9?)value); /// /// /// - public static implicit operator T9?(AnyOf @this) => @this.Value9; + public static implicit operator T9?(AnyOf @this) => @this.Value9; /// /// @@ -2025,17 +2099,17 @@ public AnyOf(T9? value) /// /// /// - public static AnyOf FromValue9(T9? value) => new AnyOf(value); + public static AnyOf FromValue9(T9? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T10 value) => new AnyOf((T10?)value); + public static implicit operator AnyOf(T10 value) => new AnyOf((T10?)value); /// /// /// - public static implicit operator T10?(AnyOf @this) => @this.Value10; + public static implicit operator T10?(AnyOf @this) => @this.Value10; /// /// @@ -2048,17 +2122,17 @@ public AnyOf(T10? value) /// /// /// - public static AnyOf FromValue10(T10? value) => new AnyOf(value); + public static AnyOf FromValue10(T10? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T11 value) => new AnyOf((T11?)value); + public static implicit operator AnyOf(T11 value) => new AnyOf((T11?)value); /// /// /// - public static implicit operator T11?(AnyOf @this) => @this.Value11; + public static implicit operator T11?(AnyOf @this) => @this.Value11; /// /// @@ -2071,17 +2145,17 @@ public AnyOf(T11? value) /// /// /// - public static AnyOf FromValue11(T11? value) => new AnyOf(value); + public static AnyOf FromValue11(T11? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T12 value) => new AnyOf((T12?)value); + public static implicit operator AnyOf(T12 value) => new AnyOf((T12?)value); /// /// /// - public static implicit operator T12?(AnyOf @this) => @this.Value12; + public static implicit operator T12?(AnyOf @this) => @this.Value12; /// /// @@ -2094,17 +2168,17 @@ public AnyOf(T12? value) /// /// /// - public static AnyOf FromValue12(T12? value) => new AnyOf(value); + public static AnyOf FromValue12(T12? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T13 value) => new AnyOf((T13?)value); + public static implicit operator AnyOf(T13 value) => new AnyOf((T13?)value); /// /// /// - public static implicit operator T13?(AnyOf @this) => @this.Value13; + public static implicit operator T13?(AnyOf @this) => @this.Value13; /// /// @@ -2117,17 +2191,17 @@ public AnyOf(T13? value) /// /// /// - public static AnyOf FromValue13(T13? value) => new AnyOf(value); + public static AnyOf FromValue13(T13? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T14 value) => new AnyOf((T14?)value); + public static implicit operator AnyOf(T14 value) => new AnyOf((T14?)value); /// /// /// - public static implicit operator T14?(AnyOf @this) => @this.Value14; + public static implicit operator T14?(AnyOf @this) => @this.Value14; /// /// @@ -2140,17 +2214,17 @@ public AnyOf(T14? value) /// /// /// - public static AnyOf FromValue14(T14? value) => new AnyOf(value); + public static AnyOf FromValue14(T14? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T15 value) => new AnyOf((T15?)value); + public static implicit operator AnyOf(T15 value) => new AnyOf((T15?)value); /// /// /// - public static implicit operator T15?(AnyOf @this) => @this.Value15; + public static implicit operator T15?(AnyOf @this) => @this.Value15; /// /// @@ -2163,17 +2237,17 @@ public AnyOf(T15? value) /// /// /// - public static AnyOf FromValue15(T15? value) => new AnyOf(value); + public static AnyOf FromValue15(T15? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T16 value) => new AnyOf((T16?)value); + public static implicit operator AnyOf(T16 value) => new AnyOf((T16?)value); /// /// /// - public static implicit operator T16?(AnyOf @this) => @this.Value16; + public static implicit operator T16?(AnyOf @this) => @this.Value16; /// /// @@ -2186,17 +2260,17 @@ public AnyOf(T16? value) /// /// /// - public static AnyOf FromValue16(T16? value) => new AnyOf(value); + public static AnyOf FromValue16(T16? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T17 value) => new AnyOf((T17?)value); + public static implicit operator AnyOf(T17 value) => new AnyOf((T17?)value); /// /// /// - public static implicit operator T17?(AnyOf @this) => @this.Value17; + public static implicit operator T17?(AnyOf @this) => @this.Value17; /// /// @@ -2209,17 +2283,17 @@ public AnyOf(T17? value) /// /// /// - public static AnyOf FromValue17(T17? value) => new AnyOf(value); + public static AnyOf FromValue17(T17? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T18 value) => new AnyOf((T18?)value); + public static implicit operator AnyOf(T18 value) => new AnyOf((T18?)value); /// /// /// - public static implicit operator T18?(AnyOf @this) => @this.Value18; + public static implicit operator T18?(AnyOf @this) => @this.Value18; /// /// @@ -2232,17 +2306,17 @@ public AnyOf(T18? value) /// /// /// - public static AnyOf FromValue18(T18? value) => new AnyOf(value); + public static AnyOf FromValue18(T18? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T19 value) => new AnyOf((T19?)value); + public static implicit operator AnyOf(T19 value) => new AnyOf((T19?)value); /// /// /// - public static implicit operator T19?(AnyOf @this) => @this.Value19; + public static implicit operator T19?(AnyOf @this) => @this.Value19; /// /// @@ -2255,17 +2329,17 @@ public AnyOf(T19? value) /// /// /// - public static AnyOf FromValue19(T19? value) => new AnyOf(value); + public static AnyOf FromValue19(T19? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T20 value) => new AnyOf((T20?)value); + public static implicit operator AnyOf(T20 value) => new AnyOf((T20?)value); /// /// /// - public static implicit operator T20?(AnyOf @this) => @this.Value20; + public static implicit operator T20?(AnyOf @this) => @this.Value20; /// /// @@ -2278,17 +2352,17 @@ public AnyOf(T20? value) /// /// /// - public static AnyOf FromValue20(T20? value) => new AnyOf(value); + public static AnyOf FromValue20(T20? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T21 value) => new AnyOf((T21?)value); + public static implicit operator AnyOf(T21 value) => new AnyOf((T21?)value); /// /// /// - public static implicit operator T21?(AnyOf @this) => @this.Value21; + public static implicit operator T21?(AnyOf @this) => @this.Value21; /// /// @@ -2301,17 +2375,17 @@ public AnyOf(T21? value) /// /// /// - public static AnyOf FromValue21(T21? value) => new AnyOf(value); + public static AnyOf FromValue21(T21? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T22 value) => new AnyOf((T22?)value); + public static implicit operator AnyOf(T22 value) => new AnyOf((T22?)value); /// /// /// - public static implicit operator T22?(AnyOf @this) => @this.Value22; + public static implicit operator T22?(AnyOf @this) => @this.Value22; /// /// @@ -2324,17 +2398,17 @@ public AnyOf(T22? value) /// /// /// - public static AnyOf FromValue22(T22? value) => new AnyOf(value); + public static AnyOf FromValue22(T22? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T23 value) => new AnyOf((T23?)value); + public static implicit operator AnyOf(T23 value) => new AnyOf((T23?)value); /// /// /// - public static implicit operator T23?(AnyOf @this) => @this.Value23; + public static implicit operator T23?(AnyOf @this) => @this.Value23; /// /// @@ -2347,17 +2421,17 @@ public AnyOf(T23? value) /// /// /// - public static AnyOf FromValue23(T23? value) => new AnyOf(value); + public static AnyOf FromValue23(T23? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T24 value) => new AnyOf((T24?)value); + public static implicit operator AnyOf(T24 value) => new AnyOf((T24?)value); /// /// /// - public static implicit operator T24?(AnyOf @this) => @this.Value24; + public static implicit operator T24?(AnyOf @this) => @this.Value24; /// /// @@ -2370,17 +2444,17 @@ public AnyOf(T24? value) /// /// /// - public static AnyOf FromValue24(T24? value) => new AnyOf(value); + public static AnyOf FromValue24(T24? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T25 value) => new AnyOf((T25?)value); + public static implicit operator AnyOf(T25 value) => new AnyOf((T25?)value); /// /// /// - public static implicit operator T25?(AnyOf @this) => @this.Value25; + public static implicit operator T25?(AnyOf @this) => @this.Value25; /// /// @@ -2393,17 +2467,17 @@ public AnyOf(T25? value) /// /// /// - public static AnyOf FromValue25(T25? value) => new AnyOf(value); + public static AnyOf FromValue25(T25? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T26 value) => new AnyOf((T26?)value); + public static implicit operator AnyOf(T26 value) => new AnyOf((T26?)value); /// /// /// - public static implicit operator T26?(AnyOf @this) => @this.Value26; + public static implicit operator T26?(AnyOf @this) => @this.Value26; /// /// @@ -2416,17 +2490,17 @@ public AnyOf(T26? value) /// /// /// - public static AnyOf FromValue26(T26? value) => new AnyOf(value); + public static AnyOf FromValue26(T26? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T27 value) => new AnyOf((T27?)value); + public static implicit operator AnyOf(T27 value) => new AnyOf((T27?)value); /// /// /// - public static implicit operator T27?(AnyOf @this) => @this.Value27; + public static implicit operator T27?(AnyOf @this) => @this.Value27; /// /// @@ -2439,17 +2513,17 @@ public AnyOf(T27? value) /// /// /// - public static AnyOf FromValue27(T27? value) => new AnyOf(value); + public static AnyOf FromValue27(T27? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T28 value) => new AnyOf((T28?)value); + public static implicit operator AnyOf(T28 value) => new AnyOf((T28?)value); /// /// /// - public static implicit operator T28?(AnyOf @this) => @this.Value28; + public static implicit operator T28?(AnyOf @this) => @this.Value28; /// /// @@ -2462,17 +2536,17 @@ public AnyOf(T28? value) /// /// /// - public static AnyOf FromValue28(T28? value) => new AnyOf(value); + public static AnyOf FromValue28(T28? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T29 value) => new AnyOf((T29?)value); + public static implicit operator AnyOf(T29 value) => new AnyOf((T29?)value); /// /// /// - public static implicit operator T29?(AnyOf @this) => @this.Value29; + public static implicit operator T29?(AnyOf @this) => @this.Value29; /// /// @@ -2485,17 +2559,17 @@ public AnyOf(T29? value) /// /// /// - public static AnyOf FromValue29(T29? value) => new AnyOf(value); + public static AnyOf FromValue29(T29? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T30 value) => new AnyOf((T30?)value); + public static implicit operator AnyOf(T30 value) => new AnyOf((T30?)value); /// /// /// - public static implicit operator T30?(AnyOf @this) => @this.Value30; + public static implicit operator T30?(AnyOf @this) => @this.Value30; /// /// @@ -2508,17 +2582,17 @@ public AnyOf(T30? value) /// /// /// - public static AnyOf FromValue30(T30? value) => new AnyOf(value); + public static AnyOf FromValue30(T30? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T31 value) => new AnyOf((T31?)value); + public static implicit operator AnyOf(T31 value) => new AnyOf((T31?)value); /// /// /// - public static implicit operator T31?(AnyOf @this) => @this.Value31; + public static implicit operator T31?(AnyOf @this) => @this.Value31; /// /// @@ -2531,17 +2605,17 @@ public AnyOf(T31? value) /// /// /// - public static AnyOf FromValue31(T31? value) => new AnyOf(value); + public static AnyOf FromValue31(T31? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T32 value) => new AnyOf((T32?)value); + public static implicit operator AnyOf(T32 value) => new AnyOf((T32?)value); /// /// /// - public static implicit operator T32?(AnyOf @this) => @this.Value32; + public static implicit operator T32?(AnyOf @this) => @this.Value32; /// /// @@ -2554,17 +2628,17 @@ public AnyOf(T32? value) /// /// /// - public static AnyOf FromValue32(T32? value) => new AnyOf(value); + public static AnyOf FromValue32(T32? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T33 value) => new AnyOf((T33?)value); + public static implicit operator AnyOf(T33 value) => new AnyOf((T33?)value); /// /// /// - public static implicit operator T33?(AnyOf @this) => @this.Value33; + public static implicit operator T33?(AnyOf @this) => @this.Value33; /// /// @@ -2577,17 +2651,17 @@ public AnyOf(T33? value) /// /// /// - public static AnyOf FromValue33(T33? value) => new AnyOf(value); + public static AnyOf FromValue33(T33? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T34 value) => new AnyOf((T34?)value); + public static implicit operator AnyOf(T34 value) => new AnyOf((T34?)value); /// /// /// - public static implicit operator T34?(AnyOf @this) => @this.Value34; + public static implicit operator T34?(AnyOf @this) => @this.Value34; /// /// @@ -2600,17 +2674,17 @@ public AnyOf(T34? value) /// /// /// - public static AnyOf FromValue34(T34? value) => new AnyOf(value); + public static AnyOf FromValue34(T34? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T35 value) => new AnyOf((T35?)value); + public static implicit operator AnyOf(T35 value) => new AnyOf((T35?)value); /// /// /// - public static implicit operator T35?(AnyOf @this) => @this.Value35; + public static implicit operator T35?(AnyOf @this) => @this.Value35; /// /// @@ -2623,17 +2697,17 @@ public AnyOf(T35? value) /// /// /// - public static AnyOf FromValue35(T35? value) => new AnyOf(value); + public static AnyOf FromValue35(T35? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T36 value) => new AnyOf((T36?)value); + public static implicit operator AnyOf(T36 value) => new AnyOf((T36?)value); /// /// /// - public static implicit operator T36?(AnyOf @this) => @this.Value36; + public static implicit operator T36?(AnyOf @this) => @this.Value36; /// /// @@ -2646,17 +2720,17 @@ public AnyOf(T36? value) /// /// /// - public static AnyOf FromValue36(T36? value) => new AnyOf(value); + public static AnyOf FromValue36(T36? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T37 value) => new AnyOf((T37?)value); + public static implicit operator AnyOf(T37 value) => new AnyOf((T37?)value); /// /// /// - public static implicit operator T37?(AnyOf @this) => @this.Value37; + public static implicit operator T37?(AnyOf @this) => @this.Value37; /// /// @@ -2669,17 +2743,17 @@ public AnyOf(T37? value) /// /// /// - public static AnyOf FromValue37(T37? value) => new AnyOf(value); + public static AnyOf FromValue37(T37? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T38 value) => new AnyOf((T38?)value); + public static implicit operator AnyOf(T38 value) => new AnyOf((T38?)value); /// /// /// - public static implicit operator T38?(AnyOf @this) => @this.Value38; + public static implicit operator T38?(AnyOf @this) => @this.Value38; /// /// @@ -2692,17 +2766,17 @@ public AnyOf(T38? value) /// /// /// - public static AnyOf FromValue38(T38? value) => new AnyOf(value); + public static AnyOf FromValue38(T38? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T39 value) => new AnyOf((T39?)value); + public static implicit operator AnyOf(T39 value) => new AnyOf((T39?)value); /// /// /// - public static implicit operator T39?(AnyOf @this) => @this.Value39; + public static implicit operator T39?(AnyOf @this) => @this.Value39; /// /// @@ -2715,17 +2789,17 @@ public AnyOf(T39? value) /// /// /// - public static AnyOf FromValue39(T39? value) => new AnyOf(value); + public static AnyOf FromValue39(T39? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T40 value) => new AnyOf((T40?)value); + public static implicit operator AnyOf(T40 value) => new AnyOf((T40?)value); /// /// /// - public static implicit operator T40?(AnyOf @this) => @this.Value40; + public static implicit operator T40?(AnyOf @this) => @this.Value40; /// /// @@ -2738,17 +2812,17 @@ public AnyOf(T40? value) /// /// /// - public static AnyOf FromValue40(T40? value) => new AnyOf(value); + public static AnyOf FromValue40(T40? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T41 value) => new AnyOf((T41?)value); + public static implicit operator AnyOf(T41 value) => new AnyOf((T41?)value); /// /// /// - public static implicit operator T41?(AnyOf @this) => @this.Value41; + public static implicit operator T41?(AnyOf @this) => @this.Value41; /// /// @@ -2761,17 +2835,17 @@ public AnyOf(T41? value) /// /// /// - public static AnyOf FromValue41(T41? value) => new AnyOf(value); + public static AnyOf FromValue41(T41? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T42 value) => new AnyOf((T42?)value); + public static implicit operator AnyOf(T42 value) => new AnyOf((T42?)value); /// /// /// - public static implicit operator T42?(AnyOf @this) => @this.Value42; + public static implicit operator T42?(AnyOf @this) => @this.Value42; /// /// @@ -2784,17 +2858,17 @@ public AnyOf(T42? value) /// /// /// - public static AnyOf FromValue42(T42? value) => new AnyOf(value); + public static AnyOf FromValue42(T42? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T43 value) => new AnyOf((T43?)value); + public static implicit operator AnyOf(T43 value) => new AnyOf((T43?)value); /// /// /// - public static implicit operator T43?(AnyOf @this) => @this.Value43; + public static implicit operator T43?(AnyOf @this) => @this.Value43; /// /// @@ -2807,17 +2881,17 @@ public AnyOf(T43? value) /// /// /// - public static AnyOf FromValue43(T43? value) => new AnyOf(value); + public static AnyOf FromValue43(T43? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T44 value) => new AnyOf((T44?)value); + public static implicit operator AnyOf(T44 value) => new AnyOf((T44?)value); /// /// /// - public static implicit operator T44?(AnyOf @this) => @this.Value44; + public static implicit operator T44?(AnyOf @this) => @this.Value44; /// /// @@ -2830,17 +2904,17 @@ public AnyOf(T44? value) /// /// /// - public static AnyOf FromValue44(T44? value) => new AnyOf(value); + public static AnyOf FromValue44(T44? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T45 value) => new AnyOf((T45?)value); + public static implicit operator AnyOf(T45 value) => new AnyOf((T45?)value); /// /// /// - public static implicit operator T45?(AnyOf @this) => @this.Value45; + public static implicit operator T45?(AnyOf @this) => @this.Value45; /// /// @@ -2853,17 +2927,17 @@ public AnyOf(T45? value) /// /// /// - public static AnyOf FromValue45(T45? value) => new AnyOf(value); + public static AnyOf FromValue45(T45? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T46 value) => new AnyOf((T46?)value); + public static implicit operator AnyOf(T46 value) => new AnyOf((T46?)value); /// /// /// - public static implicit operator T46?(AnyOf @this) => @this.Value46; + public static implicit operator T46?(AnyOf @this) => @this.Value46; /// /// @@ -2876,17 +2950,17 @@ public AnyOf(T46? value) /// /// /// - public static AnyOf FromValue46(T46? value) => new AnyOf(value); + public static AnyOf FromValue46(T46? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T47 value) => new AnyOf((T47?)value); + public static implicit operator AnyOf(T47 value) => new AnyOf((T47?)value); /// /// /// - public static implicit operator T47?(AnyOf @this) => @this.Value47; + public static implicit operator T47?(AnyOf @this) => @this.Value47; /// /// @@ -2899,17 +2973,17 @@ public AnyOf(T47? value) /// /// /// - public static AnyOf FromValue47(T47? value) => new AnyOf(value); + public static AnyOf FromValue47(T47? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T48 value) => new AnyOf((T48?)value); + public static implicit operator AnyOf(T48 value) => new AnyOf((T48?)value); /// /// /// - public static implicit operator T48?(AnyOf @this) => @this.Value48; + public static implicit operator T48?(AnyOf @this) => @this.Value48; /// /// @@ -2922,17 +2996,17 @@ public AnyOf(T48? value) /// /// /// - public static AnyOf FromValue48(T48? value) => new AnyOf(value); + public static AnyOf FromValue48(T48? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T49 value) => new AnyOf((T49?)value); + public static implicit operator AnyOf(T49 value) => new AnyOf((T49?)value); /// /// /// - public static implicit operator T49?(AnyOf @this) => @this.Value49; + public static implicit operator T49?(AnyOf @this) => @this.Value49; /// /// @@ -2945,7 +3019,53 @@ public AnyOf(T49? value) /// /// /// - public static AnyOf FromValue49(T49? value) => new AnyOf(value); + public static AnyOf FromValue49(T49? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T50 value) => new AnyOf((T50?)value); + + /// + /// + /// + public static implicit operator T50?(AnyOf @this) => @this.Value50; + + /// + /// + /// + public AnyOf(T50? value) + { + Value50 = value; + } + + /// + /// + /// + public static AnyOf FromValue50(T50? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T51 value) => new AnyOf((T51?)value); + + /// + /// + /// + public static implicit operator T51?(AnyOf @this) => @this.Value51; + + /// + /// + /// + public AnyOf(T51? value) + { + Value51 = value; + } + + /// + /// + /// + public static AnyOf FromValue51(T51? value) => new AnyOf(value); /// /// @@ -2999,7 +3119,9 @@ public AnyOf( T46? value46, T47? value47, T48? value48, - T49? value49 + T49? value49, + T50? value50, + T51? value51 ) { Value1 = value1; @@ -3051,12 +3173,16 @@ public AnyOf( Value47 = value47; Value48 = value48; Value49 = value49; + Value50 = value50; + Value51 = value51; } /// /// /// public object? Object => + Value51 as object ?? + Value50 as object ?? Value49 as object ?? Value48 as object ?? Value47 as object ?? @@ -3160,7 +3286,9 @@ Value1 as object Value46?.ToString() ?? Value47?.ToString() ?? Value48?.ToString() ?? - Value49?.ToString() + Value49?.ToString() ?? + Value50?.ToString() ?? + Value51?.ToString() ; /// @@ -3168,7 +3296,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5 || IsValue6 || IsValue7 || IsValue8 || IsValue9 || IsValue10 || IsValue11 || IsValue12 || IsValue13 || IsValue14 || IsValue15 || IsValue16 || IsValue17 || IsValue18 || IsValue19 || IsValue20 || IsValue21 || IsValue22 || IsValue23 || IsValue24 || IsValue25 || IsValue26 || IsValue27 || IsValue28 || IsValue29 || IsValue30 || IsValue31 || IsValue32 || IsValue33 || IsValue34 || IsValue35 || IsValue36 || IsValue37 || IsValue38 || IsValue39 || IsValue40 || IsValue41 || IsValue42 || IsValue43 || IsValue44 || IsValue45 || IsValue46 || IsValue47 || IsValue48 || IsValue49; + return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5 || IsValue6 || IsValue7 || IsValue8 || IsValue9 || IsValue10 || IsValue11 || IsValue12 || IsValue13 || IsValue14 || IsValue15 || IsValue16 || IsValue17 || IsValue18 || IsValue19 || IsValue20 || IsValue21 || IsValue22 || IsValue23 || IsValue24 || IsValue25 || IsValue26 || IsValue27 || IsValue28 || IsValue29 || IsValue30 || IsValue31 || IsValue32 || IsValue33 || IsValue34 || IsValue35 || IsValue36 || IsValue37 || IsValue38 || IsValue39 || IsValue40 || IsValue41 || IsValue42 || IsValue43 || IsValue44 || IsValue45 || IsValue46 || IsValue47 || IsValue48 || IsValue49 || IsValue50 || IsValue51; } /// @@ -3224,6 +3352,8 @@ public bool Validate() global::System.Func? value47 = null, global::System.Func? value48 = null, global::System.Func? value49 = null, + global::System.Func? value50 = null, + global::System.Func? value51 = null, bool validate = true) { if (validate) @@ -3427,6 +3557,14 @@ public bool Validate() { return value49(__value48); } + else if (Value50 is { } __value49 && value50 != null) + { + return value50(__value49); + } + else if (Value51 is { } __value50 && value51 != null) + { + return value51(__value50); + } return default(TResult); } @@ -3532,6 +3670,10 @@ public void Match( global::System.Action? value48 = null, global::System.Action? value49 = null, + + global::System.Action? value50 = null, + + global::System.Action? value51 = null, bool validate = true) { if (validate) @@ -3735,6 +3877,14 @@ public void Match( { value49?.Invoke(__value48); } + else if (Value50 is { } __value49) + { + value50?.Invoke(__value49); + } + else if (Value51 is { } __value50) + { + value51?.Invoke(__value50); + } } /// @@ -3790,6 +3940,8 @@ public void Switch( global::System.Action? value47 = null, global::System.Action? value48 = null, global::System.Action? value49 = null, + global::System.Action? value50 = null, + global::System.Action? value51 = null, bool validate = true) { if (validate) @@ -3993,6 +4145,14 @@ public void Switch( { value49?.Invoke(__value48); } + else if (Value50 is { } __value49) + { + value50?.Invoke(__value49); + } + else if (Value51 is { } __value50) + { + value51?.Invoke(__value50); + } } /// @@ -4100,6 +4260,10 @@ public override int GetHashCode() typeof(T48), Value49, typeof(T49), + Value50, + typeof(T50), + Value51, + typeof(T51), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -4113,7 +4277,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null /// /// /// - public bool Equals(AnyOf other) + public bool Equals(AnyOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && @@ -4164,22 +4328,24 @@ public bool Equals(AnyOf.Default.Equals(Value46, other.Value46) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value47, other.Value47) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value48, other.Value48) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value49, other.Value49) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value49, other.Value49) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value50, other.Value50) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value51, other.Value51) ; } /// /// /// - public static bool operator ==(AnyOf obj1, AnyOf obj2) + public static bool operator ==(AnyOf obj1, AnyOf obj2) { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); } /// /// /// - public static bool operator !=(AnyOf obj1, AnyOf obj2) + public static bool operator !=(AnyOf obj1, AnyOf obj2) { return !(obj1 == obj2); } @@ -4189,7 +4355,7 @@ public bool Equals(AnyOf public override bool Equals(object? obj) { - return obj is AnyOf o && Equals(o); + return obj is AnyOf o && Equals(o); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs index 1f6e4b6d..a0022a1c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs @@ -28,12 +28,14 @@ public partial class ApiKeysClient partial void PrepareListArguments( global::System.Net.Http.HttpClient httpClient, ref bool? includeDisabled, + ref bool? includeExpired, ref int? offset, ref global::System.Guid? workspaceId); partial void PrepareListRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool? includeDisabled, + bool? includeExpired, int? offset, global::System.Guid? workspaceId); partial void ProcessListResponse( @@ -53,6 +55,10 @@ partial void ProcessListResponseContent( /// Whether to include disabled API keys in the response
/// Example: false /// + /// + /// Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.
+ /// Example: false + /// /// /// Number of API keys to skip for pagination
/// Example: 0 @@ -66,6 +72,7 @@ partial void ProcessListResponseContent( /// public async global::System.Threading.Tasks.Task ListAsync( bool? includeDisabled = default, + bool? includeExpired = default, int? offset = default, global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, @@ -73,6 +80,7 @@ partial void ProcessListResponseContent( { var __response = await ListAsResponseAsync( includeDisabled: includeDisabled, + includeExpired: includeExpired, offset: offset, workspaceId: workspaceId, requestOptions: requestOptions, @@ -89,6 +97,10 @@ partial void ProcessListResponseContent( /// Whether to include disabled API keys in the response
/// Example: false /// + /// + /// Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.
+ /// Example: false + /// /// /// Number of API keys to skip for pagination
/// Example: 0 @@ -102,6 +114,7 @@ partial void ProcessListResponseContent( /// public async global::System.Threading.Tasks.Task> ListAsResponseAsync( bool? includeDisabled = default, + bool? includeExpired = default, int? offset = default, global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, @@ -112,6 +125,7 @@ partial void ProcessListResponseContent( PrepareListArguments( httpClient: HttpClient, includeDisabled: ref includeDisabled, + includeExpired: ref includeExpired, offset: ref offset, workspaceId: ref workspaceId); @@ -143,6 +157,7 @@ partial void ProcessListResponseContent( baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("include_disabled", includeDisabled?.ToString().ToLowerInvariant()) + .AddOptionalParameter("include_expired", includeExpired?.ToString().ToLowerInvariant()) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; @@ -187,6 +202,7 @@ partial void ProcessListResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, includeDisabled: includeDisabled, + includeExpired: includeExpired, offset: offset, workspaceId: workspaceId); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Create.g.cs index 3c80c134..1258c2d8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Create.g.cs @@ -623,7 +623,7 @@ partial void ProcessCreateResponseContent( /// Register a caller-supplied tracking ID under the authenticated organization. No login account, policy, or credentials are created. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Delete.g.cs index 4e2e84e6..b4d74d73 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Delete.g.cs @@ -41,7 +41,7 @@ partial void ProcessDeleteResponse( /// Soft-deactivate a registration while retaining its tracking ID. Repeat deactivation succeeds. This does not block inference; reactivate through PATCH. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -63,7 +63,7 @@ await DeleteAsResponseAsync( /// Soft-deactivate a registration while retaining its tracking ID. Repeat deactivation succeeds. This does not block inference; reactivate through PATCH. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Get.g.cs index a60eec85..5e5ff623 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Get.g.cs @@ -46,7 +46,7 @@ partial void ProcessGetResponseContent( /// Retrieve an active or inactive registration by its URL-encoded, caller-supplied tracking ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -70,7 +70,7 @@ partial void ProcessGetResponseContent( /// Retrieve an active or inactive registration by its URL-encoded, caller-supplied tracking ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.List.g.cs index 877e803f..caca42f2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.List.g.cs @@ -62,7 +62,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -107,7 +107,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Update.g.cs index f157209b..a6980df5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndUsersClient.Update.g.cs @@ -48,7 +48,7 @@ partial void ProcessUpdateResponseContent( /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -77,7 +77,7 @@ partial void ProcessUpdateResponseContent( /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -601,7 +601,7 @@ partial void ProcessUpdateResponseContent( /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs index 08b2a24a..90273ab5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs @@ -587,10 +587,6 @@ partial void ProcessCreateResponseContent( /// Create a guardrail
/// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -680,7 +676,6 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( string name, - bool? allowSafetyRetentionGoogle = default, global::System.Collections.Generic.IList? allowedDataRegions = default, global::System.Collections.Generic.IList? allowedModels = default, global::System.Collections.Generic.IList? allowedProviders = default, @@ -706,7 +701,6 @@ partial void ProcessCreateResponseContent( { var __request = new global::OpenRouter.CreateGuardrailRequest { - AllowSafetyRetentionGoogle = allowSafetyRetentionGoogle, AllowedDataRegions = allowedDataRegions, AllowedModels = allowedModels, AllowedProviders = allowedProviders, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs index 7cadeed6..4140a5a3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs @@ -680,10 +680,6 @@ partial void ProcessUpdateResponseContent( /// The unique identifier of the guardrail to update
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -769,7 +765,6 @@ partial void ProcessUpdateResponseContent( /// public async global::System.Threading.Tasks.Task UpdateAsync( global::System.Guid id, - bool? allowSafetyRetentionGoogle = default, global::System.Collections.Generic.IList? allowedDataRegions = default, global::System.Collections.Generic.IList? allowedModels = default, global::System.Collections.Generic.IList? allowedProviders = default, @@ -795,7 +790,6 @@ partial void ProcessUpdateResponseContent( { var __request = new global::OpenRouter.UpdateGuardrailRequest { - AllowSafetyRetentionGoogle = allowSafetyRetentionGoogle, AllowedDataRegions = allowedDataRegions, AllowedModels = allowedModels, AllowedProviders = allowedProviders, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs index 0d15a315..57a31410 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs @@ -12,6 +12,10 @@ public partial interface IApiKeysClient /// Whether to include disabled API keys in the response
/// Example: false /// + /// + /// Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.
+ /// Example: false + /// /// /// Number of API keys to skip for pagination
/// Example: 0 @@ -25,6 +29,7 @@ public partial interface IApiKeysClient /// global::System.Threading.Tasks.Task ListAsync( bool? includeDisabled = default, + bool? includeExpired = default, int? offset = default, global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, @@ -37,6 +42,10 @@ public partial interface IApiKeysClient /// Whether to include disabled API keys in the response
/// Example: false /// + /// + /// Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.
+ /// Example: false + /// /// /// Number of API keys to skip for pagination
/// Example: 0 @@ -50,6 +59,7 @@ public partial interface IApiKeysClient /// global::System.Threading.Tasks.Task> ListAsResponseAsync( bool? includeDisabled = default, + bool? includeExpired = default, int? offset = default, global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Create.g.cs index 6861fb9e..4fa6e437 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Create.g.cs @@ -35,7 +35,7 @@ public partial interface IEndUsersClient /// Register a caller-supplied tracking ID under the authenticated organization. No login account, policy, or credentials are created. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Delete.g.cs index 8dcf320f..20489b46 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Delete.g.cs @@ -9,7 +9,7 @@ public partial interface IEndUsersClient /// Soft-deactivate a registration while retaining its tracking ID. Repeat deactivation succeeds. This does not block inference; reactivate through PATCH. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -24,7 +24,7 @@ public partial interface IEndUsersClient /// Soft-deactivate a registration while retaining its tracking ID. Repeat deactivation succeeds. This does not block inference; reactivate through PATCH. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Get.g.cs index 11957df1..6aafe0fd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Get.g.cs @@ -9,7 +9,7 @@ public partial interface IEndUsersClient /// Retrieve an active or inactive registration by its URL-encoded, caller-supplied tracking ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -24,7 +24,7 @@ public partial interface IEndUsersClient /// Retrieve an active or inactive registration by its URL-encoded, caller-supplied tracking ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.List.g.cs index 95669ce3..759d3f81 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.List.g.cs @@ -19,7 +19,7 @@ public partial interface IEndUsersClient /// Example: 50 /// /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -52,7 +52,7 @@ public partial interface IEndUsersClient /// Example: 50 /// /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Update.g.cs index f71eb9b1..64c935e5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndUsersClient.Update.g.cs @@ -9,7 +9,7 @@ public partial interface IEndUsersClient /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -27,7 +27,7 @@ public partial interface IEndUsersClient /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// @@ -45,7 +45,7 @@ public partial interface IEndUsersClient /// Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs index dde2fd66..7cddb17c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs @@ -36,10 +36,6 @@ public partial interface IGuardrailsClient /// Create a guardrail
/// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -129,7 +125,6 @@ public partial interface IGuardrailsClient /// global::System.Threading.Tasks.Task CreateAsync( string name, - bool? allowSafetyRetentionGoogle = default, global::System.Collections.Generic.IList? allowedDataRegions = default, global::System.Collections.Generic.IList? allowedModels = default, global::System.Collections.Generic.IList? allowedProviders = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs index 56f3522b..a442d676 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs @@ -50,10 +50,6 @@ public partial interface IGuardrailsClient /// The unique identifier of the guardrail to update
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -139,7 +135,6 @@ public partial interface IGuardrailsClient /// global::System.Threading.Tasks.Task UpdateAsync( global::System.Guid id, - bool? allowSafetyRetentionGoogle = default, global::System.Collections.Generic.IList? allowedDataRegions = default, global::System.Collections.Generic.IList? allowedModels = default, global::System.Collections.Generic.IList? allowedProviders = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IInternsClient.SignInternDaemonRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IInternsClient.SignInternDaemonRequest.g.cs new file mode 100644 index 00000000..ea2cc219 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IInternsClient.SignInternDaemonRequest.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IInternsClient + { + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SignInternDaemonRequestAsync( + string internId, + + global::OpenRouter.SignInternDaemonRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SignInternDaemonRequestAsResponseAsync( + string internId, + + global::OpenRouter.SignInternDaemonRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Lower-case hex SHA-256 of the exact bytes the CLI will send as the daemon request body.
+ /// Example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SignInternDaemonRequestAsync( + string internId, + string bodySha256, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs index 890051ee..e9c0e5a2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs @@ -434,7 +434,7 @@ partial void ProcessCreateInternResponseContent( h => h.Key, h => h.Value)); } - // The key acts as an organization and has no member who can own the intern, or regional access is refused. + // The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused. if ((int)__response.StatusCode == 403) { string? __content_403 = null; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.SignInternDaemonRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.SignInternDaemonRequest.g.cs new file mode 100644 index 00000000..ad4b55d1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.SignInternDaemonRequest.g.cs @@ -0,0 +1,819 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class InternsClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_SignInternDaemonRequestSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_SignInternDaemonRequestSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_SignInternDaemonRequestSecurityRequirement0, + }; + partial void PrepareSignInternDaemonRequestArguments( + global::System.Net.Http.HttpClient httpClient, + ref string internId, + global::OpenRouter.SignInternDaemonRequest request); + partial void PrepareSignInternDaemonRequestRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string internId, + global::OpenRouter.SignInternDaemonRequest request); + partial void ProcessSignInternDaemonRequestResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSignInternDaemonRequestResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SignInternDaemonRequestAsync( + string internId, + + global::OpenRouter.SignInternDaemonRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await SignInternDaemonRequestAsResponseAsync( + internId: internId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> SignInternDaemonRequestAsResponseAsync( + string internId, + + global::OpenRouter.SignInternDaemonRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareSignInternDaemonRequestArguments( + httpClient: HttpClient, + internId: ref internId, + request: request); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_SignInternDaemonRequestSecurityRequirements, + operationName: "SignInternDaemonRequestAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: $"/interns/{internId}/daemon/sign", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareSignInternDaemonRequestRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + internId: internId, + request: request); + + global::OpenRouter.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "SignInternDaemonRequest", + methodName: "SignInternDaemonRequestAsync", + pathTemplate: "$\"/interns/{internId}/daemon/sign\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "SignInternDaemonRequest", + methodName: "SignInternDaemonRequestAsync", + pathTemplate: "$\"/interns/{internId}/daemon/sign\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "SignInternDaemonRequest", + methodName: "SignInternDaemonRequestAsync", + pathTemplate: "$\"/interns/{internId}/daemon/sign\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessSignInternDaemonRequestResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "SignInternDaemonRequest", + methodName: "SignInternDaemonRequestAsync", + pathTemplate: "$\"/interns/{internId}/daemon/sign\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "SignInternDaemonRequest", + methodName: "SignInternDaemonRequestAsync", + pathTemplate: "$\"/interns/{internId}/daemon/sign\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // The request body is invalid. + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::OpenRouter.InternLifecycleError? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::OpenRouter.InternLifecycleError.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::OpenRouter.InternLifecycleError.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Missing, unknown or provisioning API key. + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.InternLifecycleError? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.InternLifecycleError.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.InternLifecycleError.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The caller is an API key, which names no person (`personal_identity_required`), or an OAuth grant without `vault:read` (`insufficient_scope`). Also returned when the key owner no longer has access or the request used a regional hostname. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.InternLifecycleError? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.InternLifecycleError.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.InternLifecycleError.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::OpenRouter.InternLifecycleError? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::OpenRouter.InternLifecycleError.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::OpenRouter.InternLifecycleError.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request exceeded its route deadline. The deadline quoted in the message is the route's own, so it differs between operations. + if ((int)__response.StatusCode == 408) + { + string? __content_408 = null; + global::System.Exception? __exception_408 = null; + global::OpenRouter.InternLifecycleError? __value_408 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_408 = global::OpenRouter.InternLifecycleError.FromJson(__content_408, JsonSerializerContext); + } + else + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_408 = global::OpenRouter.InternLifecycleError.FromJson(__content_408, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_408 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_408 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_408, + responseBody: __content_408, + responseObject: __value_408, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request body is larger than 1048576 bytes. + if ((int)__response.StatusCode == 413) + { + string? __content_413 = null; + global::System.Exception? __exception_413 = null; + global::OpenRouter.InternLifecycleError? __value_413 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_413 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_413 = global::OpenRouter.InternLifecycleError.FromJson(__content_413, JsonSerializerContext); + } + else + { + __content_413 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_413 = global::OpenRouter.InternLifecycleError.FromJson(__content_413, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_413 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_413 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_413, + responseBody: __content_413, + responseObject: __value_413, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request body is non-empty and its Content-Type is not application/json. + if ((int)__response.StatusCode == 415) + { + string? __content_415 = null; + global::System.Exception? __exception_415 = null; + global::OpenRouter.InternLifecycleError? __value_415 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_415 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_415 = global::OpenRouter.InternLifecycleError.FromJson(__content_415, JsonSerializerContext); + } + else + { + __content_415 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_415 = global::OpenRouter.InternLifecycleError.FromJson(__content_415, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_415 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_415 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_415, + responseBody: __content_415, + responseObject: __value_415, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too many turns for the user or organization this credential acts as (`rate_limited`). Shares the chat turn limiter, reports `retryable: true` and carries `Retry-After`. + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.InternLifecycleError? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.InternLifecycleError.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.InternLifecycleError.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The request could not be completed. `metadata.reason` says whether to try again: `internal_error` is a transient failure and carries `metadata.retryable: true`, so the same request may be sent again, while `configuration_error` carries `retryable: false` because the next attempt reads the same missing binding or unusable stored credential. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternLifecycleError? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternLifecycleError.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternLifecycleError.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessSignInternDaemonRequestResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.SignInternDaemonResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::OpenRouter.SignInternDaemonResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Sign a daemon request with the caller's identity
+ /// Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + ///
+ /// + /// ID of an intern visible to the authenticated API key.
+ /// Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7 + /// + /// + /// Lower-case hex SHA-256 of the exact bytes the CLI will send as the daemon request body.
+ /// Example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SignInternDaemonRequestAsync( + string internId, + string bodySha256, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::OpenRouter.SignInternDaemonRequest + { + BodySha256 = bodySha256, + }; + + return await SignInternDaemonRequestAsync( + internId: internId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf49.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf51.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf49.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf51.g.cs index 85b654ad..ec84f5f9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf49.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf51.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> { /// - public override global::OpenRouter.AnyOf Read( + public override global::OpenRouter.AnyOf Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -565,6 +565,28 @@ public class AnyOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -616,6 +638,8 @@ public class AnyOfJsonConverter __bestScore) { __bestScore = __score46; __bestIndex = 46; } if (__score47 > __bestScore) { __bestScore = __score47; __bestIndex = 47; } if (__score48 > __bestScore) { __bestScore = __score48; __bestIndex = 48; } + if (__score49 > __bestScore) { __bestScore = __score49; __bestIndex = 49; } + if (__score50 > __bestScore) { __bestScore = __score50; __bestIndex = 50; } T1? value1 = default; T2? value2 = default; @@ -666,6 +690,8 @@ public class AnyOfJsonConverter= 0) { if (__bestIndex == 0) @@ -1500,9 +1526,43 @@ public class AnyOfJsonConverter ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T50).Name}"); + value50 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 50) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T51), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T51).Name}"); + value51 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null && value20 == null && value21 == null && value22 == null && value23 == null && value24 == null && value25 == null && value26 == null && value27 == null && value28 == null && value29 == null && value30 == null && value31 == null && value32 == null && value33 == null && value34 == null && value35 == null && value36 == null && value37 == null && value38 == null && value39 == null && value40 == null && value41 == null && value42 == null && value43 == null && value44 == null && value45 == null && value46 == null && value47 == null && value48 == null && value49 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null && value20 == null && value21 == null && value22 == null && value23 == null && value24 == null && value25 == null && value26 == null && value27 == null && value28 == null && value29 == null && value30 == null && value31 == null && value32 == null && value33 == null && value34 == null && value35 == null && value36 == null && value37 == null && value38 == null && value39 == null && value40 == null && value41 == null && value42 == null && value43 == null && value44 == null && value45 == null && value46 == null && value47 == null && value48 == null && value49 == null && value50 == null && value51 == null) { try { @@ -1519,7 +1579,7 @@ public class AnyOfJsonConverter( + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null && value20 == null && value21 == null && value22 == null && value23 == null && value24 == null && value25 == null && value26 == null && value27 == null && value28 == null && value29 == null && value30 == null && value31 == null && value32 == null && value33 == null && value34 == null && value35 == null && value36 == null && value37 == null && value38 == null && value39 == null && value40 == null && value41 == null && value42 == null && value43 == null && value44 == null && value45 == null && value46 == null && value47 == null && value48 == null && value49 == null && value50 == null && value51 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T50), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T50).Name}"); + value50 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null && value20 == null && value21 == null && value22 == null && value23 == null && value24 == null && value25 == null && value26 == null && value27 == null && value28 == null && value29 == null && value30 == null && value31 == null && value32 == null && value33 == null && value34 == null && value35 == null && value36 == null && value37 == null && value38 == null && value39 == null && value40 == null && value41 == null && value42 == null && value43 == null && value44 == null && value45 == null && value46 == null && value47 == null && value48 == null && value49 == null && value50 == null && value51 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T51), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T51).Name}"); + value51 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.AnyOf( value1, value2, @@ -2432,7 +2526,11 @@ public class AnyOfJsonConverter public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.AnyOf value, + global::OpenRouter.AnyOf value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); @@ -2741,6 +2839,18 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T49).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue49(), typeInfo); } + else if (value.IsValue50) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T50), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T50).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue50(), typeInfo); + } + else if (value.IsValue51) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T51), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T51).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue51(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.Inputs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.Inputs.g.cs index c555b418..bc33193a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.Inputs.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.Inputs.g.cs @@ -40,7 +40,7 @@ public class InputsJsonConverter : global::System.Text.Json.Serialization.JsonCo } var __score1 = 0; { - var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), options); + var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), options); if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) { foreach (var __prop in __ti.Properties) @@ -55,7 +55,7 @@ public class InputsJsonConverter : global::System.Text.Json.Serialization.JsonCo if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } string? inputsVariant1 = default; - global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>? inputsVariant2 = default; + global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>? inputsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -80,8 +80,8 @@ public class InputsJsonConverter : global::System.Text.Json.Serialization.JsonCo try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>).Name}"); inputsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -115,8 +115,8 @@ public class InputsJsonConverter : global::System.Text.Json.Serialization.JsonCo try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>).Name}"); inputsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -153,8 +153,8 @@ public override void Write( } else if (value.IsInputsVariant2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInputsVariant2(), typeInfo); } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs index bdb1ec3a..c4f2dacc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs @@ -238,6 +238,13 @@ public class OutputItemsJsonConverter : global::System.Text.Json.Serialization.J throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.OutputCustomToolCallItem)}"); customToolCall = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::OpenRouter.OutputToolSearchCallItem? toolSearchCall = default; + if (discriminator?.Type == global::OpenRouter.OutputItemsDiscriminatorType.ToolSearchCall) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputToolSearchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.OutputToolSearchCallItem)}"); + toolSearchCall = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::OpenRouter.OutputItems( discriminator?.Type, @@ -301,7 +308,9 @@ public class OutputItemsJsonConverter : global::System.Text.Json.Serialization.J openrouterFiles, - customToolCall + customToolCall, + + toolSearchCall ); return __value; @@ -502,6 +511,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCustomToolCallItem).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustomToolCall(), typeInfo); } + else if (value.IsToolSearchCall) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputToolSearchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputToolSearchCallItem).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolSearchCall(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecution.g.cs new file mode 100644 index 00000000..e3d9c540 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecution.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputToolSearchCallItemExecutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputToolSearchCallItemExecution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputToolSearchCallItemExecutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputToolSearchCallItemExecution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputToolSearchCallItemExecution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputToolSearchCallItemExecution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputToolSearchCallItemExecutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionNullable.g.cs new file mode 100644 index 00000000..44c6ac3d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputToolSearchCallItemExecutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputToolSearchCallItemExecution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputToolSearchCallItemExecutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputToolSearchCallItemExecution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputToolSearchCallItemExecution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputToolSearchCallItemExecution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputToolSearchCallItemExecutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemType.g.cs new file mode 100644 index 00000000..1227a8ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputToolSearchCallItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputToolSearchCallItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputToolSearchCallItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputToolSearchCallItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputToolSearchCallItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputToolSearchCallItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputToolSearchCallItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemTypeNullable.g.cs new file mode 100644 index 00000000..c2d66955 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputToolSearchCallItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputToolSearchCallItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputToolSearchCallItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputToolSearchCallItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputToolSearchCallItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputToolSearchCallItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputToolSearchCallItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputToolSearchCallItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecution.g.cs new file mode 100644 index 00000000..724b5c5c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecution.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemExecutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemExecution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemExecutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemExecution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemExecution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemExecutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecutionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecutionNullable.g.cs new file mode 100644 index 00000000..322171b9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemExecutionNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemExecutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemExecution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemExecutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemExecution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemExecution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemExecutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatus.g.cs new file mode 100644 index 00000000..5a144deb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatus.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatusNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatusNullable.g.cs new file mode 100644 index 00000000..26dbc8ce --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemStatusNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemType.g.cs new file mode 100644 index 00000000..6a5f9fd7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ToolSearchCallItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemTypeNullable.g.cs new file mode 100644 index 00000000..1d667c61 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchCallItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchCallItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchCallItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchCallItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ToolSearchCallItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchCallItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchCallItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchCallItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecution.g.cs new file mode 100644 index 00000000..d56647ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecution.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemExecutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemExecution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemExecutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemExecution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemExecution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemExecutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecutionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecutionNullable.g.cs new file mode 100644 index 00000000..adb5526d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemExecutionNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemExecutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemExecution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemExecutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemExecution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemExecution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemExecutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatus.g.cs new file mode 100644 index 00000000..06f8a2ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatus.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullable.g.cs new file mode 100644 index 00000000..83825af4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemType.g.cs new file mode 100644 index 00000000..0009daa8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ToolSearchOutputItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemTypeNullable.g.cs new file mode 100644 index 00000000..826ded8d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ToolSearchOutputItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 65d85a62..1c35ba63 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -22,8 +22,8 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -42,6 +42,8 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -53,7 +55,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -72,13 +74,14 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -86,6 +89,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] @@ -507,10 +511,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant3), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant4), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemType), TypeInfoPropertyName = "BaseInputsVariant2ItemType2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -534,8 +534,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -554,6 +554,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -565,7 +567,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -584,13 +586,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -598,7 +601,12 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant3), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant4), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemType), TypeInfoPropertyName = "BaseInputsVariant2ItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCall))] @@ -1017,14 +1025,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort), TypeInfoPropertyName = "ConfigurationUpdateReasoningEffort2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy), TypeInfoPropertyName = "ContainerNetworkPolicy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType), TypeInfoPropertyName = "ContainerAutoEnvironmentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFile))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject), TypeInfoPropertyName = "ContainerFileObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource), TypeInfoPropertyName = "ContainerFileSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject), TypeInfoPropertyName = "ContainerFileListResponseObject2")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1048,8 +1048,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -1068,6 +1068,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -1079,7 +1081,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -1098,13 +1100,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -1112,7 +1115,16 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy), TypeInfoPropertyName = "ContainerNetworkPolicy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType), TypeInfoPropertyName = "ContainerAutoEnvironmentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFile))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject), TypeInfoPropertyName = "ContainerFileObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource), TypeInfoPropertyName = "ContainerFileSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject), TypeInfoPropertyName = "ContainerFileListResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1Type), TypeInfoPropertyName = "ContainerNetworkPolicyVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2))] @@ -1523,18 +1535,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterCallItem), TypeInfoPropertyName = "OutputCodeInterpreterCallItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItem))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1558,8 +1558,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -1578,6 +1578,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -1589,7 +1591,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -1608,13 +1610,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -1622,7 +1625,20 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputAdvisorServerToolItem))] @@ -1638,6 +1654,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpApprovalResponseItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpCallItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ItemReferenceItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputTextType), TypeInfoPropertyName = "InputTextType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputVideoProcessing), TypeInfoPropertyName = "InputVideoProcessing2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputVideoType), TypeInfoPropertyName = "InputVideoType2")] @@ -2033,24 +2051,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3Destination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType), TypeInfoPropertyName = "ObservabilityDestinationDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroup))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic), TypeInfoPropertyName = "ObservabilityFilterRuleGroupLogic2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRule))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleField2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationConfig))] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2074,8 +2074,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -2094,6 +2094,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -2105,7 +2107,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -2124,13 +2126,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -2138,7 +2141,26 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3Destination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType), TypeInfoPropertyName = "ObservabilityDestinationDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroup))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic), TypeInfoPropertyName = "ObservabilityFilterRuleGroupLogic2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRule))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleField2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType), TypeInfoPropertyName = "ObservabilityGrafanaDestinationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationType), TypeInfoPropertyName = "ObservabilityLangfuseDestinationType2")] @@ -2348,6 +2370,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningType), TypeInfoPropertyName = "OutputItemReasoningType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemsDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemsDiscriminatorType), TypeInfoPropertyName = "OutputItemsDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfOutputItemWebSearchCallActionVariant1OutputItemWebSearchCallActionVariant2OutputItemWebSearchCallActionVariant32")] @@ -2393,6 +2416,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItemType), TypeInfoPropertyName = "OutputSubagentServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemCommand), TypeInfoPropertyName = "OutputTextEditorServerToolItemCommand2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType), TypeInfoPropertyName = "OutputTextEditorServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemExecution), TypeInfoPropertyName = "OutputToolSearchCallItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemType), TypeInfoPropertyName = "OutputToolSearchCallItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType), TypeInfoPropertyName = "OutputToolSearchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItemType), TypeInfoPropertyName = "OutputWebFetchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemAction))] @@ -2536,31 +2561,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolExecutedBy), TypeInfoPropertyName = "ServerToolExecutedBy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolPrice))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEnginePricingSource), TypeInfoPropertyName = "ServerToolEnginePricingSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolInputNameApiFormat), TypeInfoPropertyName = "ServerToolInputNameApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolOutputName))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolOutputNameApiFormat), TypeInfoPropertyName = "ServerToolOutputNameApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServiceUnavailableResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServiceUnavailableResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostItemTurnRange), TypeInfoPropertyName = "SessionCostItemTurnRange2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostMeta))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostMetaVersion), TypeInfoPropertyName = "SessionCostMetaVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallItemAction))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallItemType), TypeInfoPropertyName = "ShellCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfShellCallOutputContentOutcomeVariant1ShellCallOutputContentOutcomeVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type), TypeInfoPropertyName = "ShellCallOutputContentOutcomeVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type), TypeInfoPropertyName = "ShellCallOutputContentOutcomeVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFile))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFileType), TypeInfoPropertyName = "ShellCallOutputItemFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemType), TypeInfoPropertyName = "ShellCallOutputItemType2")] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2584,8 +2584,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -2604,6 +2604,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -2615,7 +2617,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -2634,13 +2636,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -2648,7 +2651,33 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEnginePricingSource), TypeInfoPropertyName = "ServerToolEnginePricingSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolInputNameApiFormat), TypeInfoPropertyName = "ServerToolInputNameApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolOutputName))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolOutputNameApiFormat), TypeInfoPropertyName = "ServerToolOutputNameApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServiceUnavailableResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServiceUnavailableResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostItemTurnRange), TypeInfoPropertyName = "SessionCostItemTurnRange2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostMeta))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostMetaVersion), TypeInfoPropertyName = "SessionCostMetaVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SessionCostResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallItemAction))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallItemType), TypeInfoPropertyName = "ShellCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfShellCallOutputContentOutcomeVariant1ShellCallOutputContentOutcomeVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type), TypeInfoPropertyName = "ShellCallOutputContentOutcomeVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type), TypeInfoPropertyName = "ShellCallOutputContentOutcomeVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFile))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFileType), TypeInfoPropertyName = "ShellCallOutputItemFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemType), TypeInfoPropertyName = "ShellCallOutputItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolType), TypeInfoPropertyName = "ShellServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolOpenRouterType), TypeInfoPropertyName = "ShellServerToolOpenRouterType2")] @@ -2656,6 +2685,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironment), TypeInfoPropertyName = "ShellServerToolEnvironment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironmentDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType), TypeInfoPropertyName = "ShellServerToolEnvironmentDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SignInternDaemonRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SignInternDaemonResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInput), TypeInfoPropertyName = "SpeechInput2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechTurn))] @@ -2767,6 +2798,15 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedModeVariant1), TypeInfoPropertyName = "ToolChoiceAllowedModeVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedModeVariant2), TypeInfoPropertyName = "ToolChoiceAllowedModeVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedType), TypeInfoPropertyName = "ToolChoiceAllowedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemExecution), TypeInfoPropertyName = "ToolSearchCallItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemStatus), TypeInfoPropertyName = "ToolSearchCallItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemType), TypeInfoPropertyName = "ToolSearchCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemExecution), TypeInfoPropertyName = "ToolSearchOutputItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemStatus), TypeInfoPropertyName = "ToolSearchOutputItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfFunctionToolToolSearchOutputItemTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemTool2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemType), TypeInfoPropertyName = "ToolSearchOutputItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerToolType), TypeInfoPropertyName = "ToolSearchServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.TooManyRequestsResponse))] @@ -3033,46 +3073,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatImageType?), TypeInfoPropertyName = "NullableAlignmentChatImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatRejectedRole?), TypeInfoPropertyName = "NullableAlignmentChatRejectedRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatToolCallType?), TypeInfoPropertyName = "NullableAlignmentChatToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginId?), TypeInfoPropertyName = "NullableAlignmentPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginMode?), TypeInfoPropertyName = "NullableAlignmentPluginMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentRejected?), TypeInfoPropertyName = "NullableAlignmentRejected2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentResponsesRejectedItem?), TypeInfoPropertyName = "NullableAlignmentResponsesRejectedItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAlignmentResponsesRejectedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentUnavailableCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentUnavailableCallRecordOutcome2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentUnavailableCallRecordReason?), TypeInfoPropertyName = "NullableAlignmentUnavailableCallRecordReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnnotationAddedEvent?), TypeInfoPropertyName = "NullableAnnotationAddedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorMessageUsageIteration?), TypeInfoPropertyName = "NullableAnthropicAdvisorMessageUsageIteration2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type?), TypeInfoPropertyName = "NullableAnthropicAdvisorMessageUsageIterationVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorToolResultType?), TypeInfoPropertyName = "NullableAnthropicAdvisorToolResultType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAllowedCaller?), TypeInfoPropertyName = "NullableAnthropicAllowedCaller2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageMimeType?), TypeInfoPropertyName = "NullableAnthropicImageMimeType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64ImageSourceType?), TypeInfoPropertyName = "NullableAnthropicBase64ImageSourceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceMediaType?), TypeInfoPropertyName = "NullableAnthropicBase64PdfSourceMediaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceType?), TypeInfoPropertyName = "NullableAnthropicBase64PdfSourceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContentDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionResultType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorErrorCode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlTtl?), TypeInfoPropertyName = "NullableAnthropicCacheControlTtl2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlDirectiveType?), TypeInfoPropertyName = "NullableAnthropicCacheControlDirectiveType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCaller?), TypeInfoPropertyName = "NullableAnthropicCaller2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCallerDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicCallerDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationCharLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationCharLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationCharLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationCharLocationParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationContentBlockLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationContentBlockLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationContentBlockLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationContentBlockLocationParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationPageLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationPageLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationPageLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationPageLocationParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationSearchResultLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationSearchResultLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationSearchResultLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationSearchResultLocationParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationWebSearchResultLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationWebSearchResultLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationWebSearchResultLocationParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20250825CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20250825CallerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20260120CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20260120CallerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContent2")] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3096,8 +3096,8 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -3116,6 +3116,8 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -3127,7 +3129,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -3146,13 +3148,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -3160,7 +3163,48 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginId?), TypeInfoPropertyName = "NullableAlignmentPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginMode?), TypeInfoPropertyName = "NullableAlignmentPluginMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentRejected?), TypeInfoPropertyName = "NullableAlignmentRejected2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentResponsesRejectedItem?), TypeInfoPropertyName = "NullableAlignmentResponsesRejectedItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAlignmentResponsesRejectedItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentUnavailableCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentUnavailableCallRecordOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentUnavailableCallRecordReason?), TypeInfoPropertyName = "NullableAlignmentUnavailableCallRecordReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnnotationAddedEvent?), TypeInfoPropertyName = "NullableAnnotationAddedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorMessageUsageIteration?), TypeInfoPropertyName = "NullableAnthropicAdvisorMessageUsageIteration2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type?), TypeInfoPropertyName = "NullableAnthropicAdvisorMessageUsageIterationVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAdvisorToolResultType?), TypeInfoPropertyName = "NullableAnthropicAdvisorToolResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicAllowedCaller?), TypeInfoPropertyName = "NullableAnthropicAllowedCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageMimeType?), TypeInfoPropertyName = "NullableAnthropicImageMimeType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64ImageSourceType?), TypeInfoPropertyName = "NullableAnthropicBase64ImageSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceMediaType?), TypeInfoPropertyName = "NullableAnthropicBase64PdfSourceMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceType?), TypeInfoPropertyName = "NullableAnthropicBase64PdfSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContentDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorErrorCode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlTtl?), TypeInfoPropertyName = "NullableAnthropicCacheControlTtl2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlDirectiveType?), TypeInfoPropertyName = "NullableAnthropicCacheControlDirectiveType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCaller?), TypeInfoPropertyName = "NullableAnthropicCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCallerDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicCallerDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationCharLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationCharLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationCharLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationCharLocationParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationContentBlockLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationContentBlockLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationContentBlockLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationContentBlockLocationParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationPageLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationPageLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationPageLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationPageLocationParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationSearchResultLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationSearchResultLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationSearchResultLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationSearchResultLocationParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationWebSearchResultLocationType?), TypeInfoPropertyName = "NullableAnthropicCitationWebSearchResultLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType?), TypeInfoPropertyName = "NullableAnthropicCitationWebSearchResultLocationParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20250825CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20250825CallerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20260120CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20260120CallerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContentDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionOutputType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionResultType2")] @@ -3543,50 +3587,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileListResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileListResponseDiscriminatorShape2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileParserPluginId?), TypeInfoPropertyName = "NullableFileParserPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FilePathType?), TypeInfoPropertyName = "NullableFilePathType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileProvider?), TypeInfoPropertyName = "NullableFileProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponse?), TypeInfoPropertyName = "NullableFileResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileResponseDiscriminatorShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfFileSearchServerToolFiltersCompoundFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolFiltersType?), TypeInfoPropertyName = "NullableFileSearchServerToolFiltersType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBooleanIListAnyOfStringDouble2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringDouble2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolRankingOptionsRanker?), TypeInfoPropertyName = "NullableFileSearchServerToolRankingOptionsRanker2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolType?), TypeInfoPropertyName = "NullableFileSearchServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FilesServerToolType?), TypeInfoPropertyName = "NullableFilesServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatJsonObjectConfigType?), TypeInfoPropertyName = "NullableFormatJsonObjectConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatJsonSchemaConfigType?), TypeInfoPropertyName = "NullableFormatJsonSchemaConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Formats?), TypeInfoPropertyName = "NullableFormats2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatTextConfigType?), TypeInfoPropertyName = "NullableFormatTextConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FrameImage?), TypeInfoPropertyName = "NullableFrameImage2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FrameImageVariant2FrameType?), TypeInfoPropertyName = "NullableFrameImageVariant2FrameType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallArgsDeltaEvent?), TypeInfoPropertyName = "NullableFunctionCallArgsDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallArgsDoneEvent?), TypeInfoPropertyName = "NullableFunctionCallArgsDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallItemType?), TypeInfoPropertyName = "NullableFunctionCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallOutputItem?), TypeInfoPropertyName = "NullableFunctionCallOutputItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionToolType?), TypeInfoPropertyName = "NullableFunctionToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallAnalysisCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallAnalysisCompletedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallAnalysisInProgressEventType?), TypeInfoPropertyName = "NullableFusionCallAnalysisInProgressEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallCompletedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallInProgressEventType?), TypeInfoPropertyName = "NullableFusionCallInProgressEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelAddedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelAddedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelCompletedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelDeltaEventType?), TypeInfoPropertyName = "NullableFusionCallPanelDeltaEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelFailedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelFailedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelReasoningDeltaEventType?), TypeInfoPropertyName = "NullableFusionCallPanelReasoningDeltaEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionPluginId?), TypeInfoPropertyName = "NullableFusionPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionPluginPreset?), TypeInfoPropertyName = "NullableFusionPluginPreset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?>, object>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBooleanIListAnyOfStringDoubleBooleanObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBoolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolOpenRouterType?), TypeInfoPropertyName = "NullableFusionServerToolOpenRouterType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolConfigReasoningEffort?), TypeInfoPropertyName = "NullableFusionServerToolConfigReasoningEffort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfGenerationContentDataInputVariant1GenerationContentDataInputVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationResponseDataApiType?), TypeInfoPropertyName = "NullableGenerationResponseDataApiType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationResponseDataDataRegion?), TypeInfoPropertyName = "NullableGenerationResponseDataDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetails?), TypeInfoPropertyName = "NullableServerToolDetails2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfWorkspaceBudgetObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleIListObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf, object>?), TypeInfoPropertyName = "NullableAllOfDictionaryStringCapabilityDescriptorObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallCompletedEvent?), TypeInfoPropertyName = "NullableImageGenCallCompletedEvent2")] internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3610,8 +3610,8 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -3630,6 +3630,8 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -3641,7 +3643,7 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -3660,13 +3662,14 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -3674,7 +3677,52 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileProvider?), TypeInfoPropertyName = "NullableFileProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponse?), TypeInfoPropertyName = "NullableFileResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileResponseDiscriminatorShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfFileSearchServerToolFiltersCompoundFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolFiltersType?), TypeInfoPropertyName = "NullableFileSearchServerToolFiltersType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBooleanIListAnyOfStringDouble2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringDouble2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolRankingOptionsRanker?), TypeInfoPropertyName = "NullableFileSearchServerToolRankingOptionsRanker2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileSearchServerToolType?), TypeInfoPropertyName = "NullableFileSearchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FilesServerToolType?), TypeInfoPropertyName = "NullableFilesServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatJsonObjectConfigType?), TypeInfoPropertyName = "NullableFormatJsonObjectConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatJsonSchemaConfigType?), TypeInfoPropertyName = "NullableFormatJsonSchemaConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Formats?), TypeInfoPropertyName = "NullableFormats2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatTextConfigType?), TypeInfoPropertyName = "NullableFormatTextConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FrameImage?), TypeInfoPropertyName = "NullableFrameImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FrameImageVariant2FrameType?), TypeInfoPropertyName = "NullableFrameImageVariant2FrameType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallArgsDeltaEvent?), TypeInfoPropertyName = "NullableFunctionCallArgsDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallArgsDoneEvent?), TypeInfoPropertyName = "NullableFunctionCallArgsDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallItemType?), TypeInfoPropertyName = "NullableFunctionCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionCallOutputItem?), TypeInfoPropertyName = "NullableFunctionCallOutputItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionToolType?), TypeInfoPropertyName = "NullableFunctionToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallAnalysisCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallAnalysisCompletedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallAnalysisInProgressEventType?), TypeInfoPropertyName = "NullableFusionCallAnalysisInProgressEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallCompletedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallInProgressEventType?), TypeInfoPropertyName = "NullableFusionCallInProgressEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelAddedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelAddedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelCompletedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelCompletedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelDeltaEventType?), TypeInfoPropertyName = "NullableFusionCallPanelDeltaEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelFailedEventType?), TypeInfoPropertyName = "NullableFusionCallPanelFailedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionCallPanelReasoningDeltaEventType?), TypeInfoPropertyName = "NullableFusionCallPanelReasoningDeltaEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionPluginId?), TypeInfoPropertyName = "NullableFusionPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionPluginPreset?), TypeInfoPropertyName = "NullableFusionPluginPreset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?>, object>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBooleanIListAnyOfStringDoubleBooleanObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringDoubleBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolOpenRouterType?), TypeInfoPropertyName = "NullableFusionServerToolOpenRouterType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolConfigReasoningEffort?), TypeInfoPropertyName = "NullableFusionServerToolConfigReasoningEffort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfGenerationContentDataInputVariant1GenerationContentDataInputVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationResponseDataApiType?), TypeInfoPropertyName = "NullableGenerationResponseDataApiType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationResponseDataDataRegion?), TypeInfoPropertyName = "NullableGenerationResponseDataDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetails?), TypeInfoPropertyName = "NullableServerToolDetails2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfWorkspaceBudgetObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleIListObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf, object>?), TypeInfoPropertyName = "NullableAllOfDictionaryStringCapabilityDescriptorObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallCompletedEvent?), TypeInfoPropertyName = "NullableImageGenCallCompletedEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallGeneratingEvent?), TypeInfoPropertyName = "NullableImageGenCallGeneratingEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallInProgressEvent?), TypeInfoPropertyName = "NullableImageGenCallInProgressEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallPartialImageEvent?), TypeInfoPropertyName = "NullableImageGenCallPartialImageEvent2")] @@ -4031,76 +4079,28 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItemType?), TypeInfoPropertyName = "NullableOutputMemoryServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessagePhaseVariant1OutputMessagePhaseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant1?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole?), TypeInfoPropertyName = "NullableOutputMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessageStatusVariant1OutputMessageStatusVariant2OutputMessageStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant1?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant2?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType?), TypeInfoPropertyName = "NullableOutputMessageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum?), TypeInfoPropertyName = "NullableOutputModalityEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat?), TypeInfoPropertyName = "NullableReasoningFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?), TypeInfoPropertyName = "NullableOutputSearchModelsServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallStatus?), TypeInfoPropertyName = "NullableShellCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallItemType?), TypeInfoPropertyName = "NullableOutputShellCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemFileType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemFileType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItemType?), TypeInfoPropertyName = "NullableOutputSubagentServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemCommand?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemCommand2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputToolSearchServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebFetchServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionSourceType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionSourceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId?), TypeInfoPropertyName = "NullableParetoRouterPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginPriceSource?), TypeInfoPropertyName = "NullableParetoRouterPluginPriceSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngine?), TypeInfoPropertyName = "NullablePDFParserEngine2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant1?), TypeInfoPropertyName = "NullablePDFParserEngineVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant2?), TypeInfoPropertyName = "NullablePDFParserEngineVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PipelineStageType?), TypeInfoPropertyName = "NullablePipelineStageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListPredictionContentText2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionType?), TypeInfoPropertyName = "NullablePredictionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentTextType?), TypeInfoPropertyName = "NullablePredictionContentTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMaxLatency?), TypeInfoPropertyName = "NullablePreferredMaxLatency2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMinThroughput?), TypeInfoPropertyName = "NullablePreferredMinThroughput2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetStatus?), TypeInfoPropertyName = "NullablePresetStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Preview20250311WebSearchServerToolType?), TypeInfoPropertyName = "NullablePreview20250311WebSearchServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerToolType?), TypeInfoPropertyName = "NullablePreviewWebSearchServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocationType?), TypeInfoPropertyName = "NullablePreviewWebSearchUserLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay?), TypeInfoPropertyName = "NullablePricingOverrideUtcDay2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus?), TypeInfoPropertyName = "NullablePrivateEndpointStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason?), TypeInfoPropertyName = "NullablePrivateEndpointCheckReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode?), TypeInfoPropertyName = "NullablePromptCacheBreakpointMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode?), TypeInfoPropertyName = "NullablePromptCacheOptionsMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesDataCollection?), TypeInfoPropertyName = "NullableProviderPreferencesDataCollection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Quantization?), TypeInfoPropertyName = "NullableQuantization2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseProviderName?), TypeInfoPropertyName = "NullableProviderResponseProviderName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseRoutedServiceTier?), TypeInfoPropertyName = "NullableProviderResponseRoutedServiceTier2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfigBy?), TypeInfoPropertyName = "NullableProviderSortConfigBy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfigPartition?), TypeInfoPropertyName = "NullableProviderSortConfigPartition2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfPercentileStatsObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RangeCapabilityType?), TypeInfoPropertyName = "NullableRangeCapabilityType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RankingsDailyMetaVersion?), TypeInfoPropertyName = "NullableRankingsDailyMetaVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDeltaEvent?), TypeInfoPropertyName = "NullableReasoningDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailEncryptedType?), TypeInfoPropertyName = "NullableReasoningDetailEncryptedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailServerToolCallType?), TypeInfoPropertyName = "NullableReasoningDetailServerToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailSummaryType?), TypeInfoPropertyName = "NullableReasoningDetailSummaryType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailTextType?), TypeInfoPropertyName = "NullableReasoningDetailTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminatorType?), TypeInfoPropertyName = "NullableReasoningDetailUnionDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDoneEvent?), TypeInfoPropertyName = "NullableReasoningDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartAddedEvent?), TypeInfoPropertyName = "NullableReasoningSummaryPartAddedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartDoneEvent?), TypeInfoPropertyName = "NullableReasoningSummaryPartDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextType?), TypeInfoPropertyName = "NullableReasoningSummaryTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDeltaEvent?), TypeInfoPropertyName = "NullableReasoningSummaryTextDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDoneEvent?), TypeInfoPropertyName = "NullableReasoningSummaryTextDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningTextContentType?), TypeInfoPropertyName = "NullableReasoningTextContentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDeltaEvent?), TypeInfoPropertyName = "NullableRefusalDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDoneEvent?), TypeInfoPropertyName = "NullableRefusalDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseHealingPluginId?), TypeInfoPropertyName = "NullableResponseHealingPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseIncludesEnum?), TypeInfoPropertyName = "NullableResponseIncludesEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole?), TypeInfoPropertyName = "NullableOutputMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessageStatusVariant1OutputMessageStatusVariant2OutputMessageStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant1?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant2?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType?), TypeInfoPropertyName = "NullableOutputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum?), TypeInfoPropertyName = "NullableOutputModalityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat?), TypeInfoPropertyName = "NullableReasoningFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?), TypeInfoPropertyName = "NullableOutputSearchModelsServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallStatus?), TypeInfoPropertyName = "NullableShellCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallItemType?), TypeInfoPropertyName = "NullableOutputShellCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemFileType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemFileType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItemType?), TypeInfoPropertyName = "NullableOutputSubagentServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemCommand?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemCommand2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemExecution?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemType?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputToolSearchServerToolItemType2")] internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4124,8 +4124,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -4144,6 +4144,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -4155,7 +4157,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -4174,13 +4176,14 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -4188,7 +4191,58 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebFetchServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionSourceType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId?), TypeInfoPropertyName = "NullableParetoRouterPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginPriceSource?), TypeInfoPropertyName = "NullableParetoRouterPluginPriceSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngine?), TypeInfoPropertyName = "NullablePDFParserEngine2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant1?), TypeInfoPropertyName = "NullablePDFParserEngineVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant2?), TypeInfoPropertyName = "NullablePDFParserEngineVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PipelineStageType?), TypeInfoPropertyName = "NullablePipelineStageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListPredictionContentText2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionType?), TypeInfoPropertyName = "NullablePredictionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentTextType?), TypeInfoPropertyName = "NullablePredictionContentTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMaxLatency?), TypeInfoPropertyName = "NullablePreferredMaxLatency2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMinThroughput?), TypeInfoPropertyName = "NullablePreferredMinThroughput2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetStatus?), TypeInfoPropertyName = "NullablePresetStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Preview20250311WebSearchServerToolType?), TypeInfoPropertyName = "NullablePreview20250311WebSearchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerToolType?), TypeInfoPropertyName = "NullablePreviewWebSearchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocationType?), TypeInfoPropertyName = "NullablePreviewWebSearchUserLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay?), TypeInfoPropertyName = "NullablePricingOverrideUtcDay2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus?), TypeInfoPropertyName = "NullablePrivateEndpointStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason?), TypeInfoPropertyName = "NullablePrivateEndpointCheckReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode?), TypeInfoPropertyName = "NullablePromptCacheBreakpointMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode?), TypeInfoPropertyName = "NullablePromptCacheOptionsMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesDataCollection?), TypeInfoPropertyName = "NullableProviderPreferencesDataCollection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Quantization?), TypeInfoPropertyName = "NullableQuantization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseProviderName?), TypeInfoPropertyName = "NullableProviderResponseProviderName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseRoutedServiceTier?), TypeInfoPropertyName = "NullableProviderResponseRoutedServiceTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfigBy?), TypeInfoPropertyName = "NullableProviderSortConfigBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfigPartition?), TypeInfoPropertyName = "NullableProviderSortConfigPartition2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfPercentileStatsObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RangeCapabilityType?), TypeInfoPropertyName = "NullableRangeCapabilityType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RankingsDailyMetaVersion?), TypeInfoPropertyName = "NullableRankingsDailyMetaVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDeltaEvent?), TypeInfoPropertyName = "NullableReasoningDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailEncryptedType?), TypeInfoPropertyName = "NullableReasoningDetailEncryptedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailServerToolCallType?), TypeInfoPropertyName = "NullableReasoningDetailServerToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailSummaryType?), TypeInfoPropertyName = "NullableReasoningDetailSummaryType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailTextType?), TypeInfoPropertyName = "NullableReasoningDetailTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminatorType?), TypeInfoPropertyName = "NullableReasoningDetailUnionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDoneEvent?), TypeInfoPropertyName = "NullableReasoningDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartAddedEvent?), TypeInfoPropertyName = "NullableReasoningSummaryPartAddedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartDoneEvent?), TypeInfoPropertyName = "NullableReasoningSummaryPartDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextType?), TypeInfoPropertyName = "NullableReasoningSummaryTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDeltaEvent?), TypeInfoPropertyName = "NullableReasoningSummaryTextDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDoneEvent?), TypeInfoPropertyName = "NullableReasoningSummaryTextDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningTextContentType?), TypeInfoPropertyName = "NullableReasoningTextContentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDeltaEvent?), TypeInfoPropertyName = "NullableRefusalDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDoneEvent?), TypeInfoPropertyName = "NullableRefusalDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseHealingPluginId?), TypeInfoPropertyName = "NullableResponseHealingPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseIncludesEnum?), TypeInfoPropertyName = "NullableResponseIncludesEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseOutputTextType?), TypeInfoPropertyName = "NullableResponseOutputTextType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableResponsesErrorFieldCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem3?), TypeInfoPropertyName = "NullablePluginsItem32")] @@ -4272,6 +4326,13 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedModeVariant1?), TypeInfoPropertyName = "NullableToolChoiceAllowedModeVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedModeVariant2?), TypeInfoPropertyName = "NullableToolChoiceAllowedModeVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolChoiceAllowedType?), TypeInfoPropertyName = "NullableToolChoiceAllowedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemExecution?), TypeInfoPropertyName = "NullableToolSearchCallItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemStatus?), TypeInfoPropertyName = "NullableToolSearchCallItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchCallItemType?), TypeInfoPropertyName = "NullableToolSearchCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemExecution?), TypeInfoPropertyName = "NullableToolSearchOutputItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemStatus?), TypeInfoPropertyName = "NullableToolSearchOutputItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolToolSearchOutputItemTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemType?), TypeInfoPropertyName = "NullableToolSearchOutputItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerToolType?), TypeInfoPropertyName = "NullableToolSearchServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksAAItemSource?), TypeInfoPropertyName = "NullableUnifiedBenchmarksAAItemSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksDAItemSource?), TypeInfoPropertyName = "NullableUnifiedBenchmarksDAItemSource2")] @@ -4550,67 +4611,6 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4634,8 +4634,8 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] @@ -4654,6 +4654,8 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_972e34c028ad9bed")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_55c7f0fa1267d7c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] @@ -4665,7 +4667,7 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] @@ -4684,13 +4686,14 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>?), TypeInfoPropertyName = "ToolSearchOutputItemTool2_bed65d36a3ed2391")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] @@ -4698,7 +4701,69 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4952,7 +5017,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); - options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter>, string>()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); @@ -5026,6 +5091,8 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); @@ -7710,6 +7777,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.OutputTextEditorServerToolItemType?) + || typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemExecution) + + || typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemExecution?) + + || typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemType) + + || typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemType?) + || typeToConvert == typeof(global::OpenRouter.OutputToolSearchServerToolItemType) || typeToConvert == typeof(global::OpenRouter.OutputToolSearchServerToolItemType?) @@ -8162,6 +8237,30 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ToolChoiceAllowedType?) + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemExecution) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemExecution?) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemStatus) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemStatus?) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemType) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemType?) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemExecution) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemExecution?) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemStatus) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemStatus?) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType?) + || typeToConvert == typeof(global::OpenRouter.ToolSearchServerToolType) || typeToConvert == typeof(global::OpenRouter.ToolSearchServerToolType?) @@ -15113,6 +15212,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.OutputTextEditorServerToolItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemExecution)) + { + return new global::OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemExecution?)) + { + return new global::OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemType)) + { + return new global::OpenRouter.JsonConverters.OutputToolSearchCallItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputToolSearchCallItemType?)) + { + return new global::OpenRouter.JsonConverters.OutputToolSearchCallItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.OutputToolSearchServerToolItemType)) { return new global::OpenRouter.JsonConverters.OutputToolSearchServerToolItemTypeJsonConverter(); @@ -16243,6 +16362,66 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ToolChoiceAllowedTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemExecution)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemExecutionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemExecution?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemExecutionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemStatus)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemStatus?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemType)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchCallItemType?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchCallItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemExecution)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemExecutionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemExecution?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemExecutionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemStatus)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemStatus?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.ToolSearchServerToolType)) { return new global::OpenRouter.JsonConverters.ToolSearchServerToolTypeJsonConverter(); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index a07e3fef..dfa370df 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -5141,4751 +5141,4815 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.InputTextType? Type1277 { get; set; } + public global::OpenRouter.ToolSearchCallItem? Type1277 { get; set; } /// /// /// - public global::OpenRouter.InputVideoProcessing? Type1278 { get; set; } + public global::OpenRouter.ToolSearchOutputItem? Type1278 { get; set; } /// /// /// - public global::OpenRouter.InputVideoType? Type1279 { get; set; } + public global::OpenRouter.InputTextType? Type1279 { get; set; } /// /// /// - public global::OpenRouter.InstructType? Type1280 { get; set; } + public global::OpenRouter.InputVideoProcessing? Type1280 { get; set; } /// /// /// - public global::OpenRouter.Intern? Type1281 { get; set; } + public global::OpenRouter.InputVideoType? Type1281 { get; set; } /// /// /// - public global::OpenRouter.InternProgress? Type1282 { get; set; } + public global::OpenRouter.InstructType? Type1282 { get; set; } /// /// /// - public global::OpenRouter.InternStatus? Type1283 { get; set; } + public global::OpenRouter.Intern? Type1283 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type1284 { get; set; } + public global::OpenRouter.InternProgress? Type1284 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type1285 { get; set; } + public global::OpenRouter.InternStatus? Type1285 { get; set; } /// /// /// - public global::OpenRouter.InternApprovalMode? Type1286 { get; set; } + public global::OpenRouter.InternalServerResponse? Type1286 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessage? Type1287 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type1287 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageContent? Type1288 { get; set; } + public global::OpenRouter.InternApprovalMode? Type1288 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessageRole? Type1289 { get; set; } + public global::OpenRouter.InternChatAssistantMessage? Type1289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1290 { get; set; } + public global::OpenRouter.InternChatMessageContent? Type1290 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCall? Type1291 { get; set; } + public global::OpenRouter.InternChatAssistantMessageRole? Type1291 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoice? Type1292 { get; set; } + public global::System.Collections.Generic.IList? Type1292 { get; set; } /// /// /// - public global::OpenRouter.InternChatDelta? Type1293 { get; set; } + public global::OpenRouter.InternChatEchoedToolCall? Type1293 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoiceFinishReason? Type1294 { get; set; } + public global::OpenRouter.InternChatChoice? Type1294 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunk? Type1295 { get; set; } + public global::OpenRouter.InternChatDelta? Type1295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1296 { get; set; } + public global::OpenRouter.InternChatChoiceFinishReason? Type1296 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamError? Type1297 { get; set; } + public global::OpenRouter.InternChatCompletionChunk? Type1297 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunkObject? Type1298 { get; set; } + public global::System.Collections.Generic.IList? Type1298 { get; set; } /// /// /// - public global::OpenRouter.InternChatUsage? Type1299 { get; set; } + public global::OpenRouter.InternChatStreamError? Type1299 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionRequest? Type1300 { get; set; } + public global::OpenRouter.InternChatCompletionChunkObject? Type1300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1301 { get; set; } + public global::OpenRouter.InternChatUsage? Type1301 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessage? Type1302 { get; set; } + public global::OpenRouter.InternChatCompletionRequest? Type1302 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeltaRole? Type1303 { get; set; } + public global::System.Collections.Generic.IList? Type1303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1304 { get; set; } + public global::OpenRouter.InternChatMessage? Type1304 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCall? Type1305 { get; set; } + public global::OpenRouter.InternChatDeltaRole? Type1305 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessage? Type1306 { get; set; } + public global::System.Collections.Generic.IList? Type1306 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessageRole? Type1307 { get; set; } + public global::OpenRouter.InternChatToolCall? Type1307 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCallFunction? Type1308 { get; set; } + public global::OpenRouter.InternChatDeveloperMessage? Type1308 { get; set; } /// /// /// - public global::OpenRouter.InternChatError? Type1309 { get; set; } + public global::OpenRouter.InternChatDeveloperMessageRole? Type1309 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadata? Type1310 { get; set; } + public global::OpenRouter.InternChatEchoedToolCallFunction? Type1310 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadataReason? Type1311 { get; set; } + public global::OpenRouter.InternChatError? Type1311 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorResponse? Type1312 { get; set; } + public global::OpenRouter.InternChatErrorMetadata? Type1312 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessage? Type1313 { get; set; } + public global::OpenRouter.InternChatErrorMetadataReason? Type1313 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessage? Type1314 { get; set; } + public global::OpenRouter.InternChatErrorResponse? Type1314 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessage? Type1315 { get; set; } + public global::OpenRouter.InternChatSystemMessage? Type1315 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminator? Type1316 { get; set; } + public global::OpenRouter.InternChatUserMessage? Type1316 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1317 { get; set; } + public global::OpenRouter.InternChatToolMessage? Type1317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1318 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminator? Type1318 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPart? Type1319 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1319 { get; set; } /// /// /// - public global::OpenRouter.InternChatPromptTokensDetails? Type1320 { get; set; } + public global::System.Collections.Generic.IList? Type1320 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponse? Type1321 { get; set; } + public global::OpenRouter.InternChatTextPart? Type1321 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponseStatus? Type1322 { get; set; } + public global::OpenRouter.InternChatPromptTokensDetails? Type1322 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamingResponse? Type1323 { get; set; } + public global::OpenRouter.InternChatSteeredResponse? Type1323 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessageRole? Type1324 { get; set; } + public global::OpenRouter.InternChatSteeredResponseStatus? Type1324 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPartType? Type1325 { get; set; } + public global::OpenRouter.InternChatStreamingResponse? Type1325 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunction? Type1326 { get; set; } + public global::OpenRouter.InternChatSystemMessageRole? Type1326 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallType? Type1327 { get; set; } + public global::OpenRouter.InternChatTextPartType? Type1327 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunctionName? Type1328 { get; set; } + public global::OpenRouter.InternChatToolCallFunction? Type1328 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessageRole? Type1329 { get; set; } + public global::OpenRouter.InternChatToolCallType? Type1329 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessageRole? Type1330 { get; set; } + public global::OpenRouter.InternChatToolCallFunctionName? Type1330 { get; set; } /// /// /// - public global::OpenRouter.InternDaemonAccess? Type1331 { get; set; } + public global::OpenRouter.InternChatToolMessageRole? Type1331 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponse? Type1332 { get; set; } + public global::OpenRouter.InternChatUserMessageRole? Type1332 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1333 { get; set; } + public global::OpenRouter.InternDaemonAccess? Type1333 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeRequest? Type1334 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponse? Type1334 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleError? Type1335 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1335 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorError? Type1336 { get; set; } + public global::OpenRouter.InternInvokeRequest? Type1336 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1337 { get; set; } + public global::OpenRouter.InternLifecycleError? Type1337 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1338 { get; set; } + public global::OpenRouter.InternLifecycleErrorError? Type1338 { get; set; } /// /// /// - public global::OpenRouter.InternListResponse? Type1339 { get; set; } + public global::OpenRouter.AnyOf? Type1339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1340 { get; set; } + public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1340 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItemType? Type1341 { get; set; } + public global::OpenRouter.InternListResponse? Type1341 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPluginId? Type1342 { get; set; } + public global::System.Collections.Generic.IList? Type1342 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type1343 { get; set; } + public global::OpenRouter.ItemReferenceItemType? Type1343 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type1344 { get; set; } + public global::OpenRouter.JevRouterPluginId? Type1344 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInput? Type1345 { get; set; } + public global::OpenRouter.KeyAssignment? Type1345 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1346 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type1346 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type1347 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInput? Type1347 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type1348 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1348 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type1349 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type1349 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type1350 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type1350 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type1351 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type1351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1352 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type1352 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type1353 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type1353 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1354 { get; set; } + public global::System.Collections.Generic.IList? Type1354 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type1355 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type1355 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type1356 { get; set; } + public global::OpenRouter.AllOf? Type1356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1357 { get; set; } + public global::OpenRouter.ModelArchitecture? Type1357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1358 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type1358 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type1359 { get; set; } + public global::System.Collections.Generic.IList? Type1359 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type1360 { get; set; } + public global::System.Collections.Generic.IList? Type1360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1361 { get; set; } + public global::OpenRouter.OutputModality? Type1361 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type1362 { get; set; } + public global::OpenRouter.ModelGroup? Type1362 { get; set; } /// /// /// - public global::OpenRouter.ListEndUsersResponse? Type1363 { get; set; } + public global::System.Collections.Generic.IList? Type1363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1364 { get; set; } + public global::OpenRouter.PublicEndpoint? Type1364 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type1365 { get; set; } + public global::OpenRouter.ListEndUsersResponse? Type1365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1366 { get; set; } + public global::System.Collections.Generic.IList? Type1366 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1367 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1368 { get; set; } + public global::System.Collections.Generic.IList? Type1368 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1369 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1370 { get; set; } + public global::System.Collections.Generic.IList? Type1370 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1371 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1371 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1372 { get; set; } + public global::System.Collections.Generic.IList? Type1372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1373 { get; set; } + public global::OpenRouter.MemberAssignment? Type1373 { get; set; } /// /// /// - public global::OpenRouter.ListPresetsResponse? Type1374 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1375 { get; set; } + public global::System.Collections.Generic.IList? Type1375 { get; set; } /// /// /// - public global::OpenRouter.Preset? Type1376 { get; set; } + public global::OpenRouter.ListPresetsResponse? Type1376 { get; set; } /// /// /// - public global::OpenRouter.ListPresetVersionsResponse? Type1377 { get; set; } + public global::System.Collections.Generic.IList? Type1377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1378 { get; set; } + public global::OpenRouter.Preset? Type1378 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateEndpointsResponse? Type1379 { get; set; } + public global::OpenRouter.ListPresetVersionsResponse? Type1379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1380 { get; set; } + public global::System.Collections.Generic.IList? Type1380 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSummary? Type1381 { get; set; } + public global::OpenRouter.ListPrivateEndpointsResponse? Type1381 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupMappingsResponse? Type1382 { get; set; } + public global::System.Collections.Generic.IList? Type1382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1383 { get; set; } + public global::OpenRouter.PrivateEndpointSummary? Type1383 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupsResponse? Type1384 { get; set; } + public global::OpenRouter.ListScimGroupMappingsResponse? Type1384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1385 { get; set; } + public global::System.Collections.Generic.IList? Type1385 { get; set; } /// /// /// - public global::OpenRouter.ScimGroup? Type1386 { get; set; } + public global::OpenRouter.ListScimGroupsResponse? Type1386 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponse? Type1387 { get; set; } + public global::System.Collections.Generic.IList? Type1387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1388 { get; set; } + public global::OpenRouter.ScimGroup? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ServerTool? Type1389 { get; set; } + public global::OpenRouter.ListToolsResponse? Type1389 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponseLinks? Type1390 { get; set; } + public global::System.Collections.Generic.IList? Type1390 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1391 { get; set; } + public global::OpenRouter.ServerTool? Type1391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1392 { get; set; } + public global::OpenRouter.ListToolsResponseLinks? Type1392 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceMembersResponse? Type1393 { get; set; } + public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1393 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1394 { get; set; } + public global::System.Collections.Generic.IList? Type1394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1395 { get; set; } + public global::OpenRouter.ListWorkspaceMembersResponse? Type1395 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemAction? Type1396 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1396 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemActionType? Type1397 { get; set; } + public global::System.Collections.Generic.IList? Type1397 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemType? Type1398 { get; set; } + public global::OpenRouter.LocalShellCallItemAction? Type1398 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItemType? Type1399 { get; set; } + public global::OpenRouter.LocalShellCallItemActionType? Type1399 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1400 { get; set; } + public global::OpenRouter.LocalShellCallItemType? Type1400 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1401 { get; set; } + public global::OpenRouter.LocalShellCallOutputItemType? Type1401 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointResponse? Type1402 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1402 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItemType? Type1403 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1403 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItemType? Type1404 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointResponse? Type1404 { get; set; } /// /// /// - public global::OpenRouter.McpToolCallError? Type1405 { get; set; } + public global::OpenRouter.McpApprovalRequestItemType? Type1405 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemType? Type1406 { get; set; } + public global::OpenRouter.McpApprovalResponseItemType? Type1406 { get; set; } /// /// /// - public global::OpenRouter.McpHttpError? Type1407 { get; set; } + public global::OpenRouter.McpToolCallError? Type1407 { get; set; } /// /// /// - public global::OpenRouter.McpHttpErrorType? Type1408 { get; set; } + public global::OpenRouter.McpCallItemType? Type1408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1409 { get; set; } + public global::OpenRouter.McpHttpError? Type1409 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemTool? Type1410 { get; set; } + public global::OpenRouter.McpHttpErrorType? Type1410 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemType? Type1411 { get; set; } + public global::System.Collections.Generic.IList? Type1411 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolError? Type1412 { get; set; } + public global::OpenRouter.McpListToolsItemTool? Type1412 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolErrorType? Type1413 { get; set; } + public global::OpenRouter.McpListToolsItemType? Type1413 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1414 { get; set; } + public global::OpenRouter.McpProtocolError? Type1414 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type1415 { get; set; } + public global::OpenRouter.McpProtocolErrorType? Type1415 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type1416 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1416 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1417 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type1417 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1418 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type1418 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1419 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1419 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1420 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1420 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1421 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1421 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type1422 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1422 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionError? Type1423 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1423 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionErrorType? Type1424 { get; set; } + public global::OpenRouter.McpServerToolType? Type1424 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1425 { get; set; } + public global::OpenRouter.McpToolExecutionError? Type1425 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1426 { get; set; } + public global::OpenRouter.McpToolExecutionErrorType? Type1426 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlock? Type1427 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1428 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1428 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFile? Type1429 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlock? Type1429 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1430 { get; set; } + public global::System.Collections.Generic.IList? Type1430 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockType? Type1431 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFile? Type1431 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1432 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1432 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1433 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockType? Type1433 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1434 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1434 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1435 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1435 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1436 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1436 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1437 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1437 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1438 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1438 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1439 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1439 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1440 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1440 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1441 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1441 { get; set; } /// /// /// - public global::OpenRouter.Citation? Type1442 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1442 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1443 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1443 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1444 { get; set; } + public global::OpenRouter.Citation? Type1444 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1445 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1445 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1446 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1446 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1447 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1447 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1448 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1448 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEvent? Type1449 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1449 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1450 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1450 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResult? Type1451 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEvent? Type1451 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResult? Type1452 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1452 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1453 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResult? Type1453 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1454 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResult? Type1454 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventType? Type1455 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1455 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEvent? Type1456 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1456 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEventType? Type1457 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventType? Type1457 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEvent? Type1458 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEvent? Type1458 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventDelta? Type1459 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEventType? Type1459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1460 { get; set; } + public global::OpenRouter.MessagesDeltaEvent? Type1460 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventType? Type1461 { get; set; } + public global::OpenRouter.MessagesDeltaEventDelta? Type1461 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventUsage? Type1462 { get; set; } + public global::System.Collections.Generic.IList? Type1462 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUsage? Type1463 { get; set; } + public global::OpenRouter.MessagesDeltaEventType? Type1463 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEvent? Type1464 { get; set; } + public global::OpenRouter.MessagesDeltaEventUsage? Type1464 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventError? Type1465 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUsage? Type1465 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventType? Type1466 { get; set; } + public global::OpenRouter.MessagesErrorEvent? Type1466 { get; set; } /// /// /// - public global::OpenRouter.MessagesFallbackParam? Type1467 { get; set; } + public global::OpenRouter.MessagesErrorEventError? Type1467 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1468 { get; set; } + public global::OpenRouter.MessagesErrorEventType? Type1468 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1469 { get; set; } + public global::OpenRouter.MessagesFallbackParam? Type1469 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1470 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1470 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1471 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1471 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1472 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1472 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1473 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1473 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1474 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1474 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1475 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1475 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1476 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1476 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1477 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1477 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1478 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1478 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1479 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1479 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1480 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1480 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1481 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1481 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1482 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1483 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1483 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1484 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1484 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1485 { get; set; } + public global::System.Collections.Generic.IList? Type1485 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1486 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1486 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1487 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1487 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1488 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1488 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1489 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1489 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlock? Type1490 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1490 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlock? Type1491 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1491 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlock? Type1492 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlock? Type1492 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1493 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlock? Type1493 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1494 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlock? Type1494 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1495 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1495 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1496 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1496 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1497 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1497 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1498 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1498 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1499 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1499 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEvent? Type1500 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1500 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEventType? Type1501 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1501 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1502 { get; set; } + public global::OpenRouter.MessagesPingEvent? Type1502 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1503 { get; set; } + public global::OpenRouter.MessagesPingEventType? Type1503 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1504 { get; set; } + public global::OpenRouter.MessagesRequest? Type1504 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1505 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1505 { get; set; } /// /// /// - public global::OpenRouter.Trigger? Type1506 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1506 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1507 { get; set; } + public global::OpenRouter.AnyOf>? Type1507 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1508 { get; set; } + public global::OpenRouter.Trigger? Type1508 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1509 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1509 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1510 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1510 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1511 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1511 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1512 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1512 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1513 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1513 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1514 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1514 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1515 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1515 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1516 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1516 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1517 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1518 { get; set; } + public global::OpenRouter.AllOf? Type1518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1519 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1519 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1520 { get; set; } + public global::System.Collections.Generic.IList? Type1520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1521 { get; set; } + public global::System.Collections.Generic.IList? Type1521 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem2? Type1522 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1522 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1523 { get; set; } + public global::System.Collections.Generic.IList? Type1523 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1524 { get; set; } + public global::OpenRouter.PluginsItem2? Type1524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1525 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1525 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1526 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1526 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1527 { get; set; } + public global::System.Collections.Generic.IList? Type1527 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1? Type1528 { get; set; } + public global::OpenRouter.AllOf? Type1528 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1529 { get; set; } + public global::OpenRouter.AnyOf>? Type1529 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2? Type1530 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1? Type1530 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1531 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1531 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3? Type1532 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2? Type1532 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1533 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1533 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4? Type1534 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3? Type1534 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1535 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1535 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1536 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4? Type1536 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1537 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1537 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1538 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1538 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1539 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1539 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1540 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1540 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1541 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1541 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1542 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1542 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1543 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1543 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1? Type1544 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1544 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1545 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1545 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1Type? Type1546 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1? Type1546 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2? Type1547 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1547 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Name? Type1548 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1Type? Type1548 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Type? Type1549 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2? Type1549 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3? Type1550 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Name? Type1550 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Name? Type1551 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Type? Type1551 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Type? Type1552 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3? Type1552 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4? Type1553 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Name? Type1553 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Name? Type1554 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Type? Type1554 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Type? Type1555 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4? Type1555 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5? Type1556 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Name? Type1556 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Name? Type1557 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Type? Type1557 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Type? Type1558 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5? Type1558 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6? Type1559 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Name? Type1559 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Name? Type1560 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Type? Type1560 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Type? Type1561 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6? Type1561 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerTool? Type1562 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Name? Type1562 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant13? Type1563 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Type? Type1563 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1564 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerTool? Type1564 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2? Type1565 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant13? Type1565 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1566 { get; set; } + public global::OpenRouter.MessagesResult? Type1566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1567 { get; set; } + public global::OpenRouter.MessagesResultVariant2? Type1567 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1568 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1568 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1569 { get; set; } + public global::System.Collections.Generic.IList? Type1569 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2Usage? Type1570 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1570 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerToolType? Type1571 { get; set; } + public global::OpenRouter.AllOf? Type1571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1572 { get; set; } + public global::OpenRouter.MessagesResultVariant2Usage? Type1572 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFile? Type1573 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerToolType? Type1573 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1574 { get; set; } + public global::System.Collections.Generic.IList? Type1574 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockType? Type1575 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFile? Type1575 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEvent? Type1576 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1576 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessage? Type1577 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockType? Type1577 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageProvider? Type1578 { get; set; } + public global::OpenRouter.MessagesStartEvent? Type1578 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageRole? Type1579 { get; set; } + public global::OpenRouter.MessagesStartEventMessage? Type1579 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageType? Type1580 { get; set; } + public global::OpenRouter.MessagesStartEventMessageProvider? Type1580 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1581 { get; set; } + public global::OpenRouter.MessagesStartEventMessageRole? Type1581 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageUsage? Type1582 { get; set; } + public global::OpenRouter.MessagesStartEventMessageType? Type1582 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventType? Type1583 { get; set; } + public global::OpenRouter.AllOf? Type1583 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEvent? Type1584 { get; set; } + public global::OpenRouter.MessagesStartEventMessageUsage? Type1584 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEventType? Type1585 { get; set; } + public global::OpenRouter.MessagesStartEventType? Type1585 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEvents? Type1586 { get; set; } + public global::OpenRouter.MessagesStopEvent? Type1586 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1587 { get; set; } + public global::OpenRouter.MessagesStopEventType? Type1587 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1588 { get; set; } + public global::OpenRouter.MessagesStreamEvents? Type1588 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamingResponse? Type1589 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1589 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1590 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1590 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1591 { get; set; } + public global::OpenRouter.MessagesStreamingResponse? Type1591 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1592 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1592 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1593 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1593 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1594 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1594 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1595 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1595 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockType? Type1596 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1596 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1597 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1597 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1598 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockType? Type1598 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1599 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1599 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1600 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1600 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1601 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1601 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1602 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1602 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockType? Type1603 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1603 { get; set; } /// /// /// - public global::OpenRouter.MetadataLevel? Type1604 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1604 { get; set; } /// /// /// - public global::OpenRouter.Model? Type1605 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockType? Type1605 { get; set; } /// /// /// - public global::OpenRouter.ModelAliasTarget? Type1606 { get; set; } + public global::OpenRouter.MetadataLevel? Type1606 { get; set; } /// /// /// - public global::OpenRouter.ModelBenchmarks? Type1607 { get; set; } + public global::OpenRouter.Model? Type1607 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type1608 { get; set; } + public global::OpenRouter.ModelAliasTarget? Type1608 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type1609 { get; set; } + public global::OpenRouter.ModelBenchmarks? Type1609 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type1610 { get; set; } + public global::OpenRouter.ModelLinks? Type1610 { get; set; } /// /// /// - public global::OpenRouter.ModelReasoning? Type1611 { get; set; } + public global::OpenRouter.PerRequestLimits? Type1611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1612 { get; set; } + public global::OpenRouter.PublicPricing? Type1612 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type1613 { get; set; } + public global::OpenRouter.ModelReasoning? Type1613 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type1614 { get; set; } + public global::System.Collections.Generic.IList? Type1614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1615 { get; set; } + public global::OpenRouter.Parameter? Type1615 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1616 { get; set; } + public global::OpenRouter.TopProviderInfo? Type1616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1617 { get; set; } + public global::System.Collections.Generic.IList? Type1617 { get; set; } /// /// /// - public global::OpenRouter.ModelResponse? Type1618 { get; set; } + public global::OpenRouter.AllOf? Type1618 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1619 { get; set; } + public global::System.Collections.Generic.IList? Type1619 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1620 { get; set; } + public global::OpenRouter.ModelResponse? Type1620 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type1621 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1622 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1622 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponseLinks? Type1623 { get; set; } + public global::OpenRouter.ModelsListResponse? Type1623 { get; set; } /// /// /// - public global::OpenRouter.ModerationPluginId? Type1624 { get; set; } + public global::System.Collections.Generic.IList? Type1624 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionTool? Type1625 { get; set; } + public global::OpenRouter.ModelsListResponseLinks? Type1625 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1626 { get; set; } + public global::OpenRouter.ModerationPluginId? Type1626 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1627 { get; set; } + public global::OpenRouter.NamespaceFunctionTool? Type1627 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolType? Type1628 { get; set; } + public global::System.Collections.Generic.IList? Type1628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1629 { get; set; } + public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1629 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1630 { get; set; } + public global::OpenRouter.NamespaceFunctionToolType? Type1630 { get; set; } /// /// /// - public global::OpenRouter.NamespaceToolType? Type1631 { get; set; } + public global::System.Collections.Generic.IList>? Type1631 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type1632 { get; set; } + public global::OpenRouter.AnyOf? Type1632 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type1633 { get; set; } + public global::OpenRouter.NamespaceToolType? Type1633 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponse? Type1634 { get; set; } + public global::OpenRouter.NotFoundResponse? Type1634 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponseError? Type1635 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type1635 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwks? Type1636 { get; set; } + public global::OpenRouter.OAuthErrorResponse? Type1636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1637 { get; set; } + public global::OpenRouter.OAuthErrorResponseError? Type1637 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKey? Type1638 { get; set; } + public global::OpenRouter.OAuthJwks? Type1638 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyAlg? Type1639 { get; set; } + public global::System.Collections.Generic.IList? Type1639 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyCrv? Type1640 { get; set; } + public global::OpenRouter.OAuthJwksKey? Type1640 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyKty? Type1641 { get; set; } + public global::OpenRouter.OAuthJwksKeyAlg? Type1641 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyUse? Type1642 { get; set; } + public global::OpenRouter.OAuthJwksKeyCrv? Type1642 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestination? Type1643 { get; set; } + public global::OpenRouter.OAuthJwksKeyKty? Type1643 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1644 { get; set; } + public global::OpenRouter.OAuthJwksKeyUse? Type1644 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1645 { get; set; } + public global::OpenRouter.ObservabilityArizeDestination? Type1645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1646 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1646 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegion? Type1647 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1647 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationType? Type1648 { get; set; } + public global::System.Collections.Generic.IList? Type1648 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestination? Type1649 { get; set; } + public global::OpenRouter.ObservabilityDataRegion? Type1649 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1650 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationType? Type1650 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1651 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestination? Type1651 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestination? Type1652 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1652 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1653 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1653 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1654 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestination? Type1654 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestination? Type1655 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1655 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1656 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1656 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationType? Type1657 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestination? Type1657 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestination? Type1658 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1658 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestination? Type1659 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationType? Type1659 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestination? Type1660 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestination? Type1660 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestination? Type1661 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestination? Type1661 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestination? Type1662 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestination? Type1662 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1663 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestination? Type1663 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestination? Type1664 { get; set; } + public global::OpenRouter.ObservabilityOpikDestination? Type1664 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestination? Type1665 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1665 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3Destination? Type1666 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestination? Type1666 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestination? Type1667 { get; set; } + public global::OpenRouter.ObservabilityRampDestination? Type1667 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestination? Type1668 { get; set; } + public global::OpenRouter.ObservabilityS3Destination? Type1668 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestination? Type1669 { get; set; } + public global::OpenRouter.ObservabilitySentryDestination? Type1669 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestination? Type1670 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestination? Type1670 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1671 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestination? Type1671 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1672 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestination? Type1672 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroup? Type1673 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1673 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1674 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1675 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroup? Type1675 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1676 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1676 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1677 { get; set; } + public global::System.Collections.Generic.IList? Type1677 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1678 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1679 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1679 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1680 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1680 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1681 { get; set; } + public global::System.Collections.Generic.IList? Type1681 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1682 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1682 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1683 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1683 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1684 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1684 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1685 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1685 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1686 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1686 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1687 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1687 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1688 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1688 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1689 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1689 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationType? Type1690 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1690 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1691 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1691 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1692 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationType? Type1692 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1693 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1693 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationType? Type1694 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1694 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationConfig? Type1695 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1695 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationType? Type1696 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationType? Type1696 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfig? Type1697 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationConfig? Type1697 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationType? Type1698 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationType? Type1698 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1699 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfig? Type1699 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationType? Type1700 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationType? Type1700 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1701 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1701 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1702 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationType? Type1702 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1703 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1703 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationType? Type1704 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1704 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1705 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1705 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1706 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationType? Type1706 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationType? Type1707 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1707 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileShape? Type1708 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1708 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileObject? Type1709 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationType? Type1709 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFilePurpose? Type1710 { get; set; } + public global::OpenRouter.OpenAIFileShape? Type1710 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileStatus? Type1711 { get; set; } + public global::OpenRouter.OpenAIFileObject? Type1711 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedShape? Type1712 { get; set; } + public global::OpenRouter.OpenAIFilePurpose? Type1712 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedObject? Type1713 { get; set; } + public global::OpenRouter.OpenAIFileStatus? Type1713 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListShape? Type1714 { get; set; } + public global::OpenRouter.OpenAIFileDeletedShape? Type1714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1715 { get; set; } + public global::OpenRouter.OpenAIFileDeletedObject? Type1715 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListObject? Type1716 { get; set; } + public global::OpenRouter.OpenAIFileListShape? Type1716 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1717 { get; set; } + public global::System.Collections.Generic.IList? Type1717 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1718 { get; set; } + public global::OpenRouter.OpenAIFileListObject? Type1718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1719 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1719 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item3? Type1720 { get; set; } + public global::OpenRouter.AnyOf>? Type1720 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1721 { get; set; } + public global::System.Collections.Generic.IList? Type1721 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1722 { get; set; } + public global::OpenRouter.OutputVariant2Item3? Type1722 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1723 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1724 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1724 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1725 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1725 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1726 { get; set; } + public global::System.Collections.Generic.IList? Type1726 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1727 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1728 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1728 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item4? Type1729 { get; set; } + public global::OpenRouter.AnyOf>? Type1729 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1730 { get; set; } + public global::System.Collections.Generic.IList? Type1730 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1731 { get; set; } + public global::OpenRouter.OutputVariant2Item4? Type1731 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1732 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1733 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1733 { get; set; } /// /// /// - public global::OpenRouter.ContentItem4? Type1734 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1734 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1735 { get; set; } + public global::System.Collections.Generic.IList? Type1735 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1736 { get; set; } + public global::OpenRouter.ContentItem4? Type1736 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1737 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1737 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1738 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1738 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1739 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1739 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1740 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1740 { get; set; } /// /// /// - public global::OpenRouter.URLCitation? Type1741 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1741 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1742 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1742 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1743 { get; set; } + public global::OpenRouter.URLCitation? Type1743 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1744 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1744 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1745 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1745 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1746 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1746 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1747 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1747 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1748 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1748 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1749 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1749 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1750 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1750 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1751 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1751 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1752 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1752 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1753 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1753 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1754 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1754 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1755 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1755 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1756 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1756 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1757 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1757 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1758 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1758 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1759 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1759 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1760 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1760 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1761 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1761 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1762 { get; set; } + public global::OpenRouter.AnyOf? Type1762 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type1763 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1763 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1764 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1764 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1765 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type1765 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1766 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1766 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1767 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1767 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type1768 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1768 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1769 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1769 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1770 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type1770 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1771 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1771 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1772 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1772 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1773 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1773 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1774 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1774 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEvent? Type1775 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1775 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1776 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1776 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorField? Type1777 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEvent? Type1777 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorFieldCode? Type1778 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1778 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadata? Type1779 { get; set; } + public global::OpenRouter.OpenResponsesErrorField? Type1779 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1780 { get; set; } + public global::OpenRouter.OpenResponsesErrorFieldCode? Type1780 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1781 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadata? Type1781 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEvent? Type1782 { get; set; } + public global::OpenRouter.AllOf? Type1782 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1783 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1783 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1784 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEvent? Type1784 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesTopLogprobs? Type1785 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1785 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2? Type1786 { get; set; } + public global::System.Collections.Generic.IList? Type1786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1787 { get; set; } + public global::OpenRouter.OpenResponsesTopLogprobs? Type1787 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type1788 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2? Type1788 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type1789 { get; set; } + public global::System.Collections.Generic.IList? Type1789 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1790 { get; set; } + public global::OpenRouter.OutputItems? Type1790 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileShape? Type1791 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type1791 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileType? Type1792 { get; set; } + public global::OpenRouter.AllOf? Type1792 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedShape? Type1793 { get; set; } + public global::OpenRouter.OpenRouterFileShape? Type1793 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedType? Type1794 { get; set; } + public global::OpenRouter.OpenRouterFileType? Type1794 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileListShape? Type1795 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedShape? Type1795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1796 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedType? Type1796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1797 { get; set; } + public global::OpenRouter.OpenRouterFileListShape? Type1797 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type1798 { get; set; } + public global::System.Collections.Generic.IList? Type1798 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type1799 { get; set; } + public global::System.Collections.Generic.IList? Type1799 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1800 { get; set; } + public global::OpenRouter.RouterAttempt? Type1800 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type1801 { get; set; } + public global::OpenRouter.RouterParams? Type1801 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type1802 { get; set; } + public global::System.Collections.Generic.IList? Type1802 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1803 { get; set; } + public global::OpenRouter.PipelineStage? Type1803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1804 { get; set; } + public global::OpenRouter.RoutingStrategy? Type1804 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFile? Type1805 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1805 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1806 { get; set; } + public global::System.Collections.Generic.IList? Type1806 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultType? Type1807 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFile? Type1807 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1808 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1808 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1809 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultType? Type1809 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1810 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1810 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1811 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1811 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1812 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1812 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1813 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1814 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1814 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFile? Type1815 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1815 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1816 { get; set; } + public global::System.Collections.Generic.IList? Type1816 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultType? Type1817 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFile? Type1817 { get; set; } /// /// /// - public global::OpenRouter.OrganizationSettings? Type1818 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1818 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItemType? Type1819 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultType? Type1819 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItem? Type1820 { get; set; } + public global::OpenRouter.OrganizationSettings? Type1820 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItemType? Type1821 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItemType? Type1821 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1822 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItem? Type1822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1823 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItemType? Type1823 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFile? Type1824 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1824 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFileType? Type1825 { get; set; } + public global::System.Collections.Generic.IList? Type1825 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type1826 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFile? Type1826 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1827 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFileType? Type1827 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1828 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type1828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1829 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1829 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1830 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1830 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type1831 { get; set; } + public global::System.Collections.Generic.IList? Type1831 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type1832 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1832 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItem? Type1833 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type1833 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemStatus? Type1834 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type1834 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemType? Type1835 { get; set; } + public global::OpenRouter.OutputCustomToolCallItem? Type1835 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItemType? Type1836 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemStatus? Type1836 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type1837 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemType? Type1837 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItemType? Type1838 { get; set; } + public global::OpenRouter.OutputDatetimeItemType? Type1838 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItem? Type1839 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type1839 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2? Type1840 { get; set; } + public global::OpenRouter.OutputFilesServerToolItemType? Type1840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1841 { get; set; } + public global::OpenRouter.OutputFunctionCallItem? Type1841 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1842 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2? Type1842 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1843 { get; set; } + public global::System.Collections.Generic.IList? Type1843 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1844 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1845 { get; set; } + public global::System.Collections.Generic.IList? Type1845 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemResponse? Type1846 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1847 { get; set; } + public global::System.Collections.Generic.IList? Type1847 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemType? Type1848 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemResponse? Type1848 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1849 { get; set; } + public global::System.Collections.Generic.IList? Type1849 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1850 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemType? Type1850 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEvent? Type1851 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1851 { get; set; } /// /// /// - public global::OpenRouter.Item? Type1852 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1852 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1853 { get; set; } + public global::OpenRouter.OutputItemAddedEvent? Type1853 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1854 { get; set; } + public global::OpenRouter.Item? Type1854 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventType? Type1855 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1855 { get; set; } /// /// /// - public global::OpenRouter.Operation? Type1856 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1856 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1857 { get; set; } + public global::OpenRouter.OutputItemAddedEventType? Type1857 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1858 { get; set; } + public global::OpenRouter.Operation? Type1858 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1859 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1859 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallType? Type1860 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1861 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1861 { get; set; } /// /// /// - public global::OpenRouter.OutputsItem? Type1862 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallType? Type1862 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1863 { get; set; } + public global::System.Collections.Generic.IList? Type1863 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1864 { get; set; } + public global::OpenRouter.OutputsItem? Type1864 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1865 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1865 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1866 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1866 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallStatus? Type1867 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1867 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallType? Type1868 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1868 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEvent? Type1869 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallStatus? Type1869 { get; set; } /// /// /// - public global::OpenRouter.Item2? Type1870 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallType? Type1870 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1871 { get; set; } + public global::OpenRouter.OutputItemDoneEvent? Type1871 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1872 { get; set; } + public global::OpenRouter.Item2? Type1872 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventType? Type1873 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1873 { get; set; } /// /// /// - public global::OpenRouter.WebSearchStatus? Type1874 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1874 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCallType? Type1875 { get; set; } + public global::OpenRouter.OutputItemDoneEventType? Type1875 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1876 { get; set; } + public global::OpenRouter.WebSearchStatus? Type1876 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1877 { get; set; } + public global::OpenRouter.OutputItemFileSearchCallType? Type1877 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1878 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1878 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallType? Type1879 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1879 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type1880 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1881 { get; set; } + public global::OpenRouter.OutputItemFunctionCallType? Type1881 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1882 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type1882 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1883 { get; set; } + public global::System.Collections.Generic.IList? Type1883 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1884 { get; set; } + public global::OpenRouter.AnyOf? Type1884 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1885 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1885 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningType? Type1886 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1886 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItem? Type1887 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1887 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItem? Type1888 { get; set; } + public global::OpenRouter.OutputItemReasoningType? Type1888 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type1889 { get; set; } + public global::OpenRouter.OutputShellCallItem? Type1889 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type1890 { get; set; } + public global::OpenRouter.OutputShellCallOutputItem? Type1890 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1891 { get; set; } + public global::OpenRouter.OutputToolSearchCallItem? Type1891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1892 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type1892 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSource? Type1893 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type1893 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1894 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1894 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1895 { get; set; } + public global::System.Collections.Generic.IList? Type1895 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1896 { get; set; } + public global::OpenRouter.WebSearchSource? Type1896 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1897 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1897 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1898 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1898 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallType? Type1899 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1899 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type1900 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1900 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type1901 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1901 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type1902 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallType? Type1902 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1903 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type1903 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant1? Type1904 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type1904 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant2? Type1905 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type1905 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type1906 { get; set; } + public global::OpenRouter.AnyOf? Type1906 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1907 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant1? Type1907 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant1? Type1908 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant2? Type1908 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant2? Type1909 { get; set; } + public global::OpenRouter.OutputMessageRole? Type1909 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant3? Type1910 { get; set; } + public global::OpenRouter.AnyOf? Type1910 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type1911 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant1? Type1911 { get; set; } /// /// /// - public global::OpenRouter.OutputModalityEnum? Type1912 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant2? Type1912 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemVariant2? Type1913 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant3? Type1913 { get; set; } /// /// /// - public global::OpenRouter.ReasoningFormat? Type1914 { get; set; } + public global::OpenRouter.OutputMessageType? Type1914 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1915 { get; set; } + public global::OpenRouter.OutputModalityEnum? Type1915 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemAction? Type1916 { get; set; } + public global::OpenRouter.OutputReasoningItemVariant2? Type1916 { get; set; } /// /// /// - public global::OpenRouter.ShellCallStatus? Type1917 { get; set; } + public global::OpenRouter.ReasoningFormat? Type1917 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemType? Type1918 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1919 { get; set; } + public global::OpenRouter.OutputShellCallItemAction? Type1919 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFile? Type1920 { get; set; } + public global::OpenRouter.ShellCallStatus? Type1920 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFileType? Type1921 { get; set; } + public global::OpenRouter.OutputShellCallItemType? Type1921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1922 { get; set; } + public global::System.Collections.Generic.IList? Type1922 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContent? Type1923 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFile? Type1923 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemType? Type1924 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFileType? Type1924 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemAction? Type1925 { get; set; } + public global::System.Collections.Generic.IList? Type1925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1926 { get; set; } + public global::OpenRouter.ShellCallOutputContent? Type1926 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFile? Type1927 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemType? Type1927 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFileType? Type1928 { get; set; } + public global::OpenRouter.OutputShellServerToolItemAction? Type1928 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemType? Type1929 { get; set; } + public global::System.Collections.Generic.IList? Type1929 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItemType? Type1930 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFile? Type1930 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1931 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFileType? Type1931 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type1932 { get; set; } + public global::OpenRouter.OutputShellServerToolItemType? Type1932 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type1933 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItemType? Type1933 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type1934 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1934 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1935 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type1935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1936 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemExecution? Type1936 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1937 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemType? Type1937 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1938 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type1938 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1939 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type1939 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemType? Type1940 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1940 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginId? Type1941 { get; set; } + public global::System.Collections.Generic.IList? Type1941 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginPriceSource? Type1942 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1942 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type1943 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1943 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1944 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1944 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type1945 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemType? Type1945 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type1946 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type1946 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngine? Type1947 { get; set; } + public global::OpenRouter.ParetoRouterPluginPriceSource? Type1947 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant1? Type1948 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type1948 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant2? Type1949 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1949 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type1950 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type1950 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type1951 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type1951 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type1952 { get; set; } + public global::OpenRouter.PDFParserEngine? Type1952 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type1953 { get; set; } + public global::OpenRouter.PDFParserEngineVariant1? Type1953 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1954 { get; set; } + public global::OpenRouter.PDFParserEngineVariant2? Type1954 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1955 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type1955 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentText? Type1956 { get; set; } + public global::OpenRouter.PercentileStats? Type1956 { get; set; } /// /// /// - public global::OpenRouter.PredictionType? Type1957 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type1957 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentTextType? Type1958 { get; set; } + public global::OpenRouter.PipelineStageType? Type1958 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type1959 { get; set; } + public global::OpenRouter.AnyOf>? Type1959 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type1960 { get; set; } + public global::System.Collections.Generic.IList? Type1960 { get; set; } /// /// /// - public global::OpenRouter.PresetStatus? Type1961 { get; set; } + public global::OpenRouter.PredictionContentText? Type1961 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1962 { get; set; } + public global::OpenRouter.PredictionType? Type1962 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type1963 { get; set; } + public global::OpenRouter.PredictionContentTextType? Type1963 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type1964 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type1964 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type1965 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type1965 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type1966 { get; set; } + public global::OpenRouter.PresetStatus? Type1966 { get; set; } /// /// /// - public global::OpenRouter.PricingOverride? Type1967 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1967 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1968 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type1968 { get; set; } /// /// /// - public global::OpenRouter.PricingOverrideUtcDay? Type1969 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type1969 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpoint? Type1970 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type1970 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointStatus? Type1971 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type1971 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheck? Type1972 { get; set; } + public global::OpenRouter.PricingOverride? Type1972 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheckReason? Type1973 { get; set; } + public global::System.Collections.Generic.IList? Type1973 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointResponse? Type1974 { get; set; } + public global::OpenRouter.PricingOverrideUtcDay? Type1974 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidation? Type1975 { get; set; } + public global::OpenRouter.PrivateEndpoint? Type1975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1976 { get; set; } + public global::OpenRouter.PrivateEndpointStatus? Type1976 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationResponse? Type1977 { get; set; } + public global::OpenRouter.PrivateEndpointCheck? Type1977 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpointMode? Type1978 { get; set; } + public global::OpenRouter.PrivateEndpointCheckReason? Type1978 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptionsMode? Type1979 { get; set; } + public global::OpenRouter.PrivateEndpointResponse? Type1979 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponse? Type1980 { get; set; } + public global::OpenRouter.PrivateEndpointValidation? Type1980 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponseErrorData? Type1981 { get; set; } + public global::System.Collections.Generic.IList? Type1981 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type1982 { get; set; } + public global::OpenRouter.PrivateEndpointValidationResponse? Type1982 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type1983 { get; set; } + public global::OpenRouter.PromptCacheBreakpointMode? Type1983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1984 { get; set; } + public global::OpenRouter.PromptCacheOptionsMode? Type1984 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type1985 { get; set; } + public global::OpenRouter.ProviderOverloadedResponse? Type1985 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type1986 { get; set; } + public global::OpenRouter.ProviderOverloadedResponseErrorData? Type1986 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseRoutedServiceTier? Type1987 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type1987 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type1988 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type1988 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type1989 { get; set; } + public global::System.Collections.Generic.IList? Type1989 { get; set; } /// /// /// - public global::OpenRouter.ProvisionInternResponse? Type1990 { get; set; } + public global::OpenRouter.Quantization? Type1990 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1991 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type1991 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointNativeTools2? Type1992 { get; set; } + public global::OpenRouter.ProviderResponseRoutedServiceTier? Type1992 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type1993 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type1993 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type1994 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type1994 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1995 { get; set; } + public global::OpenRouter.ProvisionInternResponse? Type1995 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type1996 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1996 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type1997 { get; set; } + public global::OpenRouter.PublicEndpointNativeTools2? Type1997 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type1998 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type1998 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type1999 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type1999 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2000 { get; set; } + public global::OpenRouter.AllOf? Type2000 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2001 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2001 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2002 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2002 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2003 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2003 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type2004 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2005 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2005 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceSupport? Type2006 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2006 { get; set; } /// /// /// - public global::OpenRouter.RangeCapabilityType? Type2007 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2007 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type2008 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2008 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type2009 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type2009 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type2010 { get; set; } + public global::System.Collections.Generic.IList? Type2010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2011 { get; set; } + public global::OpenRouter.ToolChoiceSupport? Type2011 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2012 { get; set; } + public global::OpenRouter.RangeCapabilityType? Type2012 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfigVariant12? Type2013 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type2013 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDeltaEvent? Type2014 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type2014 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type2015 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type2015 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCallType? Type2016 { get; set; } + public global::System.Collections.Generic.IList? Type2016 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type2017 { get; set; } + public global::OpenRouter.AllOf? Type2017 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type2018 { get; set; } + public global::OpenRouter.ReasoningConfigVariant12? Type2018 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2019 { get; set; } + public global::OpenRouter.ReasoningDeltaEvent? Type2019 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2020 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type2020 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDoneEvent? Type2021 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCallType? Type2021 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItemVariant2? Type2022 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type2022 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2023 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type2023 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2024 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2024 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextType? Type2025 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2025 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2026 { get; set; } + public global::OpenRouter.ReasoningDoneEvent? Type2026 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2027 { get; set; } + public global::OpenRouter.ReasoningItemVariant2? Type2027 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContentType? Type2028 { get; set; } + public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2028 { get; set; } /// /// /// - public global::OpenRouter.RefusalDeltaEvent? Type2029 { get; set; } + public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2029 { get; set; } /// /// /// - public global::OpenRouter.RefusalDoneEvent? Type2030 { get; set; } + public global::OpenRouter.ReasoningSummaryTextType? Type2030 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type2031 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2031 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type2032 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2032 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPluginId? Type2033 { get; set; } + public global::OpenRouter.ReasoningTextContentType? Type2033 { get; set; } /// /// /// - public global::OpenRouter.ResponseIncludesEnum? Type2034 { get; set; } + public global::OpenRouter.RefusalDeltaEvent? Type2034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2035 { get; set; } + public global::OpenRouter.RefusalDoneEvent? Type2035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2036 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type2036 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprob? Type2037 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type2037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2038 { get; set; } + public global::OpenRouter.ResponseHealingPluginId? Type2038 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2039 { get; set; } + public global::OpenRouter.ResponseIncludesEnum? Type2039 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextType? Type2040 { get; set; } + public global::System.Collections.Generic.IList? Type2040 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type2041 { get; set; } + public global::System.Collections.Generic.IList? Type2041 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type2042 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprob? Type2042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2043 { get; set; } + public global::System.Collections.Generic.IList? Type2043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2044 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2045 { get; set; } + public global::OpenRouter.ResponseOutputTextType? Type2045 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem3? Type2046 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type2046 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2047 { get; set; } + public global::OpenRouter.ResponsesRequest? Type2047 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2048 { get; set; } + public global::System.Collections.Generic.IList? Type2048 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type2049 { get; set; } + public global::System.Collections.Generic.IList? Type2049 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2050 { get; set; } + public global::System.Collections.Generic.IList? Type2050 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1? Type2051 { get; set; } + public global::OpenRouter.PluginsItem3? Type2051 { get; set; } /// /// /// - public global::OpenRouter.ResponsesStreamingResponse? Type2052 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2052 { get; set; } /// /// /// - public global::OpenRouter.StreamEvents? Type2053 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2053 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMappingRole? Type2054 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type2054 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJobStatus? Type2055 { get; set; } + public global::OpenRouter.AllOf? Type2055 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2056 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1? Type2056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2057 { get; set; } + public global::OpenRouter.ResponsesStreamingResponse? Type2057 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputName? Type2058 { get; set; } + public global::OpenRouter.StreamEvents? Type2058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2059 { get; set; } + public global::OpenRouter.ScimGroupMappingRole? Type2059 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngine? Type2060 { get; set; } + public global::OpenRouter.ScimSyncJobStatus? Type2060 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeSupport? Type2061 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2061 { get; set; } /// /// /// - public global::OpenRouter.ServerToolStatus? Type2062 { get; set; } + public global::System.Collections.Generic.IList? Type2062 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2063 { get; set; } + public global::OpenRouter.ServerToolInputName? Type2063 { get; set; } /// /// /// - public global::OpenRouter.ServerToolSupportedApiFormat? Type2064 { get; set; } + public global::System.Collections.Generic.IList? Type2064 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2? Type2065 { get; set; } + public global::OpenRouter.ServerToolEngine? Type2065 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2066 { get; set; } + public global::OpenRouter.ServerToolNativeSupport? Type2066 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2067 { get; set; } + public global::OpenRouter.ServerToolStatus? Type2067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2068 { get; set; } + public global::System.Collections.Generic.IList? Type2068 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeModel? Type2069 { get; set; } + public global::OpenRouter.ServerToolSupportedApiFormat? Type2069 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineByok? Type2070 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2? Type2070 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2071 { get; set; } + public global::OpenRouter.AllOf? Type2071 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineDataRegion? Type2072 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2072 { get; set; } /// /// /// - public global::OpenRouter.ServerToolExecutedBy? Type2073 { get; set; } + public global::System.Collections.Generic.IList? Type2073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2074 { get; set; } + public global::OpenRouter.ServerToolNativeModel? Type2074 { get; set; } /// /// /// - public global::OpenRouter.ServerToolPrice? Type2075 { get; set; } + public global::OpenRouter.ServerToolEngineByok? Type2075 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEnginePricingSource? Type2076 { get; set; } + public global::System.Collections.Generic.IList? Type2076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2077 { get; set; } + public global::OpenRouter.ServerToolEngineDataRegion? Type2077 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputNameApiFormat? Type2078 { get; set; } + public global::OpenRouter.ServerToolExecutedBy? Type2078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2079 { get; set; } + public global::System.Collections.Generic.IList? Type2079 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputName? Type2080 { get; set; } + public global::OpenRouter.ServerToolPrice? Type2080 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputNameApiFormat? Type2081 { get; set; } + public global::OpenRouter.ServerToolEnginePricingSource? Type2081 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type2082 { get; set; } + public global::System.Collections.Generic.IList? Type2082 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2083 { get; set; } + public global::OpenRouter.ServerToolInputNameApiFormat? Type2083 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItem? Type2084 { get; set; } + public global::System.Collections.Generic.IList? Type2084 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItemTurnRange? Type2085 { get; set; } + public global::OpenRouter.ServerToolOutputName? Type2085 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMeta? Type2086 { get; set; } + public global::OpenRouter.ServerToolOutputNameApiFormat? Type2086 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMetaVersion? Type2087 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type2087 { get; set; } /// /// /// - public global::OpenRouter.SessionCostResponse? Type2088 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2088 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2089 { get; set; } + public global::OpenRouter.SessionCostItem? Type2089 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemAction? Type2090 { get; set; } + public global::OpenRouter.SessionCostItemTurnRange? Type2090 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemType? Type2091 { get; set; } + public global::OpenRouter.SessionCostMeta? Type2091 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2092 { get; set; } + public global::OpenRouter.SessionCostMetaVersion? Type2092 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2093 { get; set; } + public global::OpenRouter.SessionCostResponse? Type2093 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2094 { get; set; } + public global::System.Collections.Generic.IList? Type2094 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2095 { get; set; } + public global::OpenRouter.ShellCallItemAction? Type2095 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2096 { get; set; } + public global::OpenRouter.ShellCallItemType? Type2096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2097 { get; set; } + public global::OpenRouter.OneOf? Type2097 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFile? Type2098 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2098 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFileType? Type2099 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2099 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemType? Type2100 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2100 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type2101 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2101 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolConfig? Type2102 { get; set; } + public global::System.Collections.Generic.IList? Type2102 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouterType? Type2103 { get; set; } + public global::OpenRouter.ShellCallOutputItemFile? Type2103 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEngine? Type2104 { get; set; } + public global::OpenRouter.ShellCallOutputItemFileType? Type2104 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironment? Type2105 { get; set; } + public global::OpenRouter.ShellCallOutputItemType? Type2105 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2106 { get; set; } + public global::OpenRouter.ShellServerToolType? Type2106 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2107 { get; set; } + public global::OpenRouter.ShellServerToolConfig? Type2107 { get; set; } /// /// /// - public global::OpenRouter.SpeechInput? Type2108 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouterType? Type2108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2109 { get; set; } + public global::OpenRouter.ShellServerToolEngine? Type2109 { get; set; } /// /// /// - public global::OpenRouter.SpeechTurn? Type2110 { get; set; } + public global::OpenRouter.ShellServerToolEnvironment? Type2110 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReference? Type2111 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2111 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudio? Type2112 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2112 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceText? Type2113 { get; set; } + public global::OpenRouter.SignInternDaemonRequest? Type2113 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImage? Type2114 { get; set; } + public global::OpenRouter.SignInternDaemonResponse? Type2114 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2115 { get; set; } + public global::OpenRouter.SpeechInput? Type2115 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2116 { get; set; } + public global::System.Collections.Generic.IList? Type2116 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioInput? Type2117 { get; set; } + public global::OpenRouter.SpeechTurn? Type2117 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioType? Type2118 { get; set; } + public global::OpenRouter.SpeechInputReference? Type2118 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageInput? Type2119 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudio? Type2119 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageType? Type2120 { get; set; } + public global::OpenRouter.SpeechInputReferenceText? Type2120 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceTextType? Type2121 { get; set; } + public global::OpenRouter.SpeechInputReferenceImage? Type2121 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type2122 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2123 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2123 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type2124 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioInput? Type2124 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderDataCollection? Type2125 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioType? Type2125 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type2126 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageInput? Type2126 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenCondition? Type2127 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageType? Type2127 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2128 { get; set; } + public global::OpenRouter.SpeechInputReferenceTextType? Type2128 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2129 { get; set; } + public global::OpenRouter.SpeechRequest? Type2129 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2130 { get; set; } + public global::System.Collections.Generic.IList? Type2130 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCost? Type2131 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type2131 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2132 { get; set; } + public global::OpenRouter.SpeechRequestProviderDataCollection? Type2132 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2133 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type2133 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2134 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type2134 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2135 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2135 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2136 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2136 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2137 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2137 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2138 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCost? Type2138 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2139 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2139 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2140 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2140 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompleted? Type2141 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2141 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncomplete? Type2142 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2142 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailed? Type2143 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2143 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2144 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2144 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2145 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2145 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEvent? Type2146 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2146 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEvent? Type2147 { get; set; } + public global::OpenRouter.AnyOf? Type2147 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallInProgressEvent? Type2148 { get; set; } + public global::OpenRouter.StreamEventsResponseCompleted? Type2148 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallSearchingEvent? Type2149 { get; set; } + public global::OpenRouter.StreamEventsResponseIncomplete? Type2149 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallCompletedEvent? Type2150 { get; set; } + public global::OpenRouter.StreamEventsResponseFailed? Type2150 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminator? Type2151 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2151 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminatorType? Type2152 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2152 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2153 { get; set; } + public global::OpenRouter.TextDeltaEvent? Type2153 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2154 { get; set; } + public global::OpenRouter.TextDoneEvent? Type2154 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2155 { get; set; } + public global::OpenRouter.WebSearchCallInProgressEvent? Type2155 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2156 { get; set; } + public global::OpenRouter.WebSearchCallSearchingEvent? Type2156 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2157 { get; set; } + public global::OpenRouter.WebSearchCallCompletedEvent? Type2157 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprob? Type2158 { get; set; } + public global::OpenRouter.StreamEventsDiscriminator? Type2158 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobVariant2? Type2159 { get; set; } + public global::OpenRouter.StreamEventsDiscriminatorType? Type2159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2160 { get; set; } + public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2160 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobTopLogprob? Type2161 { get; set; } + public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2161 { get; set; } /// /// /// - public global::OpenRouter.STTEntity? Type2162 { get; set; } + public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2162 { get; set; } /// /// /// - public global::OpenRouter.STTInlineInputAudio? Type2163 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2163 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type2164 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2164 { get; set; } /// /// /// - public global::OpenRouter.STTUrlInputAudio? Type2165 { get; set; } + public global::OpenRouter.StreamLogprob? Type2165 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type2166 { get; set; } + public global::OpenRouter.StreamLogprobVariant2? Type2166 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProvider? Type2167 { get; set; } + public global::System.Collections.Generic.IList? Type2167 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProviderDataCollection? Type2168 { get; set; } + public global::OpenRouter.StreamLogprobTopLogprob? Type2168 { get; set; } /// /// /// - public global::OpenRouter.STTRequestResponseFormat? Type2169 { get; set; } + public global::OpenRouter.STTEntity? Type2169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2170 { get; set; } + public global::OpenRouter.STTInlineInputAudio? Type2170 { get; set; } /// /// /// - public global::OpenRouter.STTTimestampGranularity? Type2171 { get; set; } + public global::OpenRouter.STTInputAudio? Type2171 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type2172 { get; set; } + public global::OpenRouter.STTUrlInputAudio? Type2172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2173 { get; set; } + public global::OpenRouter.STTRequest? Type2173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2174 { get; set; } + public global::OpenRouter.STTRequestProvider? Type2174 { get; set; } /// /// /// - public global::OpenRouter.STTSegment? Type2175 { get; set; } + public global::OpenRouter.STTRequestProviderDataCollection? Type2175 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type2176 { get; set; } + public global::OpenRouter.STTRequestResponseFormat? Type2176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2177 { get; set; } + public global::System.Collections.Generic.IList? Type2177 { get; set; } /// /// /// - public global::OpenRouter.STTWord? Type2178 { get; set; } + public global::OpenRouter.STTTimestampGranularity? Type2178 { get; set; } /// /// /// - public global::OpenRouter.STTWordType? Type2179 { get; set; } + public global::OpenRouter.STTResponse? Type2179 { get; set; } /// /// /// - public global::OpenRouter.SubagentNestedTool? Type2180 { get; set; } + public global::System.Collections.Generic.IList? Type2180 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoning? Type2181 { get; set; } + public global::System.Collections.Generic.IList? Type2181 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoningEffort? Type2182 { get; set; } + public global::OpenRouter.STTSegment? Type2182 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolConfig? Type2183 { get; set; } + public global::OpenRouter.STTUsage? Type2183 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouterType? Type2184 { get; set; } + public global::System.Collections.Generic.IList? Type2184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2185 { get; set; } + public global::OpenRouter.STTWord? Type2185 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2186 { get; set; } + public global::OpenRouter.STTWordType? Type2186 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2187 { get; set; } + public global::OpenRouter.SubagentNestedTool? Type2187 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2188 { get; set; } + public global::OpenRouter.SubagentReasoning? Type2188 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2189 { get; set; } + public global::OpenRouter.SubagentReasoningEffort? Type2189 { get; set; } /// /// /// - public global::OpenRouter.SuspendInternResponse? Type2190 { get; set; } + public global::OpenRouter.SubagentServerToolConfig? Type2190 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2191 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouterType? Type2191 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginId? Type2192 { get; set; } + public global::System.Collections.Generic.IList? Type2192 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationItem? Type2193 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2193 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2194 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2194 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationModel? Type2195 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2195 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationMacroCategory? Type2196 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2196 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponse? Type2197 { get; set; } + public global::OpenRouter.SuspendInternResponse? Type2197 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponseData? Type2198 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2199 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginId? Type2199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2200 { get; set; } + public global::OpenRouter.TaskClassificationItem? Type2200 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type2201 { get; set; } + public global::System.Collections.Generic.IList? Type2201 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEventVariant2? Type2202 { get; set; } + public global::OpenRouter.TaskClassificationModel? Type2202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2203 { get; set; } + public global::OpenRouter.TaskClassificationMacroCategory? Type2203 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEventVariant2? Type2204 { get; set; } + public global::OpenRouter.TaskClassificationResponse? Type2204 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2? Type2205 { get; set; } + public global::OpenRouter.TaskClassificationResponseData? Type2205 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2206 { get; set; } + public global::System.Collections.Generic.IList? Type2206 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequest? Type2207 { get; set; } + public global::System.Collections.Generic.IList? Type2207 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestGrantType? Type2208 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type2208 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2209 { get; set; } + public global::OpenRouter.TextDeltaEventVariant2? Type2209 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestScope? Type2210 { get; set; } + public global::System.Collections.Generic.IList? Type2210 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2211 { get; set; } + public global::OpenRouter.TextDoneEventVariant2? Type2211 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponse? Type2212 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2? Type2212 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2213 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2213 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseTokenType? Type2214 { get; set; } + public global::OpenRouter.TokenExchangeRequest? Type2214 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2215 { get; set; } + public global::OpenRouter.TokenExchangeRequestGrantType? Type2215 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2216 { get; set; } + public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2216 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2217 { get; set; } + public global::OpenRouter.TokenExchangeRequestScope? Type2217 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type2218 { get; set; } + public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2218 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolConfig? Type2219 { get; set; } + public global::OpenRouter.TokenExchangeResponse? Type2219 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolType? Type2220 { get; set; } + public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2220 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type2221 { get; set; } + public global::OpenRouter.TokenExchangeResponseTokenType? Type2221 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type2222 { get; set; } + public global::OpenRouter.AnyOf? Type2222 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type2223 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2223 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type2224 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2224 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarkPricing? Type2225 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type2225 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItem? Type2226 { get; set; } + public global::OpenRouter.ToolSearchCallItemExecution? Type2226 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2227 { get; set; } + public global::OpenRouter.ToolSearchCallItemStatus? Type2227 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItem? Type2228 { get; set; } + public global::OpenRouter.ToolSearchCallItemType? Type2228 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2229 { get; set; } + public global::OpenRouter.ToolSearchOutputItemExecution? Type2229 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2230 { get; set; } + public global::OpenRouter.ToolSearchOutputItemStatus? Type2230 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMeta? Type2231 { get; set; } + public global::OpenRouter.AllOf? Type2231 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2232 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool? Type2232 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2233 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool2? Type2233 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItem? Type2234 { get; set; } + public global::OpenRouter.ToolSearchOutputItemType? Type2234 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2235 { get; set; } + public global::OpenRouter.ToolSearchServerToolConfig? Type2235 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2236 { get; set; } + public global::OpenRouter.ToolSearchServerToolType? Type2236 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksResponse? Type2237 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type2237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2238 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type2238 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2239 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type2239 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2240 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type2240 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2241 { get; set; } + public global::OpenRouter.UnifiedBenchmarkPricing? Type2241 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2242 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItem? Type2242 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2243 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2243 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2244 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItem? Type2244 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2245 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2245 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type2246 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2246 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2247 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMeta? Type2247 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type2248 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2248 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2249 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2249 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type2250 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItem? Type2250 { get; set; } /// /// /// - public global::OpenRouter.UpdateEndUserRequest? Type2251 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2251 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type2252 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2252 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type2253 { get; set; } + public global::OpenRouter.UnifiedBenchmarksResponse? Type2253 { get; set; } /// /// /// - public global::OpenRouter.UpdateInternRequest? Type2254 { get; set; } + public global::System.Collections.Generic.IList>? Type2254 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2255 { get; set; } + public global::OpenRouter.OneOf? Type2255 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2256 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2256 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2257 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2257 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2258 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2258 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2259 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2259 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequest? Type2260 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2260 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2261 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2261 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequest? Type2262 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type2262 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2263 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2263 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingResponse? Type2264 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type2264 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type2265 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2266 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type2266 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2267 { get; set; } + public global::OpenRouter.UpdateEndUserRequest? Type2267 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type2268 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type2268 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2269 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type2269 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2270 { get; set; } + public global::OpenRouter.UpdateInternRequest? Type2270 { get; set; } /// /// /// - public global::OpenRouter.URLCitationType? Type2271 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2271 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant12? Type2272 { get; set; } + public global::OpenRouter.AllOf? Type2272 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant1CostDetails? Type2273 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2273 { get; set; } /// /// /// - public global::OpenRouter.ValidatePrivateEndpointRequest? Type2274 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2274 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecret? Type2275 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2275 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretScope? Type2276 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequest? Type2276 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretListResponse? Type2277 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2278 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequest? Type2278 { get; set; } /// /// /// - public global::OpenRouter.VaultSecret? Type2279 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2279 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyRequest? Type2280 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingResponse? Type2280 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyResponse? Type2281 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type2281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2282 { get; set; } + public global::System.Collections.Generic.IList? Type2282 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretListResponse? Type2283 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2283 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretResponse? Type2284 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type2284 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretWriteRequest? Type2285 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2285 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type2286 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2286 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2287 { get; set; } + public global::OpenRouter.URLCitationType? Type2287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2288 { get; set; } + public global::OpenRouter.UsageVariant12? Type2288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2289 { get; set; } + public global::OpenRouter.UsageVariant1CostDetails? Type2289 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type2290 { get; set; } + public global::OpenRouter.ValidatePrivateEndpointRequest? Type2290 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type2291 { get; set; } + public global::OpenRouter.VaultEffectiveSecret? Type2291 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type2292 { get; set; } + public global::OpenRouter.VaultEffectiveSecretScope? Type2292 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type2293 { get; set; } + public global::OpenRouter.VaultEffectiveSecretListResponse? Type2293 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type2294 { get; set; } + public global::System.Collections.Generic.IList? Type2294 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type2295 { get; set; } + public global::OpenRouter.VaultSecret? Type2295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2296 { get; set; } + public global::OpenRouter.VaultSecretCopyRequest? Type2296 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatio? Type2297 { get; set; } + public global::OpenRouter.VaultSecretCopyResponse? Type2297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2298 { get; set; } + public global::System.Collections.Generic.IList? Type2298 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImage? Type2299 { get; set; } + public global::OpenRouter.VaultSecretListResponse? Type2299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2300 { get; set; } + public global::OpenRouter.VaultSecretResponse? Type2300 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolution? Type2301 { get; set; } + public global::OpenRouter.VaultSecretWriteRequest? Type2301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2302 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type2302 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSize? Type2303 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2303 { get; set; } /// /// /// - public global::OpenRouter.VideoModelUpscaleFactor? Type2304 { get; set; } + public global::System.Collections.Generic.IList? Type2304 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type2305 { get; set; } + public global::System.Collections.Generic.IList? Type2305 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2306 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type2306 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type2307 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type2307 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPluginId? Type2308 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type2308 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type2309 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type2309 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type2310 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type2310 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngine? Type2311 { get; set; } + public global::OpenRouter.VideoModel? Type2311 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPluginId? Type2312 { get; set; } + public global::System.Collections.Generic.IList? Type2312 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2313 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatio? Type2313 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type2314 { get; set; } + public global::System.Collections.Generic.IList? Type2314 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type2315 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImage? Type2315 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2316 { get; set; } + public global::System.Collections.Generic.IList? Type2316 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSourceType? Type2317 { get; set; } + public global::OpenRouter.VideoModelSupportedResolution? Type2317 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type2318 { get; set; } + public global::System.Collections.Generic.IList? Type2318 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type2319 { get; set; } + public global::OpenRouter.VideoModelSupportedSize? Type2319 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetResetInterval? Type2320 { get; set; } + public global::OpenRouter.VideoModelUpscaleFactor? Type2320 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetInterval? Type2321 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type2321 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type2322 { get; set; } + public global::System.Collections.Generic.IList? Type2322 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequest? Type2323 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type2323 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2324 { get; set; } + public global::OpenRouter.WebFetchPluginId? Type2324 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2325 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type2325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2326 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type2326 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2327 { get; set; } + public global::OpenRouter.WebSearchEngine? Type2327 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type2328 { get; set; } + public global::OpenRouter.WebSearchPluginId? Type2328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2329 { get; set; } + public global::OpenRouter.AllOf? Type2329 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestFilter? Type2330 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type2330 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2331 { get; set; } + public global::OpenRouter.WebSearchServerToolConfig? Type2331 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2332 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2332 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2333 { get; set; } + public global::OpenRouter.WebSearchSourceType? Type2333 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2334 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type2334 { get; set; } /// /// /// - public byte[]? Type2335 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type2335 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2336 { get; set; } + public global::OpenRouter.WorkspaceBudgetResetInterval? Type2336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2337 { get; set; } + public global::OpenRouter.WorkspaceBudgetInterval? Type2337 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2338 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type2338 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2339 { get; set; } + public global::OpenRouter.QueryAnalyticsRequest? Type2339 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2340 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2340 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type2341 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2341 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2342 { get; set; } + public global::System.Collections.Generic.IList? Type2342 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2343 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2343 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type2344 { get; set; } + public global::OpenRouter.AnyOf>>? Type2344 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2345 { get; set; } + public global::System.Collections.Generic.IList? Type2345 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2346 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestFilter? Type2346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2347 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2347 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2348 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2348 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2349 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2349 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2350 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2350 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2351 { get; set; } + public byte[]? Type2351 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2352 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2352 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2353 { get; set; } + public global::System.Collections.Generic.IList? Type2353 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2354 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2354 { get; set; } /// /// /// - public global::OpenRouter.UploadFileRequest? Type2355 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2355 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type2356 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2356 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestExternal? Type2357 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type2357 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestLimitReset? Type2358 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2358 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type2359 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2359 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequestLimitReset? Type2360 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type2360 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type2361 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2362 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2362 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2363 { get; set; } + public global::System.Collections.Generic.IList>? Type2363 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequestDocument? Type2364 { get; set; } + public global::System.Collections.Generic.IList? Type2364 { get; set; } /// /// /// - public global::OpenRouter.GetUserActivityGroupBy? Type2365 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2366 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2366 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2367 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2367 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSource? Type2368 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2368 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksTaskType? Type2369 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2369 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksBenchmarkType? Type2370 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2370 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSearchSurface? Type2371 { get; set; } + public global::OpenRouter.UploadFileRequest? Type2371 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksArena? Type2372 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type2372 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysProvider? Type2373 { get; set; } + public global::OpenRouter.CreateKeysRequestExternal? Type2373 { get; set; } /// /// /// - public global::OpenRouter.GetTaskClassificationsWindow? Type2374 { get; set; } + public global::OpenRouter.CreateKeysRequestLimitReset? Type2374 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsCategory? Type2375 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type2375 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSubcategory? Type2376 { get; set; } + public global::OpenRouter.UpdateKeysRequestLimitReset? Type2376 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSort? Type2377 { get; set; } + public global::OpenRouter.CreateRerankRequest? Type2377 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyPeriod? Type2378 { get; set; } + public global::System.Collections.Generic.IList>? Type2378 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyModality? Type2379 { get; set; } + public global::OpenRouter.AnyOf? Type2379 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyContextBucket? Type2380 { get; set; } + public global::OpenRouter.CreateRerankRequestDocument? Type2380 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyCategory? Type2381 { get; set; } + public global::OpenRouter.GetUserActivityGroupBy? Type2381 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyLanguageType? Type2382 { get; set; } + public global::System.Collections.Generic.IList? Type2382 { get; set; } /// /// /// - public global::OpenRouter.GetSessionCostTurnRange? Type2383 { get; set; } + public global::OpenRouter.AllOf? Type2383 { get; set; } /// /// /// - public global::OpenRouter.ListFilesOrder? Type2384 { get; set; } + public global::OpenRouter.GetBenchmarksSource? Type2384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2385 { get; set; } + public global::OpenRouter.GetBenchmarksTaskType? Type2385 { get; set; } /// /// /// - public global::OpenRouter.ListInternsStatu? Type2386 { get; set; } + public global::OpenRouter.GetBenchmarksBenchmarkType? Type2386 { get; set; } /// /// /// - public global::OpenRouter.GetModelsCategory? Type2387 { get; set; } + public global::OpenRouter.GetBenchmarksSearchSurface? Type2387 { get; set; } /// /// /// - public global::OpenRouter.GetModelsSort? Type2388 { get; set; } + public global::OpenRouter.GetBenchmarksArena? Type2388 { get; set; } /// /// /// - public global::OpenRouter.GetModelsDistillable? Type2389 { get; set; } + public global::OpenRouter.ListBYOKKeysProvider? Type2389 { get; set; } /// /// /// - public global::OpenRouter.GetModelsZdr? Type2390 { get; set; } + public global::OpenRouter.GetTaskClassificationsWindow? Type2390 { get; set; } /// /// /// - public global::OpenRouter.GetModelsRegion? Type2391 { get; set; } + public global::OpenRouter.GetAppRankingsCategory? Type2391 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2392 { get; set; } + public global::OpenRouter.GetAppRankingsSubcategory? Type2392 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2393 { get; set; } + public global::OpenRouter.GetAppRankingsSort? Type2393 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2394 { get; set; } + public global::OpenRouter.GetRankingsDailyPeriod? Type2394 { get; set; } /// /// /// - public global::OpenRouter.ListToolsApiFormat? Type2395 { get; set; } + public global::OpenRouter.GetRankingsDailyModality? Type2395 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponse? Type2396 { get; set; } + public global::OpenRouter.GetRankingsDailyContextBucket? Type2396 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseData? Type2397 { get; set; } + public global::OpenRouter.GetRankingsDailyCategory? Type2397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2398 { get; set; } + public global::OpenRouter.GetRankingsDailyLanguageType? Type2398 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2399 { get; set; } + public global::OpenRouter.GetSessionCostTurnRange? Type2399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2400 { get; set; } + public global::OpenRouter.ListFilesOrder? Type2400 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2401 { get; set; } + public global::System.Collections.Generic.IList? Type2401 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2402 { get; set; } + public global::OpenRouter.ListInternsStatu? Type2402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2403 { get; set; } + public global::OpenRouter.GetModelsCategory? Type2403 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2404 { get; set; } + public global::OpenRouter.GetModelsSort? Type2404 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2405 { get; set; } + public global::OpenRouter.GetModelsDistillable? Type2405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2406 { get; set; } + public global::OpenRouter.GetModelsZdr? Type2406 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2407 { get; set; } + public global::OpenRouter.GetModelsRegion? Type2407 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2408 { get; set; } + public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2408 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2409 { get; set; } + public global::OpenRouter.AnyOf? Type2409 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponse? Type2410 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2410 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseData? Type2411 { get; set; } + public global::OpenRouter.ListToolsApiFormat? Type2411 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2412 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponse? Type2412 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2413 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseData? Type2413 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponse? Type2414 { get; set; } + public global::System.Collections.Generic.IList? Type2414 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2415 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2415 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponse? Type2416 { get; set; } + public global::System.Collections.Generic.IList? Type2416 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponseData? Type2417 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2417 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponse? Type2418 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2419 { get; set; } + public global::System.Collections.Generic.IList? Type2419 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2420 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2420 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2421 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2421 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseObject? Type2422 { get; set; } + public global::System.Collections.Generic.IList? Type2422 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2423 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2423 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2424 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2424 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsZdrResponse? Type2425 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2425 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponse? Type2426 { get; set; } + public global::OpenRouter.QueryAnalyticsResponse? Type2426 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseData? Type2427 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseData? Type2427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2428 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2428 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2429 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2429 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2430 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponse? Type2430 { get; set; } /// /// /// - public global::OpenRouter.ListResponse? Type2431 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2432 { get; set; } + public global::OpenRouter.GetCreditsResponse? Type2432 { get; set; } /// /// /// - public global::OpenRouter.ListResponseDataItem? Type2433 { get; set; } + public global::OpenRouter.GetCreditsResponseData? Type2433 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponse? Type2434 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponse? Type2434 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponseData? Type2435 { get; set; } + public global::System.Collections.Generic.IList? Type2435 { get; set; } /// /// /// - public global::OpenRouter.DeleteKeysResponse? Type2436 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2436 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponse? Type2437 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2437 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponseData? Type2438 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseObject? Type2438 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponse? Type2439 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2439 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponseData? Type2440 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2440 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse2? Type2441 { get; set; } + public global::OpenRouter.ListEndpointsZdrResponse? Type2441 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponse? Type2442 { get; set; } + public global::OpenRouter.GetCurrentKeyResponse? Type2442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2443 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseData? Type2443 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2444 { get; set; } + public global::System.Collections.Generic.IList? Type2444 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2445 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2445 { get; set; } /// /// /// - public global::OpenRouter.GetOrganizationSettingsResponse? Type2446 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2446 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2447 { get; set; } + public global::OpenRouter.ListResponse? Type2447 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2448 { get; set; } + public global::System.Collections.Generic.IList? Type2448 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2449 { get; set; } + public global::OpenRouter.ListResponseDataItem? Type2449 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2450 { get; set; } + public global::OpenRouter.CreateKeysResponse? Type2450 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2451 { get; set; } + public global::OpenRouter.CreateKeysResponseData? Type2451 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2452 { get; set; } + public global::OpenRouter.DeleteKeysResponse? Type2452 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponse? Type2453 { get; set; } + public global::OpenRouter.GetKeyResponse? Type2453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2454 { get; set; } + public global::OpenRouter.GetKeyResponseData? Type2454 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItem? Type2455 { get; set; } + public global::OpenRouter.UpdateKeysResponse? Type2455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2456 { get; set; } + public global::OpenRouter.UpdateKeysResponseData? Type2456 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2457 { get; set; } + public global::OpenRouter.ListEndpointsResponse2? Type2457 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2458 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponse? Type2458 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponse? Type2459 { get; set; } + public global::System.Collections.Generic.IList? Type2459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2460 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2460 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResult? Type2461 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2461 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResultDocument? Type2462 { get; set; } + public global::OpenRouter.GetOrganizationSettingsResponse? Type2462 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseUsage? Type2463 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2463 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2464 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2465 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2466 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2467 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2468 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponse? Type2469 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2470 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItem? Type2471 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2472 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2473 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2474 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponse? Type2475 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2476 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResult? Type2477 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResultDocument? Type2478 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseUsage? Type2479 { get; set; } /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateEndUserRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateEndUserRequest.g.cs index afb5933e..a099d01a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateEndUserRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateEndUserRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class CreateEndUserRequest { /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 ///
/// employee_123 @@ -27,7 +27,7 @@ public sealed partial class CreateEndUserRequest /// Initializes a new instance of the class. ///
/// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs index 4cee06cd..ae29b777 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs @@ -6,18 +6,10 @@ namespace OpenRouter { /// - /// Example: {"allow_safety_retention_google":null,"allowed_models":null,"allowed_providers":["openai","anthropic","deepseek"],"content_filter_builtins":[{"action":"block","slug":"regex-prompt-injection"}],"content_filters":null,"description":"A guardrail for limiting API usage","enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"ignored_models":null,"ignored_providers":null,"limit_usd":50,"name":"My New Guardrail","reset_interval":"monthly"} + /// Example: {"allowed_models":null,"allowed_providers":["openai","anthropic","deepseek"],"content_filter_builtins":[{"action":"block","slug":"regex-prompt-injection"}],"content_filters":null,"description":"A guardrail for limiting API usage","enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"ignored_models":null,"ignored_providers":null,"limit_usd":50,"name":"My New Guardrail","reset_interval":"monthly"} /// public sealed partial class CreateGuardrailRequest { - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - ///
- /// true - [global::System.Text.Json.Serialization.JsonPropertyName("allow_safety_retention_google")] - public bool? AllowSafetyRetentionGoogle { get; set; } - /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -210,10 +202,6 @@ public sealed partial class CreateGuardrailRequest /// Name for the new guardrail
/// Example: My New Guardrail /// - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -299,7 +287,6 @@ public sealed partial class CreateGuardrailRequest #endif public CreateGuardrailRequest( string name, - bool? allowSafetyRetentionGoogle, global::System.Collections.Generic.IList? allowedDataRegions, global::System.Collections.Generic.IList? allowedModels, global::System.Collections.Generic.IList? allowedProviders, @@ -321,7 +308,6 @@ public CreateGuardrailRequest( global::OpenRouter.GuardrailInterval? resetInterval, global::System.Guid? workspaceId) { - this.AllowSafetyRetentionGoogle = allowSafetyRetentionGoogle; this.AllowedDataRegions = allowedDataRegions; this.AllowedModels = allowedModels; this.AllowedProviders = allowedProviders; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailResponse.g.cs index c6946530..80d01d5f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailResponse.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Example: {"data":{"allow_safety_retention_google":null,"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"A guardrail for limiting API usage","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":50,"name":"My New Guardrail","reset_interval":"monthly","updated_at":null,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} + /// Example: {"data":{"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"A guardrail for limiting API usage","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":50,"name":"My New Guardrail","reset_interval":"monthly","updated_at":null,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} /// public sealed partial class CreateGuardrailResponse { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndUser.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndUser.g.cs index b9bd2d7e..65abb00b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndUser.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndUser.g.cs @@ -36,7 +36,7 @@ public sealed partial class EndUser public required global::System.DateTime UpdatedAt { get; set; } /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 ///
/// employee_123 @@ -66,7 +66,7 @@ public sealed partial class EndUser /// Example: 2026-09-16T12:00:00Z /// /// - /// Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ /// Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
/// Example: employee_123 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GetGuardrailResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetGuardrailResponse.g.cs index 9f5944d1..facf178c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GetGuardrailResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetGuardrailResponse.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Example: {"data":{"allow_safety_retention_google":null,"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} + /// Example: {"data":{"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} /// public sealed partial class GetGuardrailResponse { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs index 28ead8b2..3e3ab447 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs @@ -6,18 +6,10 @@ namespace OpenRouter { /// - /// Example: {"allow_safety_retention_google":null,"allowed_data_regions":null,"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"} + /// Example: {"allowed_data_regions":null,"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"} /// public sealed partial class Guardrail { - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - ///
- /// true - [global::System.Text.Json.Serialization.JsonPropertyName("allow_safety_retention_google")] - public bool? AllowSafetyRetentionGoogle { get; set; } - /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.
/// Example: [europe] @@ -249,10 +241,6 @@ public sealed partial class Guardrail /// Name of the guardrail
/// Example: Production Guardrail /// - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.
/// Example: [europe] @@ -341,7 +329,6 @@ public Guardrail( global::System.Guid id, bool includeByokInBudgets, string name, - bool? allowSafetyRetentionGoogle, global::System.Collections.Generic.IList? allowedDataRegions, global::System.Collections.Generic.IList? allowedModels, global::System.Collections.Generic.IList? allowedProviders, @@ -363,7 +350,6 @@ public Guardrail( string? updatedAt, string? workspaceId) { - this.AllowSafetyRetentionGoogle = allowSafetyRetentionGoogle; this.AllowedDataRegions = allowedDataRegions; this.AllowedModels = allowedModels; this.AllowedProviders = allowedProviders; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.Inputs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.Inputs.g.cs index 3d27cec7..209aa28d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.Inputs.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.Inputs.g.cs @@ -51,9 +51,9 @@ public string PickInputsVariant1() => InputsVariant1 is { } value /// ///
#if NET6_0_OR_GREATER - public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>? InputsVariant2 { get; init; } + public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>? InputsVariant2 { get; init; } #else - public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>? InputsVariant2 { get; } + public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>? InputsVariant2 { get; } #endif /// @@ -71,7 +71,7 @@ public bool TryPickInputsVariant2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>? value) + out global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>? value) { value = InputsVariant2; return IsInputsVariant2; @@ -80,7 +80,7 @@ public bool TryPickInputsVariant2( /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>> PickInputsVariant2() => InputsVariant2 is { } value + public global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>> PickInputsVariant2() => InputsVariant2 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'InputsVariant2' but the value was {ToString()}."); /// @@ -111,7 +111,7 @@ public Inputs(string? value) /// public Inputs( string? inputsVariant1, - global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>? inputsVariant2 + global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>? inputsVariant2 ) { InputsVariant1 = inputsVariant1; @@ -147,7 +147,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? inputsVariant1 = null, - global::System.Func?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>, TResult>? inputsVariant2 = null, + global::System.Func?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>, TResult>? inputsVariant2 = null, bool validate = true) { if (validate) @@ -173,7 +173,7 @@ public bool Validate() public void Match( global::System.Action? inputsVariant1 = null, - global::System.Action?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>>? inputsVariant2 = null, + global::System.Action?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>>? inputsVariant2 = null, bool validate = true) { if (validate) @@ -196,7 +196,7 @@ public void Match( ///
public void Switch( global::System.Action? inputsVariant1 = null, - global::System.Action?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>>? inputsVariant2 = null, + global::System.Action?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>>? inputsVariant2 = null, bool validate = true) { if (validate) @@ -224,7 +224,7 @@ public override int GetHashCode() InputsVariant1, typeof(string), InputsVariant2, - typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), + typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -242,7 +242,7 @@ public bool Equals(Inputs other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(InputsVariant1, other.InputsVariant1) && - global::System.Collections.Generic.EqualityComparer?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>?>.Default.Equals(InputsVariant2, other.InputsVariant2) + global::System.Collections.Generic.EqualityComparer?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>?>.Default.Equals(InputsVariant2, other.InputsVariant2) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.JevRouterPlugin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.JevRouterPlugin.g.cs index 577974f6..50a0356d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.JevRouterPlugin.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.JevRouterPlugin.g.cs @@ -16,6 +16,14 @@ public sealed partial class JevRouterPlugin [global::System.Text.Json.Serialization.JsonPropertyName("allowed_models")] public global::System.Collections.Generic.IList? AllowedModels { get; set; } + /// + /// Select low, medium, high, or a cost tier configured by the operator. Overrides the live-config tier and replaces the shared routing policy with that tier. Omit to use the live configuration. Model exclusions and the router kill switch still apply.
+ /// Example: medium + ///
+ /// medium + [global::System.Text.Json.Serialization.JsonPropertyName("cost_tier")] + public string? CostTier { get; set; } + /// /// Remove these models from the router. Each entry is a model slug or a wildcard pattern (e.g. "xiaomi/*"). A `~author/family-latest` alias matches every revision of that family. Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. Applied after `models`, so an excluded pattern always wins over an included one; when the lists leave no model the request can use, it fails with 404 rather than routing outside them.
/// Example: [openai/gpt-6-astra, xiaomi/*] @@ -52,6 +60,10 @@ public sealed partial class JevRouterPlugin /// Alias of `models`, matching the auto-router field name. Entries from both fields are combined.
/// Example: [anthropic/*] /// + /// + /// Select low, medium, high, or a cost tier configured by the operator. Overrides the live-config tier and replaces the shared routing policy with that tier. Omit to use the live configuration. Model exclusions and the router kill switch still apply.
+ /// Example: medium + /// /// /// Remove these models from the router. Each entry is a model slug or a wildcard pattern (e.g. "xiaomi/*"). A `~author/family-latest` alias matches every revision of that family. Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. Applied after `models`, so an excluded pattern always wins over an included one; when the lists leave no model the request can use, it fails with 404 rather than routing outside them.
/// Example: [openai/gpt-6-astra, xiaomi/*] @@ -66,11 +78,13 @@ public sealed partial class JevRouterPlugin #endif public JevRouterPlugin( global::System.Collections.Generic.IList? allowedModels, + string? costTier, global::System.Collections.Generic.IList? excludedModels, global::OpenRouter.JevRouterPluginId id, global::System.Collections.Generic.IList? models) { this.AllowedModels = allowedModels; + this.CostTier = costTier; this.ExcludedModels = excludedModels; this.Id = id; this.Models = models; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListGuardrailsResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListGuardrailsResponse.g.cs index f8a5682d..7a1a8d62 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListGuardrailsResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListGuardrailsResponse.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Example: {"data":[{"allow_safety_retention_google":null,"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}],"total_count":1} + /// Example: {"data":[{"allowed_models":null,"allowed_providers":["openai","anthropic","google"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Guardrail for production environment","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":false,"enforce_zdr_openai":true,"enforce_zdr_other":false,"enforce_zdr_xai":false,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":false,"limit_usd":100,"name":"Production Guardrail","reset_interval":"monthly","updated_at":"2025-08-24T15:45:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}],"total_count":1} /// public sealed partial class ListGuardrailsResponse { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultVariant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultVariant2.g.cs index 77ebb46d..d963c630 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultVariant2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultVariant2.g.cs @@ -22,12 +22,10 @@ public sealed partial class MessagesResultVariant2 public global::OpenRouter.OpenRouterMetadata? OpenrouterMetadata { get; set; } /// - /// Example: OpenAI + /// /// - /// OpenAI [global::System.Text.Json.Serialization.JsonPropertyName("provider")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ProviderNameJsonConverter))] - public global::OpenRouter.ProviderName? Provider { get; set; } + public string? Provider { get; set; } /// /// @@ -56,9 +54,7 @@ public sealed partial class MessagesResultVariant2 /// /// Example: {"attempt":1,"endpoints":{"available":[{"model":"openai/gpt-4o","provider":"OpenAI","selected":true}],"total":1},"generation_time":2016,"is_byok":false,"region":"iad","requested":"openai/gpt-4o","strategy":"direct","summary":"available=1, selected=OpenAI"} /// - /// - /// Example: OpenAI - /// + /// /// /// /// Example: {"cache_creation":null,"cache_creation_input_tokens":null,"cache_read_input_tokens":null,"inference_geo":null,"input_tokens":100,"output_tokens":50,"output_tokens_details":null,"server_tool_use":null,"service_tier":"standard"} @@ -69,7 +65,7 @@ public sealed partial class MessagesResultVariant2 public MessagesResultVariant2( global::OpenRouter.MessagesResultVariant2ContextManagement? contextManagement, global::OpenRouter.OpenRouterMetadata? openrouterMetadata, - global::OpenRouter.ProviderName? provider, + string? provider, global::System.Collections.Generic.IList? safeguardResults, global::OpenRouter.AllOf? usage) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputApplyPatchServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputApplyPatchServerToolItem.g.cs index a8b76eed..f278d02c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputApplyPatchServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputApplyPatchServerToolItem.g.cs @@ -15,6 +15,14 @@ public sealed partial class OutputApplyPatchServerToolItem [global::System.Text.Json.Serialization.JsonPropertyName("call_id")] public string? CallId { get; set; } + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -35,9 +43,9 @@ public sealed partial class OutputApplyPatchServerToolItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// @@ -59,6 +67,10 @@ public sealed partial class OutputApplyPatchServerToolItem /// Example: completed /// /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// /// The patch operation requested by an `apply_patch_call`. `create_file` and `update_file` carry a V4A diff; `delete_file` omits it.
@@ -69,13 +81,15 @@ public sealed partial class OutputApplyPatchServerToolItem [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputApplyPatchServerToolItem( - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, string? callId, + string? error, string? id, global::OpenRouter.ApplyPatchCallOperation? operation, global::OpenRouter.OutputApplyPatchServerToolItemType type) { this.CallId = callId; + this.Error = error; this.Id = id; this.Operation = operation; this.Status = status; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs index 9c0500fd..f486b60e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs @@ -16,6 +16,14 @@ public sealed partial class OutputDatetimeItem [global::System.Text.Json.Serialization.JsonRequired] public required string Datetime { get; set; } + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -27,9 +35,9 @@ public sealed partial class OutputDatetimeItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// IANA timezone name @@ -63,6 +71,10 @@ public sealed partial class OutputDatetimeItem /// /// IANA timezone name /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// #if NET7_0_OR_GREATER @@ -70,12 +82,14 @@ public sealed partial class OutputDatetimeItem #endif public OutputDatetimeItem( string datetime, - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, string timezone, + string? error, string? id, global::OpenRouter.OutputDatetimeItemType type) { this.Datetime = datetime ?? throw new global::System.ArgumentNullException(nameof(datetime)); + this.Error = error; this.Id = id; this.Status = status; this.Timezone = timezone ?? throw new global::System.ArgumentNullException(nameof(timezone)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationServerToolItem.g.cs index 495ab395..e2953ad3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationServerToolItem.g.cs @@ -9,6 +9,14 @@ namespace OpenRouter ///
public sealed partial class OutputImageGenerationServerToolItem { + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -50,9 +58,9 @@ public sealed partial class OutputImageGenerationServerToolItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// @@ -73,6 +81,10 @@ public sealed partial class OutputImageGenerationServerToolItem /// /// Example: completed /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// /// @@ -88,7 +100,8 @@ public sealed partial class OutputImageGenerationServerToolItem [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputImageGenerationServerToolItem( - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, + string? error, string? id, string? imageB64, string? imageUrl, @@ -97,6 +110,7 @@ public OutputImageGenerationServerToolItem( string? revisedPrompt, global::OpenRouter.OutputImageGenerationServerToolItemType type) { + this.Error = error; this.Id = id; this.ImageB64 = imageB64; this.ImageUrl = imageUrl; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItems.g.cs index 494284cd..68a2787c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItems.g.cs @@ -1187,6 +1187,44 @@ public bool TryPickCustomToolCall( public global::OpenRouter.OutputCustomToolCallItem PickCustomToolCall() => CustomToolCall is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomToolCall' but the value was {ToString()}."); + + /// + /// A call the model made to a `tool_search` tool declared with `"execution": "client"`. The client runs the search and replays this item with a `tool_search_output` item.
+ /// Example: {"arguments":{"query":"weather"},"call_id":"call-abc123","execution":"client","id":"tsc-abc123","status":"completed","type":"tool_search_call"} + ///
+#if NET6_0_OR_GREATER + public global::OpenRouter.OutputToolSearchCallItem? ToolSearchCall { get; init; } +#else + public global::OpenRouter.OutputToolSearchCallItem? ToolSearchCall { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ToolSearchCall))] +#endif + public bool IsToolSearchCall => ToolSearchCall != null; + + /// + /// + /// + public bool TryPickToolSearchCall( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.OutputToolSearchCallItem? value) + { + value = ToolSearchCall; + return IsToolSearchCall; + } + + /// + /// + /// + public global::OpenRouter.OutputToolSearchCallItem PickToolSearchCall() => ToolSearchCall is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ToolSearchCall' but the value was {ToString()}."); /// /// /// @@ -1900,6 +1938,29 @@ public OutputItems(global::OpenRouter.OutputCustomToolCallItem? value) ///
public static OutputItems FromCustomToolCall(global::OpenRouter.OutputCustomToolCallItem? value) => new OutputItems(value); + /// + /// + /// + public static implicit operator OutputItems(global::OpenRouter.OutputToolSearchCallItem value) => new OutputItems((global::OpenRouter.OutputToolSearchCallItem?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.OutputToolSearchCallItem?(OutputItems @this) => @this.ToolSearchCall; + + /// + /// + /// + public OutputItems(global::OpenRouter.OutputToolSearchCallItem? value) + { + ToolSearchCall = value; + } + + /// + /// + /// + public static OutputItems FromToolSearchCall(global::OpenRouter.OutputToolSearchCallItem? value) => new OutputItems(value); + /// /// /// @@ -1935,7 +1996,8 @@ public OutputItems( global::OpenRouter.OutputAdvisorServerToolItem? openrouterAdvisor, global::OpenRouter.OutputSubagentServerToolItem? openrouterSubagent, global::OpenRouter.OutputFilesServerToolItem? openrouterFiles, - global::OpenRouter.OutputCustomToolCallItem? customToolCall + global::OpenRouter.OutputCustomToolCallItem? customToolCall, + global::OpenRouter.OutputToolSearchCallItem? toolSearchCall ) { Type = type; @@ -1971,12 +2033,14 @@ public OutputItems( OpenrouterSubagent = openrouterSubagent; OpenrouterFiles = openrouterFiles; CustomToolCall = customToolCall; + ToolSearchCall = toolSearchCall; } /// /// /// public object? Object => + ToolSearchCall as object ?? CustomToolCall as object ?? OpenrouterFiles as object ?? OpenrouterSubagent as object ?? @@ -2044,7 +2108,8 @@ Message as object OpenrouterAdvisor?.ToString() ?? OpenrouterSubagent?.ToString() ?? OpenrouterFiles?.ToString() ?? - CustomToolCall?.ToString() + CustomToolCall?.ToString() ?? + ToolSearchCall?.ToString() ; /// @@ -2052,7 +2117,7 @@ Message as object /// public bool Validate() { - return IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && IsOpenrouterFiles && !IsCustomToolCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && IsCustomToolCall; + return IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && IsOpenrouterFiles && !IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && IsCustomToolCall && !IsToolSearchCall || !IsMessage && !IsReasoning && !IsFunctionCall && !IsWebSearchCall && !IsFileSearchCall && !IsImageGenerationCall && !IsCodeInterpreterCall && !IsComputerCall && !IsOpenrouterDatetime && !IsOpenrouterWebSearch && !IsOpenrouterCodeInterpreter && !IsOpenrouterFileSearch && !IsOpenrouterImageGeneration && !IsOpenrouterBrowserUse && !IsOpenrouterBash && !IsOpenrouterTextEditor && !IsOpenrouterApplyPatch && !IsApplyPatchCall && !IsShellCall && !IsShellCallOutput && !IsOpenrouterShell && !IsOpenrouterWebFetch && !IsOpenrouterToolSearch && !IsOpenrouterMemory && !IsOpenrouterMcp && !IsOpenrouterExperimentalSearchModels && !IsOpenrouterFusion && !IsOpenrouterAdvisor && !IsOpenrouterSubagent && !IsOpenrouterFiles && !IsCustomToolCall && IsToolSearchCall; } /// @@ -2090,6 +2155,7 @@ public bool Validate() global::System.Func? openrouterSubagent = null, global::System.Func? openrouterFiles = null, global::System.Func? customToolCall = null, + global::System.Func? toolSearchCall = null, bool validate = true) { if (validate) @@ -2221,6 +2287,10 @@ public bool Validate() { return customToolCall(__value30); } + else if (ToolSearchCall is { } __value31 && toolSearchCall != null) + { + return toolSearchCall(__value31); + } return default(TResult); } @@ -2290,6 +2360,8 @@ public void Match( global::System.Action? openrouterFiles = null, global::System.Action? customToolCall = null, + + global::System.Action? toolSearchCall = null, bool validate = true) { if (validate) @@ -2421,6 +2493,10 @@ public void Match( { customToolCall?.Invoke(__value30); } + else if (ToolSearchCall is { } __value31) + { + toolSearchCall?.Invoke(__value31); + } } /// @@ -2458,6 +2534,7 @@ public void Switch( global::System.Action? openrouterSubagent = null, global::System.Action? openrouterFiles = null, global::System.Action? customToolCall = null, + global::System.Action? toolSearchCall = null, bool validate = true) { if (validate) @@ -2589,6 +2666,10 @@ public void Switch( { customToolCall?.Invoke(__value30); } + else if (ToolSearchCall is { } __value31) + { + toolSearchCall?.Invoke(__value31); + } } /// @@ -2660,6 +2741,8 @@ public override int GetHashCode() typeof(global::OpenRouter.OutputFilesServerToolItem), CustomToolCall, typeof(global::OpenRouter.OutputCustomToolCallItem), + ToolSearchCall, + typeof(global::OpenRouter.OutputToolSearchCallItem), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -2706,7 +2789,8 @@ public bool Equals(OutputItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterAdvisor, other.OpenrouterAdvisor) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterSubagent, other.OpenrouterSubagent) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterFiles, other.OpenrouterFiles) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomToolCall, other.CustomToolCall) + global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomToolCall, other.CustomToolCall) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ToolSearchCall, other.ToolSearchCall) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsDiscriminatorType.g.cs index 087536f4..6789447a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsDiscriminatorType.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsDiscriminatorType.g.cs @@ -131,6 +131,10 @@ public enum OutputItemsDiscriminatorType /// /// /// + ToolSearchCall, + /// + /// + /// WebSearchCall, } @@ -176,6 +180,7 @@ public static string ToValueString(this OutputItemsDiscriminatorType value) OutputItemsDiscriminatorType.Reasoning => "reasoning", OutputItemsDiscriminatorType.ShellCall => "shell_call", OutputItemsDiscriminatorType.ShellCallOutput => "shell_call_output", + OutputItemsDiscriminatorType.ToolSearchCall => "tool_search_call", OutputItemsDiscriminatorType.WebSearchCall => "web_search_call", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -217,6 +222,7 @@ public static string ToValueString(this OutputItemsDiscriminatorType value) "reasoning" => OutputItemsDiscriminatorType.Reasoning, "shell_call" => OutputItemsDiscriminatorType.ShellCall, "shell_call_output" => OutputItemsDiscriminatorType.ShellCallOutput, + "tool_search_call" => OutputItemsDiscriminatorType.ToolSearchCall, "web_search_call" => OutputItemsDiscriminatorType.WebSearchCall, _ => null, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputSearchModelsServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputSearchModelsServerToolItem.g.cs index 3bcfce40..aaea4406 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputSearchModelsServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputSearchModelsServerToolItem.g.cs @@ -15,6 +15,14 @@ public sealed partial class OutputSearchModelsServerToolItem [global::System.Text.Json.Serialization.JsonPropertyName("arguments")] public string? Arguments { get; set; } + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -32,9 +40,9 @@ public sealed partial class OutputSearchModelsServerToolItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// @@ -58,6 +66,10 @@ public sealed partial class OutputSearchModelsServerToolItem /// /// The JSON arguments submitted to the search tool (e.g. {"query":"Claude"}) /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// /// @@ -65,13 +77,15 @@ public sealed partial class OutputSearchModelsServerToolItem [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputSearchModelsServerToolItem( - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, string? arguments, + string? error, string? id, string? query, global::OpenRouter.OutputSearchModelsServerToolItemType type) { this.Arguments = arguments; + this.Error = error; this.Id = id; this.Query = query; this.Status = status; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.Json.g.cs new file mode 100644 index 00000000..3b3e80bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputToolSearchCallItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchCallItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputToolSearchCallItem), + jsonSerializerContext) as global::OpenRouter.OutputToolSearchCallItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchCallItem? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputToolSearchCallItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputToolSearchCallItem), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputToolSearchCallItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.g.cs new file mode 100644 index 00000000..25222c25 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItem.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// A call the model made to a `tool_search` tool declared with `"execution": "client"`. The client runs the search and replays this item with a `tool_search_output` item.
+ /// Example: {"arguments":{"query":"weather"},"call_id":"call-abc123","execution":"client","id":"tsc-abc123","status":"completed","type":"tool_search_call"} + ///
+ public sealed partial class OutputToolSearchCallItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("arguments")] + public object? Arguments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("call_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CallId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("execution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputToolSearchCallItemExecutionJsonConverter))] + public global::OpenRouter.OutputToolSearchCallItemExecution Execution { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// Example: completed + /// + /// completed + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ToolCallStatus Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputToolSearchCallItemTypeJsonConverter))] + public global::OpenRouter.OutputToolSearchCallItemType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: completed + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OutputToolSearchCallItem( + string callId, + global::OpenRouter.ToolCallStatus status, + object? arguments, + global::OpenRouter.OutputToolSearchCallItemExecution execution, + string? id, + global::OpenRouter.OutputToolSearchCallItemType type) + { + this.Arguments = arguments; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Execution = execution; + this.Id = id; + this.Status = status; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public OutputToolSearchCallItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.Json.g.cs new file mode 100644 index 00000000..e3721e96 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputToolSearchCallItemArguments + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchCallItemArguments? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputToolSearchCallItemArguments), + jsonSerializerContext) as global::OpenRouter.OutputToolSearchCallItemArguments; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchCallItemArguments? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputToolSearchCallItemArguments? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputToolSearchCallItemArguments), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputToolSearchCallItemArguments; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.g.cs new file mode 100644 index 00000000..b06f2c96 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemArguments.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputToolSearchCallItemArguments + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemExecution.g.cs new file mode 100644 index 00000000..e1abae80 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemExecution.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum OutputToolSearchCallItemExecution + { + /// + /// + /// + Client, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputToolSearchCallItemExecutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputToolSearchCallItemExecution value) + { + return value switch + { + OutputToolSearchCallItemExecution.Client => "client", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OutputToolSearchCallItemExecution? ToEnum(string value) + { + return value switch + { + "client" => OutputToolSearchCallItemExecution.Client, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemType.g.cs new file mode 100644 index 00000000..deaca9b0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchCallItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum OutputToolSearchCallItemType + { + /// + /// + /// + ToolSearchCall, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputToolSearchCallItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputToolSearchCallItemType value) + { + return value switch + { + OutputToolSearchCallItemType.ToolSearchCall => "tool_search_call", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OutputToolSearchCallItemType? ToEnum(string value) + { + return value switch + { + "tool_search_call" => OutputToolSearchCallItemType.ToolSearchCall, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs index 2960637c..985e10f7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs @@ -9,6 +9,14 @@ namespace OpenRouter ///
public sealed partial class OutputToolSearchServerToolItem { + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -26,9 +34,9 @@ public sealed partial class OutputToolSearchServerToolItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// @@ -49,6 +57,10 @@ public sealed partial class OutputToolSearchServerToolItem /// /// Example: completed /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// /// @@ -56,11 +68,13 @@ public sealed partial class OutputToolSearchServerToolItem [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputToolSearchServerToolItem( - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, + string? error, string? id, string? query, global::OpenRouter.OutputToolSearchServerToolItemType type) { + this.Error = error; this.Id = id; this.Query = query; this.Status = status; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchServerToolItem.g.cs index 73079fba..0aa90876 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchServerToolItem.g.cs @@ -15,6 +15,14 @@ public sealed partial class OutputWebSearchServerToolItem [global::System.Text.Json.Serialization.JsonPropertyName("action")] public global::OpenRouter.OutputWebSearchServerToolItemAction? Action { get; set; } + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + ///
+ /// Tool execution failed + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + /// /// /// @@ -26,9 +34,9 @@ public sealed partial class OutputWebSearchServerToolItem ///
/// completed [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FailableToolCallStatusJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ToolCallStatus Status { get; set; } + public required global::OpenRouter.FailableToolCallStatus Status { get; set; } /// /// @@ -52,18 +60,24 @@ public sealed partial class OutputWebSearchServerToolItem /// /// The search action performed, matching OpenAI web_search_call.action shape. Includes the query the model issued and optional source URLs returned by the search provider. /// + /// + /// The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.
+ /// Example: Tool execution failed + /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputWebSearchServerToolItem( - global::OpenRouter.ToolCallStatus status, + global::OpenRouter.FailableToolCallStatus status, global::OpenRouter.OutputWebSearchServerToolItemAction? action, + string? error, string? id, global::OpenRouter.OutputWebSearchServerToolItemType type) { this.Action = action; + this.Error = error; this.Id = id; this.Status = status; this.Type = type; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs index ba6db1a7..bb40771e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs @@ -163,7 +163,7 @@ public sealed partial class PublicEndpoint public required global::OpenRouter.AllOf ThroughputLast30m { get; set; } /// - /// Uptime percentage over the last 1 day, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. + /// Uptime percentage over the last day: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic. /// [global::System.Text.Json.Serialization.JsonPropertyName("uptime_last_1d")] public double? UptimeLast1d { get; set; } @@ -175,7 +175,7 @@ public sealed partial class PublicEndpoint public double? UptimeLast30m { get; set; } /// - /// Uptime percentage over the last 5 minutes, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. + /// Uptime percentage over the last 5 minutes: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic. /// [global::System.Text.Json.Serialization.JsonPropertyName("uptime_last_5m")] public double? UptimeLast5m { get; set; } @@ -240,11 +240,11 @@ public sealed partial class PublicEndpoint /// Default Value: false /// /// - /// Uptime percentage over the last 1 day, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. + /// Uptime percentage over the last day: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic. /// /// /// - /// Uptime percentage over the last 5 minutes, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. + /// Uptime percentage over the last 5 minutes: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.Json.g.cs new file mode 100644 index 00000000..26788620 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SignInternDaemonRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.SignInternDaemonRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SignInternDaemonRequest), + jsonSerializerContext) as global::OpenRouter.SignInternDaemonRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.SignInternDaemonRequest? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.SignInternDaemonRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.SignInternDaemonRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SignInternDaemonRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.g.cs new file mode 100644 index 00000000..c2c94d28 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonRequest.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SignInternDaemonRequest + { + /// + /// Lower-case hex SHA-256 of the exact bytes the CLI will send as the daemon request body.
+ /// Example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + ///
+ /// e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + [global::System.Text.Json.Serialization.JsonPropertyName("bodySha256")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BodySha256 { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Lower-case hex SHA-256 of the exact bytes the CLI will send as the daemon request body.
+ /// Example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SignInternDaemonRequest( + string bodySha256) + { + this.BodySha256 = bodySha256 ?? throw new global::System.ArgumentNullException(nameof(bodySha256)); + } + + /// + /// Initializes a new instance of the class. + /// + public SignInternDaemonRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.Json.g.cs new file mode 100644 index 00000000..13addb7f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SignInternDaemonResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.SignInternDaemonResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SignInternDaemonResponse), + jsonSerializerContext) as global::OpenRouter.SignInternDaemonResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.SignInternDaemonResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.SignInternDaemonResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.SignInternDaemonResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SignInternDaemonResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.g.cs new file mode 100644 index 00000000..ce00eec8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SignInternDaemonResponse.g.cs @@ -0,0 +1,72 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Headers the CLI copies onto the daemon request so the sidecar can verify who is asking.
+ /// Example: {"x-ori-invoke-signature":"MEUCIQ...","x-ori-invoke-timestamp":"1789000000","x-ori-invoke-user":"user_2abc"} + ///
+ public sealed partial class SignInternDaemonResponse + { + /// + /// Base64 Ed25519 signature over the intern id, timestamp, user and body digest. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("x-ori-invoke-signature")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string XOriInvokeSignature { get; set; } + + /// + /// Unix seconds at signing; the daemon refuses proofs older than its window. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("x-ori-invoke-timestamp")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string XOriInvokeTimestamp { get; set; } + + /// + /// The verified OAuth subject the proof names. Never taken from the request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("x-ori-invoke-user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string XOriInvokeUser { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Base64 Ed25519 signature over the intern id, timestamp, user and body digest. + /// + /// + /// Unix seconds at signing; the daemon refuses proofs older than its window. + /// + /// + /// The verified OAuth subject the proof names. Never taken from the request. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SignInternDaemonResponse( + string xOriInvokeSignature, + string xOriInvokeTimestamp, + string xOriInvokeUser) + { + this.XOriInvokeSignature = xOriInvokeSignature ?? throw new global::System.ArgumentNullException(nameof(xOriInvokeSignature)); + this.XOriInvokeTimestamp = xOriInvokeTimestamp ?? throw new global::System.ArgumentNullException(nameof(xOriInvokeTimestamp)); + this.XOriInvokeUser = xOriInvokeUser ?? throw new global::System.ArgumentNullException(nameof(xOriInvokeUser)); + } + + /// + /// Initializes a new instance of the class. + /// + public SignInternDaemonResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SwitchyardRouterPlugin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SwitchyardRouterPlugin.g.cs index c6440332..4ce5f7e2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.SwitchyardRouterPlugin.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SwitchyardRouterPlugin.g.cs @@ -23,7 +23,7 @@ public sealed partial class SwitchyardRouterPlugin public global::OpenRouter.SwitchyardRouterPluginId Id { get; set; } /// - /// The model that runs the judge call for the judge-backed algorithms ("capability", "stage", and "composite"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-2.5-flash-lite, and reports the reason in the routing metadata. The judge call is billed to you like any other request.
+ /// The model that runs the judge call for the judge-backed algorithms ("capability", "stage", and "composite"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-3.5-flash-lite, or openai/gpt-4o-mini when the default does not fit either, and reports the reason in the routing metadata. The judge call is billed to you like any other request.
/// Example: openai/gpt-5.4-nano ///
/// openai/gpt-5.4-nano @@ -44,7 +44,7 @@ public sealed partial class SwitchyardRouterPlugin /// /// /// - /// The model that runs the judge call for the judge-backed algorithms ("capability", "stage", and "composite"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-2.5-flash-lite, and reports the reason in the routing metadata. The judge call is billed to you like any other request.
+ /// The model that runs the judge call for the judge-backed algorithms ("capability", "stage", and "composite"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-3.5-flash-lite, or openai/gpt-4o-mini when the default does not fit either, and reports the reason in the routing metadata. The judge call is billed to you like any other request.
/// Example: openai/gpt-5.4-nano /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.Json.g.cs new file mode 100644 index 00000000..9d95d4ee --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchCallItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchCallItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchCallItem), + jsonSerializerContext) as global::OpenRouter.ToolSearchCallItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchCallItem? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchCallItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchCallItem), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchCallItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.g.cs new file mode 100644 index 00000000..3a1a9d64 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItem.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// A tool search call the client executed
+ /// Example: {"arguments":{"query":"weather"},"call_id":"call_search_1","execution":"client","status":"completed","type":"tool_search_call"} + ///
+ public sealed partial class ToolSearchCallItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("arguments")] + public object? Arguments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("call_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CallId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("execution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchCallItemExecutionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ToolSearchCallItemExecution Execution { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchCallItemStatusJsonConverter))] + public global::OpenRouter.ToolSearchCallItemStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchCallItemTypeJsonConverter))] + public global::OpenRouter.ToolSearchCallItemType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ToolSearchCallItem( + string callId, + global::OpenRouter.ToolSearchCallItemExecution execution, + object? arguments, + string? id, + global::OpenRouter.ToolSearchCallItemStatus? status, + global::OpenRouter.ToolSearchCallItemType type) + { + this.Arguments = arguments; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Execution = execution; + this.Id = id; + this.Status = status; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ToolSearchCallItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.Json.g.cs new file mode 100644 index 00000000..1f2bd5eb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchCallItemArguments + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchCallItemArguments? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchCallItemArguments), + jsonSerializerContext) as global::OpenRouter.ToolSearchCallItemArguments; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchCallItemArguments? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchCallItemArguments? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchCallItemArguments), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchCallItemArguments; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.g.cs new file mode 100644 index 00000000..8f078756 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemArguments.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchCallItemArguments + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemExecution.g.cs new file mode 100644 index 00000000..c69531ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemExecution.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ToolSearchCallItemExecution : global::System.IEquatable + { + /// + /// + /// + public ToolSearchCallItemExecution(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ToolSearchCallItemExecution Client { get; } = new("client"); + + /// + /// + /// + public static ToolSearchCallItemExecution Server { get; } = new("server"); + /// + /// + /// + public static ToolSearchCallItemExecution FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "client" => Client, + "server" => Server, + _ => new ToolSearchCallItemExecution(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "client" => true, + "server" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ToolSearchCallItemExecution other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolSearchCallItemExecution other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ToolSearchCallItemExecution left, ToolSearchCallItemExecution right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ToolSearchCallItemExecution left, ToolSearchCallItemExecution right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchCallItemExecutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchCallItemExecution value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ToolSearchCallItemExecution? ToEnum(string value) + { + return ToolSearchCallItemExecution.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemStatus.g.cs new file mode 100644 index 00000000..72d4e97b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemStatus.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ToolSearchCallItemStatus : global::System.IEquatable + { + /// + /// + /// + public ToolSearchCallItemStatus(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ToolSearchCallItemStatus Completed { get; } = new("completed"); + + /// + /// + /// + public static ToolSearchCallItemStatus InProgress { get; } = new("in_progress"); + + /// + /// + /// + public static ToolSearchCallItemStatus Incomplete { get; } = new("incomplete"); + /// + /// + /// + public static ToolSearchCallItemStatus FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "completed" => Completed, + "in_progress" => InProgress, + "incomplete" => Incomplete, + _ => new ToolSearchCallItemStatus(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "completed" => true, + "in_progress" => true, + "incomplete" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ToolSearchCallItemStatus other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolSearchCallItemStatus other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ToolSearchCallItemStatus left, ToolSearchCallItemStatus right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ToolSearchCallItemStatus left, ToolSearchCallItemStatus right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchCallItemStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchCallItemStatus value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ToolSearchCallItemStatus? ToEnum(string value) + { + return ToolSearchCallItemStatus.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemType.g.cs new file mode 100644 index 00000000..cfff84a8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchCallItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ToolSearchCallItemType + { + /// + /// + /// + ToolSearchCall, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchCallItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchCallItemType value) + { + return value switch + { + ToolSearchCallItemType.ToolSearchCall => "tool_search_call", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ToolSearchCallItemType? ToEnum(string value) + { + return value switch + { + "tool_search_call" => ToolSearchCallItemType.ToolSearchCall, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.Json.g.cs new file mode 100644 index 00000000..2e49af6e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItem), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItem? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchOutputItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchOutputItem), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.g.cs new file mode 100644 index 00000000..a38a2e86 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItem.g.cs @@ -0,0 +1,96 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// The tools a client-executed tool search loaded
+ /// Example: {"call_id":"call_search_1","execution":"client","status":"completed","tools":[{"name":"get_weather","parameters":{"properties":{"location":{"type":"string"}},"type":"object"},"type":"function"}],"type":"tool_search_output"} + ///
+ public sealed partial class ToolSearchOutputItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("call_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CallId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("execution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchOutputItemExecutionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ToolSearchOutputItemExecution Execution { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchOutputItemStatusJsonConverter))] + public global::OpenRouter.ToolSearchOutputItemStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tools")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>> Tools { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ToolSearchOutputItemTypeJsonConverter))] + public global::OpenRouter.ToolSearchOutputItemType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ToolSearchOutputItem( + string callId, + global::OpenRouter.ToolSearchOutputItemExecution execution, + global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>> tools, + string? id, + global::OpenRouter.ToolSearchOutputItemStatus? status, + global::OpenRouter.ToolSearchOutputItemType type) + { + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Execution = execution; + this.Id = id; + this.Status = status; + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ToolSearchOutputItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemExecution.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemExecution.g.cs new file mode 100644 index 00000000..281c0349 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemExecution.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ToolSearchOutputItemExecution : global::System.IEquatable + { + /// + /// + /// + public ToolSearchOutputItemExecution(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ToolSearchOutputItemExecution Client { get; } = new("client"); + + /// + /// + /// + public static ToolSearchOutputItemExecution Server { get; } = new("server"); + /// + /// + /// + public static ToolSearchOutputItemExecution FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "client" => Client, + "server" => Server, + _ => new ToolSearchOutputItemExecution(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "client" => true, + "server" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ToolSearchOutputItemExecution other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolSearchOutputItemExecution other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ToolSearchOutputItemExecution left, ToolSearchOutputItemExecution right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ToolSearchOutputItemExecution left, ToolSearchOutputItemExecution right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchOutputItemExecutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchOutputItemExecution value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ToolSearchOutputItemExecution? ToEnum(string value) + { + return ToolSearchOutputItemExecution.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemStatus.g.cs new file mode 100644 index 00000000..c6c5d7ce --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemStatus.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ToolSearchOutputItemStatus : global::System.IEquatable + { + /// + /// + /// + public ToolSearchOutputItemStatus(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ToolSearchOutputItemStatus Completed { get; } = new("completed"); + + /// + /// + /// + public static ToolSearchOutputItemStatus InProgress { get; } = new("in_progress"); + + /// + /// + /// + public static ToolSearchOutputItemStatus Incomplete { get; } = new("incomplete"); + /// + /// + /// + public static ToolSearchOutputItemStatus FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "completed" => Completed, + "in_progress" => InProgress, + "incomplete" => Incomplete, + _ => new ToolSearchOutputItemStatus(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "completed" => true, + "in_progress" => true, + "incomplete" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ToolSearchOutputItemStatus other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolSearchOutputItemStatus other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ToolSearchOutputItemStatus left, ToolSearchOutputItemStatus right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ToolSearchOutputItemStatus left, ToolSearchOutputItemStatus right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchOutputItemStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchOutputItemStatus value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ToolSearchOutputItemStatus? ToEnum(string value) + { + return ToolSearchOutputItemStatus.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.Json.g.cs new file mode 100644 index 00000000..60ae1ce2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItemTool + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItemTool), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItemTool; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchOutputItemTool? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchOutputItemTool), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItemTool; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs new file mode 100644 index 00000000..6027d825 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchOutputItemTool + { + /// + /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
+ /// Example: true + ///
+ /// true + [global::System.Text.Json.Serialization.JsonPropertyName("async")] + public bool? Async { get; set; } + + /// + /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Example: true + ///
+ /// true + [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] + public bool? DeferLoading { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
+ /// Example: true + /// + /// + /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Example: true + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ToolSearchOutputItemTool( + bool? async, + bool? deferLoading) + { + this.Async = async; + this.DeferLoading = deferLoading; + } + + /// + /// Initializes a new instance of the class. + /// + public ToolSearchOutputItemTool() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.Json.g.cs new file mode 100644 index 00000000..2a3719bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItemTool2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItemTool2), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItemTool2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchOutputItemTool2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchOutputItemTool2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItemTool2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.g.cs new file mode 100644 index 00000000..1e1acf27 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchOutputItemTool2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ToolSearchOutputItemTool2( + string type) + { + this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); + } + + /// + /// Initializes a new instance of the class. + /// + public ToolSearchOutputItemTool2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.Json.g.cs new file mode 100644 index 00000000..0d027f09 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItemTool3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItemTool3), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItemTool3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemTool3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ToolSearchOutputItemTool3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ToolSearchOutputItemTool3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItemTool3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.g.cs new file mode 100644 index 00000000..2c2b6ea3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchOutputItemTool3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemType.g.cs new file mode 100644 index 00000000..fc8cec3a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ToolSearchOutputItemType + { + /// + /// + /// + ToolSearchOutput, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchOutputItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchOutputItemType value) + { + return value switch + { + ToolSearchOutputItemType.ToolSearchOutput => "tool_search_output", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ToolSearchOutputItemType? ToEnum(string value) + { + return value switch + { + "tool_search_output" => ToolSearchOutputItemType.ToolSearchOutput, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs index 25f3f32d..ebf8b580 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs @@ -10,14 +10,6 @@ namespace OpenRouter ///
public sealed partial class UpdateGuardrailRequest { - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - ///
- /// true - [global::System.Text.Json.Serialization.JsonPropertyName("allow_safety_retention_google")] - public bool? AllowSafetyRetentionGoogle { get; set; } - /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -197,10 +189,6 @@ public sealed partial class UpdateGuardrailRequest /// /// Initializes a new instance of the class. /// - /// - /// Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.
- /// Example: true - /// /// /// Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.
/// Example: [europe] @@ -285,7 +273,6 @@ public sealed partial class UpdateGuardrailRequest [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public UpdateGuardrailRequest( - bool? allowSafetyRetentionGoogle, global::System.Collections.Generic.IList? allowedDataRegions, global::System.Collections.Generic.IList? allowedModels, global::System.Collections.Generic.IList? allowedProviders, @@ -307,7 +294,6 @@ public UpdateGuardrailRequest( string? name, global::OpenRouter.GuardrailInterval? resetInterval) { - this.AllowSafetyRetentionGoogle = allowSafetyRetentionGoogle; this.AllowedDataRegions = allowedDataRegions; this.AllowedModels = allowedModels; this.AllowedProviders = allowedProviders; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailResponse.g.cs index 4b8556b9..b7f54a34 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailResponse.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Example: {"data":{"allow_safety_retention_google":null,"allowed_models":null,"allowed_providers":["openai"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Updated description","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":true,"enforce_zdr_openai":true,"enforce_zdr_other":true,"enforce_zdr_xai":true,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":true,"limit_usd":75,"name":"Updated Guardrail Name","reset_interval":"weekly","updated_at":"2025-08-24T16:00:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} + /// Example: {"data":{"allowed_models":null,"allowed_providers":["openai"],"content_filter_builtins":[{"action":"redact","label":"[EMAIL]","slug":"email"}],"content_filters":null,"created_at":"2025-08-24T10:30:00Z","description":"Updated description","enable_free_model_publication":false,"enable_free_model_training":true,"enable_paid_model_training":true,"enforce_zdr":null,"enforce_zdr_anthropic":true,"enforce_zdr_google":true,"enforce_zdr_openai":true,"enforce_zdr_other":true,"enforce_zdr_xai":true,"id":"550e8400-e29b-41d4-a716-446655440000","ignored_models":null,"ignored_providers":null,"include_byok_in_budgets":true,"limit_usd":75,"name":"Updated Guardrail Name","reset_interval":"weekly","updated_at":"2025-08-24T16:00:00Z","workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}} /// public sealed partial class UpdateGuardrailResponse { diff --git a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json index 06e6117e..a1056eeb 100644 --- a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json +++ b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json @@ -567,7 +567,7 @@ "Slug": "createguardrail", "Description": "Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; \u0060workspace_id\u0060 places the guardrail in a workspace but does not apply it to that workspace\u0027s traffic. To restrict all traffic in a workspace, update the workspace\u0027s default guardrail instead. Set \u0060allowed_data_regions\u0060 to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", - "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.DecisionsRequest\u003E(\n @\u0022{\n \u0022\u0022allow_safety_retention_google\u0022\u0022: null,\n \u0022\u0022allowed_data_regions\u0022\u0022: [\n \u0022\u0022europe\u0022\u0022\n ],\n \u0022\u0022allowed_models\u0022\u0022: null,\n \u0022\u0022allowed_providers\u0022\u0022: [\n \u0022\u0022openai\u0022\u0022,\n \u0022\u0022anthropic\u0022\u0022,\n \u0022\u0022deepseek\u0022\u0022\n ],\n \u0022\u0022description\u0022\u0022: \u0022\u0022A guardrail for limiting API usage\u0022\u0022,\n \u0022\u0022enforce_zdr_anthropic\u0022\u0022: true,\n \u0022\u0022enforce_zdr_google\u0022\u0022: false,\n \u0022\u0022enforce_zdr_openai\u0022\u0022: true,\n \u0022\u0022enforce_zdr_other\u0022\u0022: false,\n \u0022\u0022enforce_zdr_xai\u0022\u0022: false,\n \u0022\u0022ignored_models\u0022\u0022: null,\n \u0022\u0022ignored_providers\u0022\u0022: null,\n \u0022\u0022limit_usd\u0022\u0022: 50,\n \u0022\u0022name\u0022\u0022: \u0022\u0022My New Guardrail\u0022\u0022,\n \u0022\u0022reset_interval\u0022\u0022: \u0022\u0022monthly\u0022\u0022\n}\u0022)!;\n\nvar response = await client.AlphaDecisions.CreateAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022allow_safety_retention_google\u0022: null,\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_providers\u0022: [\n// \u0022openai\u0022,\n// \u0022anthropic\u0022,\n// \u0022google\u0022\n// ],\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022description\u0022: \u0022A guardrail for limiting API usage\u0022,\n// \u0022enforce_zdr\u0022: null,\n// \u0022enforce_zdr_anthropic\u0022: true,\n// \u0022enforce_zdr_google\u0022: false,\n// \u0022enforce_zdr_openai\u0022: true,\n// \u0022enforce_zdr_other\u0022: false,\n// \u0022enforce_zdr_xai\u0022: false,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022ignored_models\u0022: null,\n// \u0022ignored_providers\u0022: null,\n// \u0022include_byok_in_budgets\u0022: false,\n// \u0022limit_usd\u0022: 50,\n// \u0022name\u0022: \u0022My New Guardrail\u0022,\n// \u0022reset_interval\u0022: \u0022monthly\u0022,\n// \u0022updated_at\u0022: null,\n// \u0022workspace_id\u0022: \u00220df9e665-d932-5740-b2c7-b52af166bc11\u0022\n// }\n// }", + "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.DecisionsRequest\u003E(\n @\u0022{\n \u0022\u0022allowed_data_regions\u0022\u0022: [\n \u0022\u0022europe\u0022\u0022\n ],\n \u0022\u0022allowed_models\u0022\u0022: null,\n \u0022\u0022allowed_providers\u0022\u0022: [\n \u0022\u0022openai\u0022\u0022,\n \u0022\u0022anthropic\u0022\u0022,\n \u0022\u0022deepseek\u0022\u0022\n ],\n \u0022\u0022description\u0022\u0022: \u0022\u0022A guardrail for limiting API usage\u0022\u0022,\n \u0022\u0022enforce_zdr_anthropic\u0022\u0022: true,\n \u0022\u0022enforce_zdr_google\u0022\u0022: false,\n \u0022\u0022enforce_zdr_openai\u0022\u0022: true,\n \u0022\u0022enforce_zdr_other\u0022\u0022: false,\n \u0022\u0022enforce_zdr_xai\u0022\u0022: false,\n \u0022\u0022ignored_models\u0022\u0022: null,\n \u0022\u0022ignored_providers\u0022\u0022: null,\n \u0022\u0022limit_usd\u0022\u0022: 50,\n \u0022\u0022name\u0022\u0022: \u0022\u0022My New Guardrail\u0022\u0022,\n \u0022\u0022reset_interval\u0022\u0022: \u0022\u0022monthly\u0022\u0022\n}\u0022)!;\n\nvar response = await client.AlphaDecisions.CreateAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_providers\u0022: [\n// \u0022openai\u0022,\n// \u0022anthropic\u0022,\n// \u0022google\u0022\n// ],\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022description\u0022: \u0022A guardrail for limiting API usage\u0022,\n// \u0022enforce_zdr\u0022: null,\n// \u0022enforce_zdr_anthropic\u0022: true,\n// \u0022enforce_zdr_google\u0022: false,\n// \u0022enforce_zdr_openai\u0022: true,\n// \u0022enforce_zdr_other\u0022: false,\n// \u0022enforce_zdr_xai\u0022: false,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022ignored_models\u0022: null,\n// \u0022ignored_providers\u0022: null,\n// \u0022include_byok_in_budgets\u0022: false,\n// \u0022limit_usd\u0022: 50,\n// \u0022name\u0022: \u0022My New Guardrail\u0022,\n// \u0022reset_interval\u0022: \u0022monthly\u0022,\n// \u0022updated_at\u0022: null,\n// \u0022workspace_id\u0022: \u00220df9e665-d932-5740-b2c7-b52af166bc11\u0022\n// }\n// }", "Format": "sdk", "OperationId": "createGuardrail", "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." @@ -783,6 +783,17 @@ }, { "Order": 72, + "Title": "Sign a daemon request with the caller\u0027s identity", + "Slug": "signinterndaemonrequest", + "Description": "Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from \u0060ori login --oidc\u0060 whose grant carries \u0060vault:read\u0060 can sign: an API key is refused with 403 because it names no person, and an \u0060interns\u0060-only grant is refused with 403 because a proof releases that user\u0027s personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with \u0060Cache-Control: no-store\u0060. The API key selects the caller, workspace and visible interns. An intern\u0027s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", + "Language": "http", + "Code": "### Sign a daemon request with the caller\u0027s identity\n# @name signInternDaemonRequest\nPOST {{host}}/interns/{{internId}}/daemon/sign\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022bodySha256\u0022: \u0022e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\u0022\n}\n\n## Responses\n# 200\n# Description: Signature headers for the digest.\n# Content-Type: application/json\n# 400\n# Description: The request body is invalid.\n# Content-Type: application/json\n# 401\n# Description: Missing, unknown or provisioning API key.\n# Content-Type: application/json\n# 403\n# Description: The caller is an API key, which names no person (\u0060personal_identity_required\u0060), or an OAuth grant without \u0060vault:read\u0060 (\u0060insufficient_scope\u0060). Also returned when the key owner no longer has access or the request used a regional hostname.\n# Content-Type: application/json\n# 404\n# Description: The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.\n# Content-Type: application/json\n# 408\n# Description: The request exceeded its route deadline. The deadline quoted in the message is the route\u0027s own, so it differs between operations.\n# Content-Type: application/json\n# 413\n# Description: The request body is larger than 1048576 bytes.\n# Content-Type: application/json\n# 415\n# Description: The request body is non-empty and its Content-Type is not application/json.\n# Content-Type: application/json\n# 429\n# Description: Too many turns for the user or organization this credential acts as (\u0060rate_limited\u0060). Shares the chat turn limiter, reports \u0060retryable: true\u0060 and carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 500\n# Description: The request could not be completed. \u0060metadata.reason\u0060 says whether to try again: \u0060internal_error\u0060 is a transient failure and carries \u0060metadata.retryable: true\u0060, so the same request may be sent again, while \u0060configuration_error\u0060 carries \u0060retryable: false\u0060 because the next attempt reads the same missing binding or unusable stored credential.\n# Content-Type: application/json", + "Format": "http", + "OperationId": "signInternDaemonRequest", + "Setup": null + }, + { + "Order": 73, "Title": "Suspend an intern", "Slug": "suspendintern", "Description": "Stops the intern runtime while keeping its disk and configuration for a later provision call. This operation takes no request body. A body carrying any field is refused with 400 rather than ignored. The API key selects the caller, workspace and visible interns. An intern\u0027s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -793,7 +804,7 @@ "Setup": null }, { - "Order": 73, + "Order": 74, "Title": "Update an intern", "Slug": "updateintern", "Description": "Changes the intern name, description, instructions or model. Omitted fields stay unchanged. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare \u0060Content-Type: application/json\u0060 or it is refused with 415. The API key selects the caller, workspace and visible interns. An intern\u0027s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -804,7 +815,7 @@ "Setup": null }, { - "Order": 74, + "Order": 75, "Title": "Get total count of available models", "Slug": "listmodelscount", "Description": "Generated from OpenAPI examples.", @@ -815,7 +826,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 75, + "Order": 76, "Title": "Get a model by its slug", "Slug": "getmodel", "Description": "Returns full details for a single model identified by its author and slug (e.g. openai/gpt-4). Supports variant suffixes (e.g. openai/gpt-4:free) and resolves known slug aliases.", @@ -826,7 +837,7 @@ "Setup": null }, { - "Order": 76, + "Order": 77, "Title": "List all models and their properties", "Slug": "getmodels", "Description": "Generated from OpenAPI examples.", @@ -837,7 +848,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 77, + "Order": 78, "Title": "List models filtered by user provider preferences, privacy settings, and guardrails", "Slug": "listmodelsuser", "Description": "List models filtered by user provider preferences, [privacy settings](https://openrouter.ai/docs/guides/privacy/provider-logging), and [guardrails](https://openrouter.ai/docs/guides/features/guardrails). Returns text-output models by default; pass \u0060output_modalities\u0060 (a comma-separated list of \u0060text\u0060, \u0060image\u0060, \u0060embeddings\u0060, \u0060audio\u0060, \u0060video\u0060, \u0060rerank\u0060, \u0060speech\u0060, \u0060transcription\u0060, or \u0060all\u0060) to include other modalities. If requesting through a regional hostname, the results will be filtered to models that satisfy in-region routing for that region.", @@ -848,7 +859,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 78, + "Order": 79, "Title": "Create authorization code", "Slug": "createauthkeyscode", "Description": "Create an authorization code for the PKCE flow to generate a user-controlled API key", @@ -859,7 +870,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 79, + "Order": 80, "Title": "Exchange a workload identity token", "Slug": "createoauthtoken", "Description": "RFC 8693 token exchange. Presents a JWT from an issuer your organization trusts (Settings \u2192 Workload identity) and receives a short-lived OpenRouter access token that acts as the API key the matching federation policy targets.", @@ -870,7 +881,7 @@ "Setup": null }, { - "Order": 80, + "Order": 81, "Title": "Exchange authorization code for API key", "Slug": "exchangeauthcodeforapikey", "Description": "Exchange an authorization code from the PKCE flow for a user-controlled API key", @@ -881,7 +892,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 81, + "Order": 82, "Title": "OpenRouter access token signing keys", "Slug": "listoauthjwks", "Description": "RFC 7517 JWK Set containing the public keys OpenRouter signs access tokens with.", @@ -892,7 +903,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 82, + "Order": 83, "Title": "Create an observability destination", "Slug": "createobservabilitydestination", "Description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity\u0027s default workspace; use the \u0060workspace_id\u0060 body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -903,7 +914,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 83, + "Order": 84, "Title": "Delete an observability destination", "Slug": "deleteobservabilitydestination", "Description": "Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -914,7 +925,7 @@ "Setup": null }, { - "Order": 84, + "Order": 85, "Title": "Get an observability destination", "Slug": "getobservabilitydestination", "Description": "Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -925,7 +936,7 @@ "Setup": null }, { - "Order": 85, + "Order": 86, "Title": "List observability destinations", "Slug": "listobservabilitydestinations", "Description": "List the observability destinations configured for the authenticated entity\u0027s default workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced \u2014 destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -936,7 +947,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 86, + "Order": 87, "Title": "Update an observability destination", "Slug": "updateobservabilitydestination", "Description": "Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -947,7 +958,7 @@ "Setup": null }, { - "Order": 87, + "Order": 88, "Title": "Get organization settings", "Slug": "getorganizationsettings", "Description": "Get the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -958,7 +969,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 88, + "Order": 89, "Title": "List organization members", "Slug": "listorganizationmembers", "Description": "List all members of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -969,7 +980,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 89, + "Order": 90, "Title": "Update organization settings", "Slug": "updateorganizationsettings", "Description": "Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -980,7 +991,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 90, + "Order": 91, "Title": "Create a preset from a chat-completions request body", "Slug": "createpresetschatcompletions", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -991,7 +1002,7 @@ "Setup": null }, { - "Order": 91, + "Order": 92, "Title": "Create a preset from a messages request body", "Slug": "createpresetsmessages", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -1002,7 +1013,7 @@ "Setup": null }, { - "Order": 92, + "Order": 93, "Title": "Create a preset from a responses request body", "Slug": "createpresetsresponses", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -1013,7 +1024,7 @@ "Setup": null }, { - "Order": 93, + "Order": 94, "Title": "Get a preset", "Slug": "getpreset", "Description": "Retrieves a preset by its slug with its currently designated version inline.", @@ -1024,7 +1035,7 @@ "Setup": null }, { - "Order": 94, + "Order": 95, "Title": "Get a specific version of a preset", "Slug": "getpresetversion", "Description": "Retrieves a specific version of a preset by its slug and version number.", @@ -1035,7 +1046,7 @@ "Setup": null }, { - "Order": 95, + "Order": 96, "Title": "List presets", "Slug": "listpresets", "Description": "Lists all presets for the authenticated user, ordered by most recently updated first.", @@ -1046,7 +1057,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 96, + "Order": 97, "Title": "List versions of a preset", "Slug": "listpresetversions", "Description": "Lists all versions of a preset, ordered by version number ascending (oldest first).", @@ -1057,7 +1068,7 @@ "Setup": null }, { - "Order": 97, + "Order": 98, "Title": "Activate a validated private endpoint", "Slug": "activateprivateendpoint", "Description": "Make a validated draft routable. Returns 409 when the endpoint was never validated, the validation is stale, or it is already active. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1068,7 +1079,7 @@ "Setup": null }, { - "Order": 98, + "Order": 99, "Title": "Create a private endpoint", "Slug": "createprivateendpoint", "Description": "Create a private endpoint as a draft. Drafts are not routable: validate one with \u0060POST /private-endpoints/{id}/validate\u0060, then activate it with \u0060POST /private-endpoints/{id}/activate\u0060. Pass \u0060activate\u0060 to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an \u0060Idempotency-Key\u0060 header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 \u0060idempotency_key_reused\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1079,7 +1090,7 @@ "Setup": null }, { - "Order": 99, + "Order": 100, "Title": "Delete a private endpoint", "Slug": "deleteprivateendpoint", "Description": "Delete a private endpoint and stop routing to it. Pass \u0060draft_only=true\u0060 to refuse (409) when the endpoint has been activated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1090,7 +1101,7 @@ "Setup": null }, { - "Order": 100, + "Order": 101, "Title": "Disable a private endpoint", "Slug": "disableprivateendpoint", "Description": "Stop routing to an active endpoint without deleting it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1101,7 +1112,7 @@ "Setup": null }, { - "Order": 101, + "Order": 102, "Title": "Enable a private endpoint", "Slug": "enableprivateendpoint", "Description": "Resume routing to a disabled endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1112,7 +1123,7 @@ "Setup": null }, { - "Order": 102, + "Order": 103, "Title": "Get a private endpoint", "Slug": "getprivateendpoint", "Description": "Get one private endpoint with its upstream configuration and current pricing. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1123,7 +1134,7 @@ "Setup": null }, { - "Order": 103, + "Order": 104, "Title": "List private endpoints", "Slug": "listprivateendpoints", "Description": "List the organization\u0027s private endpoints, including drafts. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1134,7 +1145,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 104, + "Order": 105, "Title": "Update a draft private endpoint", "Slug": "updateprivateendpoint", "Description": "Replace a draft endpoint\u0027s upstream configuration: send \u0060upstream_model_id\u0060, and \u0060base_url\u0060 to change it (an omitted \u0060base_url\u0060 keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1145,7 +1156,7 @@ "Setup": null }, { - "Order": 105, + "Order": 106, "Title": "Set private endpoint pricing", "Slug": "updateprivateendpointpricing", "Description": "Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1156,7 +1167,7 @@ "Setup": null }, { - "Order": 106, + "Order": 107, "Title": "Validate a draft private endpoint", "Slug": "validateprivateendpoint", "Description": "Send a live test request to the draft endpoint using the given workspace\u0027s BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with \u0060passed: false\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1167,7 +1178,7 @@ "Setup": null }, { - "Order": 107, + "Order": 108, "Title": "List all providers", "Slug": "listproviders", "Description": "Generated from OpenAPI examples.", @@ -1178,7 +1189,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 108, + "Order": 109, "Title": "Submit a rerank request", "Slug": "creatererank", "Description": "Submits a rerank request to the rerank router", @@ -1189,7 +1200,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 109, + "Order": 110, "Title": "Create a response", "Slug": "createresponses", "Description": "Creates a streaming or non-streaming response using OpenResponses API format", @@ -1200,7 +1211,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 110, + "Order": 111, "Title": "Create a SCIM group mapping", "Slug": "createscimgroupmapping", "Description": "Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1211,7 +1222,7 @@ "Setup": null }, { - "Order": 111, + "Order": 112, "Title": "Start a SCIM directory sync", "Slug": "createscimsyncjob", "Description": "Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1222,7 +1233,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 112, + "Order": 113, "Title": "Delete a SCIM group mapping", "Slug": "deletescimgroupmapping", "Description": "Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1233,7 +1244,7 @@ "Setup": null }, { - "Order": 113, + "Order": 114, "Title": "Get SCIM directory sync status", "Slug": "getscimsyncjob", "Description": "Get SCIM directory sync status. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1244,7 +1255,7 @@ "Setup": null }, { - "Order": 114, + "Order": 115, "Title": "List SCIM groups", "Slug": "listscimgroups", "Description": "List SCIM groups for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1255,7 +1266,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 115, + "Order": 116, "Title": "List SCIM group mappings", "Slug": "listscimgroupmappings", "Description": "List SCIM group-to-workspace mappings for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1266,7 +1277,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 116, + "Order": 117, "Title": "Get a SCIM group mapping", "Slug": "getscimgroupmapping", "Description": "Get a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1277,7 +1288,7 @@ "Setup": null }, { - "Order": 117, + "Order": 118, "Title": "Update a SCIM group mapping", "Slug": "updatescimgroupmapping", "Description": "Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1288,7 +1299,7 @@ "Setup": null }, { - "Order": 118, + "Order": 119, "Title": "Create transcription", "Slug": "createaudiotranscriptions", "Description": "Transcribes audio into text. Accepts base64-encoded audio input as JSON, an OpenAI-style multipart/form-data file upload, or a URL the provider downloads directly, and returns the transcribed text.", @@ -1299,7 +1310,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 119, + "Order": 120, "Title": "Submit a System One request", "Slug": "createsystemone", "Description": "Sends state and typed questions to a System One model such as Jev and returns its answers. Compatible with the TypeSafe SDKs. Bare System One model IDs such as \u0060jev-1.13\u0060 and \u0060jev-latest\u0060 are mapped onto the \u0060typesafe/\u0060 namespace.", @@ -1310,7 +1321,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 120, + "Order": 121, "Title": "Get a server tool", "Slug": "gettool", "Description": "One server tool by canonical name or any accepted alias, with the models that run it natively.", @@ -1321,7 +1332,7 @@ "Setup": null }, { - "Order": 121, + "Order": 122, "Title": "List server tools", "Slug": "listtools", "Description": "Lists every server tool OpenRouter can run on behalf of a model: accepted \u0060tools[].type\u0060 spellings per API format, the engines behind it with their pricing, and how many endpoints run it natively.", @@ -1332,7 +1343,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 122, + "Order": 123, "Title": "Create speech", "Slug": "createaudiospeech", "Description": "Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).", @@ -1343,7 +1354,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 123, + "Order": 124, "Title": "Copy workspace secrets to an intern", "Slug": "copyvaultsecretstointern", "Description": "Copies the named workspace secrets into one intern\u0027s scope, replacing any intern secret with the same name. Each copy keeps the source value and host bindings. Every name must exist in the workspace scope or the request fails with 404 and nothing is copied. A workspace secret whose \u0060hosts\u0060 is \u0060null\u0060 cannot be copied: the request fails with 409 and nothing is copied until that secret is stored again with hosts. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1354,7 +1365,7 @@ "Setup": null }, { - "Order": 124, + "Order": 125, "Title": "Delete an intern secret", "Slug": "deleteinternvaultsecret", "Description": "Deletes a secret stored for one intern. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1365,7 +1376,7 @@ "Setup": null }, { - "Order": 125, + "Order": 126, "Title": "Delete a workspace secret", "Slug": "deletevaultsecret", "Description": "Deletes a secret from the workspace of the authenticated API key. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1376,7 +1387,7 @@ "Setup": null }, { - "Order": 126, + "Order": 127, "Title": "List the secrets an intern receives", "Slug": "listinterneffectivevaultsecrets", "Description": "Lists, one entry per name, the secret the intern\u0027s outbound requests receive: its own secrets, secrets from an attached vault, and workspace secrets, including ones stored before workspace-scoped storage. Where several vaults hold a name, the entry is the one that wins, in the order intern, attached, workspace. The same resolution decides what outbound requests receive, so this list and the intern\u0027s requests agree. \u0060scope\u0060 says which vault the entry comes from. Responses carry metadata only, never values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. Returns 404 when the intern\u0027s attached vault is no longer available, since the intern then receives no secrets. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1387,7 +1398,7 @@ "Setup": null }, { - "Order": 127, + "Order": 128, "Title": "List intern secrets", "Slug": "listinternvaultsecrets", "Description": "Lists secret metadata stored for one intern. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1398,7 +1409,7 @@ "Setup": null }, { - "Order": 128, + "Order": 129, "Title": "List workspace secrets", "Slug": "listvaultsecrets", "Description": "Lists secret metadata for the workspace of the authenticated API key. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1409,7 +1420,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 129, + "Order": 130, "Title": "Store an intern secret", "Slug": "storeinternvaultsecret", "Description": "Creates or replaces a secret stored for one intern. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1420,7 +1431,7 @@ "Setup": null }, { - "Order": 130, + "Order": 131, "Title": "Store a workspace secret", "Slug": "storevaultsecret", "Description": "Creates or replaces a secret in the workspace of the authenticated API key. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1431,7 +1442,7 @@ "Setup": null }, { - "Order": 131, + "Order": 132, "Title": "Submit a video generation request", "Slug": "createvideos", "Description": "Submits a video generation request and returns a polling URL to check status", @@ -1442,7 +1453,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 132, + "Order": 133, "Title": "Poll video generation status", "Slug": "getvideos", "Description": "Returns job status and content URLs when completed", @@ -1453,7 +1464,7 @@ "Setup": null }, { - "Order": 133, + "Order": 134, "Title": "Download generated video content", "Slug": "listvideoscontent", "Description": "Streams the generated video content from the upstream provider", @@ -1464,7 +1475,7 @@ "Setup": null }, { - "Order": 134, + "Order": 135, "Title": "List all video generation models", "Slug": "listvideosmodels", "Description": "Returns a list of all available video generation models and their properties", @@ -1475,7 +1486,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 135, + "Order": 136, "Title": "Bulk add members to a workspace", "Slug": "bulkaddworkspacemembers", "Description": "Add multiple organization members to a workspace. Members are assigned the same role they hold in the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1486,7 +1497,7 @@ "Setup": null }, { - "Order": 136, + "Order": 137, "Title": "Bulk remove members from a workspace", "Slug": "bulkremoveworkspacemembers", "Description": "Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1497,7 +1508,7 @@ "Setup": null }, { - "Order": 137, + "Order": 138, "Title": "Create a workspace", "Slug": "createworkspace", "Description": "Create a new workspace for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1508,7 +1519,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 138, + "Order": 139, "Title": "Delete a workspace", "Slug": "deleteworkspace", "Description": "Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1519,7 +1530,7 @@ "Setup": null }, { - "Order": 139, + "Order": 140, "Title": "Delete a workspace budget", "Slug": "deleteworkspacebudget", "Description": "Remove the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1530,7 +1541,7 @@ "Setup": null }, { - "Order": 140, + "Order": 141, "Title": "Get a workspace", "Slug": "getworkspace", "Description": "Get a single workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1541,7 +1552,7 @@ "Setup": null }, { - "Order": 141, + "Order": 142, "Title": "Get a workspace budget", "Slug": "getworkspacebudget", "Description": "Retrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1552,7 +1563,7 @@ "Setup": null }, { - "Order": 142, + "Order": 143, "Title": "List workspaces", "Slug": "listworkspaces", "Description": "List all workspaces for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1563,7 +1574,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 143, + "Order": 144, "Title": "List workspace budgets", "Slug": "listworkspacebudgets", "Description": "List all budgets configured for a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1574,7 +1585,7 @@ "Setup": null }, { - "Order": 144, + "Order": 145, "Title": "List workspace members", "Slug": "listworkspacemembers", "Description": "List all members of a workspace. Returns paginated results. For the default workspace, returns all organization members (implicit membership). [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1585,7 +1596,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 145, + "Order": 146, "Title": "Create or update a workspace budget", "Slug": "upsertworkspacebudget", "Description": "Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime \u003E monthly \u003E weekly \u003E daily). The optional \u0060include_byok_in_budgets\u0060 flag is a workspace-wide setting: when provided it applies to every budget interval for the workspace, not just the interval in this request. Note that a change made here is applied to budget enforcement immediately, but an already-open workspace settings page in the web dashboard may keep showing the previous value until it is reloaded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1596,7 +1607,7 @@ "Setup": null }, { - "Order": 146, + "Order": 147, "Title": "Update a workspace", "Slug": "updateworkspace", "Description": "Update an existing workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 3fee085e..c6c0c1a3 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -9064,6 +9064,7 @@ "minLength": 1, "type": "string" }, + "maxItems": 500, "minItems": 1, "type": "array" } @@ -9191,6 +9192,7 @@ "minLength": 1, "type": "string" }, + "maxItems": 500, "minItems": 1, "type": "array" } @@ -13513,11 +13515,11 @@ }, "properties": { "user": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } }, @@ -13528,7 +13530,6 @@ }, "CreateGuardrailRequest": { "example": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai", @@ -13555,14 +13556,6 @@ "reset_interval": "monthly" }, "properties": { - "allow_safety_retention_google": { - "description": "Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.", - "example": true, - "type": [ - "boolean", - "null" - ] - }, "allowed_data_regions": { "description": "Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.", "example": [ @@ -13791,7 +13784,6 @@ "CreateGuardrailResponse": { "example": { "data": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai", @@ -15718,11 +15710,11 @@ "type": "string" }, "user": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } }, @@ -18302,7 +18294,6 @@ "GetGuardrailResponse": { "example": { "data": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai", @@ -18634,7 +18625,6 @@ }, "Guardrail": { "example": { - "allow_safety_retention_google": null, "allowed_data_regions": null, "allowed_models": null, "allowed_providers": [ @@ -18672,14 +18662,6 @@ "workspace_id": "0df9e665-d932-5740-b2c7-b52af166bc11" }, "properties": { - "allow_safety_retention_google": { - "description": "Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.", - "example": true, - "type": [ - "boolean", - "null" - ] - }, "allowed_data_regions": { "description": "Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.", "example": [ @@ -20888,6 +20870,12 @@ }, { "$ref": "#/components/schemas/ConfigurationUpdateItem" + }, + { + "$ref": "#/components/schemas/ToolSearchCallItem" + }, + { + "$ref": "#/components/schemas/ToolSearchOutputItem" } ] }, @@ -22181,6 +22169,12 @@ "maxItems": 1024, "type": "array" }, + "cost_tier": { + "description": "Select low, medium, high, or a cost tier configured by the operator. Overrides the live-config tier and replaces the shared routing policy with that tier. Omit to use the live configuration. Model exclusions and the router kill switch still apply.", + "example": "medium", + "pattern": "^[a-z][a-z0-9_-]{0,31}$", + "type": "string" + }, "excluded_models": { "description": "Remove these models from the router. Each entry is a model slug or a wildcard pattern (e.g. \"xiaomi/*\"). A `~author/family-latest` alias matches every revision of that family. Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. Applied after `models`, so an excluded pattern always wins over an included one; when the lists leave no model the request can use, it fails with 404 rather than routing outside them.", "example": [ @@ -22619,7 +22613,6 @@ "example": { "data": [ { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai", @@ -25605,7 +25598,7 @@ "$ref": "#/components/schemas/OpenRouterMetadata" }, "provider": { - "$ref": "#/components/schemas/ProviderName" + "type": "string" }, "safeguard_results": { "items": { @@ -32634,6 +32627,11 @@ "call_id": { "type": "string" }, + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, @@ -32641,7 +32639,7 @@ "$ref": "#/components/schemas/ApplyPatchCallOperation" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "type": { "enum": [ @@ -32998,11 +32996,16 @@ "description": "ISO 8601 datetime string", "type": "string" }, + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "timezone": { "description": "IANA timezone name", @@ -33303,6 +33306,11 @@ "type": "openrouter:image_generation" }, "properties": { + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, @@ -33327,7 +33335,7 @@ "type": "string" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "type": { "enum": [ @@ -33954,6 +33962,7 @@ "reasoning": "#/components/schemas/OutputReasoningItem", "shell_call": "#/components/schemas/OutputShellCallItem", "shell_call_output": "#/components/schemas/OutputShellCallOutputItem", + "tool_search_call": "#/components/schemas/OutputToolSearchCallItem", "web_search_call": "#/components/schemas/OutputWebSearchCallItem" }, "propertyName": "type" @@ -34063,6 +34072,9 @@ }, { "$ref": "#/components/schemas/OutputCustomToolCallItem" + }, + { + "$ref": "#/components/schemas/OutputToolSearchCallItem" } ] }, @@ -34460,6 +34472,11 @@ "description": "The JSON arguments submitted to the search tool (e.g. {\"query\":\"Claude\"})", "type": "string" }, + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, @@ -34467,7 +34484,7 @@ "type": "string" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "type": { "enum": [ @@ -34899,6 +34916,50 @@ ], "type": "object" }, + "OutputToolSearchCallItem": { + "description": "A call the model made to a `tool_search` tool declared with `\"execution\": \"client\"`. The client runs the search and replays this item with a `tool_search_output` item.", + "example": { + "arguments": { + "query": "weather" + }, + "call_id": "call-abc123", + "execution": "client", + "id": "tsc-abc123", + "status": "completed", + "type": "tool_search_call" + }, + "properties": { + "arguments": {}, + "call_id": { + "type": "string" + }, + "execution": { + "enum": [ + "client" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/ToolCallStatus" + }, + "type": { + "enum": [ + "tool_search_call" + ], + "type": "string" + } + }, + "required": [ + "type", + "execution", + "call_id", + "status" + ], + "type": "object" + }, "OutputToolSearchServerToolItem": { "description": "An openrouter:tool_search server tool output item", "example": { @@ -34908,6 +34969,11 @@ "type": "openrouter:tool_search" }, "properties": { + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, @@ -34915,7 +34981,7 @@ "type": "string" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "type": { "enum": [ @@ -35046,11 +35112,16 @@ ], "type": "object" }, + "error": { + "description": "The error message when the tool call failed before producing a result. Set together with `status: 'failed'`; absent on a successful call.", + "example": "Tool execution failed", + "type": "string" + }, "id": { "type": "string" }, "status": { - "$ref": "#/components/schemas/ToolCallStatus" + "$ref": "#/components/schemas/FailableToolCallStatus" }, "type": { "enum": [ @@ -38266,7 +38337,7 @@ ] }, "uptime_last_1d": { - "description": "Uptime percentage over the last 1 day, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data.", + "description": "Uptime percentage over the last day: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic.", "format": "double", "type": [ "number", @@ -38281,7 +38352,7 @@ ] }, "uptime_last_5m": { - "description": "Uptime percentage over the last 5 minutes, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data.", + "description": "Uptime percentage over the last 5 minutes: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic.", "format": "double", "type": [ "number", @@ -41078,6 +41149,50 @@ } ] }, + "SignInternDaemonRequest": { + "additionalProperties": false, + "properties": { + "bodySha256": { + "description": "Lower-case hex SHA-256 of the exact bytes the CLI will send as the daemon request body.", + "example": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "bodySha256" + ], + "type": "object" + }, + "SignInternDaemonResponse": { + "additionalProperties": false, + "description": "Headers the CLI copies onto the daemon request so the sidecar can verify who is asking.", + "example": { + "x-ori-invoke-signature": "MEUCIQ...", + "x-ori-invoke-timestamp": "1789000000", + "x-ori-invoke-user": "user_2abc" + }, + "properties": { + "x-ori-invoke-signature": { + "description": "Base64 Ed25519 signature over the intern id, timestamp, user and body digest.", + "type": "string" + }, + "x-ori-invoke-timestamp": { + "description": "Unix seconds at signing; the daemon refuses proofs older than its window.", + "type": "string" + }, + "x-ori-invoke-user": { + "description": "The verified OAuth subject the proof names. Never taken from the request.", + "type": "string" + } + }, + "required": [ + "x-ori-invoke-signature", + "x-ori-invoke-timestamp", + "x-ori-invoke-user" + ], + "type": "object" + }, "SpeechInput": { "anyOf": [ { @@ -42845,7 +42960,7 @@ "type": "string" }, "judge_model": { - "description": "The model that runs the judge call for the judge-backed algorithms (\"capability\", \"stage\", and \"composite\"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-2.5-flash-lite, and reports the reason in the routing metadata. The judge call is billed to you like any other request.", + "description": "The model that runs the judge call for the judge-backed algorithms (\"capability\", \"stage\", and \"composite\"). The model must support structured outputs and have a provider that your account and request settings allow. Otherwise, the request uses the platform default judge, google/gemini-3.5-flash-lite, or openai/gpt-4o-mini when the default does not fit either, and reports the reason in the routing metadata. The judge call is billed to you like any other request.", "example": "openai/gpt-5.4-nano", "minLength": 1, "type": "string" @@ -43407,6 +43522,279 @@ ], "type": "object" }, + "ToolSearchCallItem": { + "description": "A tool search call the client executed", + "example": { + "arguments": { + "query": "weather" + }, + "call_id": "call_search_1", + "execution": "client", + "status": "completed", + "type": "tool_search_call" + }, + "properties": { + "arguments": {}, + "call_id": { + "type": "string" + }, + "execution": { + "enum": [ + "server", + "client" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "id": { + "type": [ + "string", + "null" + ] + }, + "status": { + "enum": [ + "in_progress", + "completed", + "incomplete", + null + ], + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + }, + "type": { + "enum": [ + "tool_search_call" + ], + "type": "string" + } + }, + "required": [ + "type", + "call_id", + "execution" + ], + "type": "object" + }, + "ToolSearchOutputItem": { + "description": "The tools a client-executed tool search loaded", + "example": { + "call_id": "call_search_1", + "execution": "client", + "status": "completed", + "tools": [ + { + "name": "get_weather", + "parameters": { + "properties": { + "location": { + "type": "string" + } + }, + "type": "object" + }, + "type": "function" + } + ], + "type": "tool_search_output" + }, + "properties": { + "call_id": { + "type": "string" + }, + "execution": { + "enum": [ + "server", + "client" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "id": { + "type": [ + "string", + "null" + ] + }, + "status": { + "enum": [ + "in_progress", + "completed", + "incomplete", + null + ], + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + }, + "tools": { + "items": { + "anyOf": [ + { + "allOf": [ + { + "$ref": "#/components/schemas/FunctionTool" + }, + { + "properties": { + "async": { + "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", + "example": true, + "type": "boolean" + }, + "defer_loading": { + "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.", + "example": true, + "type": "boolean" + } + }, + "type": "object" + } + ], + "description": "Function tool definition", + "example": { + "description": "Get the current weather in a location", + "name": "get_weather", + "parameters": { + "properties": { + "location": { + "description": "The city and state", + "type": "string" + }, + "unit": { + "enum": [ + "celsius", + "fahrenheit" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "location" + ], + "type": "object" + }, + "type": "function" + } + }, + { + "$ref": "#/components/schemas/Preview_WebSearchServerTool" + }, + { + "$ref": "#/components/schemas/Preview_20250311_WebSearchServerTool" + }, + { + "$ref": "#/components/schemas/Legacy_WebSearchServerTool" + }, + { + "$ref": "#/components/schemas/WebSearchServerTool" + }, + { + "$ref": "#/components/schemas/FileSearchServerTool" + }, + { + "$ref": "#/components/schemas/ComputerUseServerTool" + }, + { + "$ref": "#/components/schemas/CodeInterpreterServerTool" + }, + { + "$ref": "#/components/schemas/McpServerTool" + }, + { + "$ref": "#/components/schemas/ImageGenerationServerTool" + }, + { + "$ref": "#/components/schemas/CodexLocalShellTool" + }, + { + "$ref": "#/components/schemas/ShellServerTool" + }, + { + "$ref": "#/components/schemas/ApplyPatchServerTool" + }, + { + "$ref": "#/components/schemas/CustomTool" + }, + { + "$ref": "#/components/schemas/NamespaceTool" + }, + { + "$ref": "#/components/schemas/AdvisorServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/SubagentServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/DatetimeServerTool" + }, + { + "$ref": "#/components/schemas/FilesServerTool" + }, + { + "$ref": "#/components/schemas/FusionServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/ImageGenerationServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/SearchModelsServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/WebFetchServerTool" + }, + { + "$ref": "#/components/schemas/WebSearchServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/ApplyPatchServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/BashServerTool" + }, + { + "$ref": "#/components/schemas/ShellServerTool_OpenRouter" + }, + { + "$ref": "#/components/schemas/ToolSearchServerTool" + }, + { + "additionalProperties": {}, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "type": { + "enum": [ + "tool_search_output" + ], + "type": "string" + } + }, + "required": [ + "type", + "call_id", + "execution", + "tools" + ], + "type": "object" + }, "ToolSearchServerTool": { "description": "OpenRouter built-in server tool: finds tools marked `defer_loading` and makes them callable", "example": { @@ -44475,14 +44863,6 @@ "reset_interval": "weekly" }, "properties": { - "allow_safety_retention_google": { - "description": "Whether ZDR requests for Google models may use Safety Retention endpoints, which keep only prompts flagged by safety classifiers. `false` requires strict ZDR for Google. `null` inherits the account setting, which is on by default. A guardrail cannot turn this on for an account that turned it off.", - "example": true, - "type": [ - "boolean", - "null" - ] - }, "allowed_data_regions": { "description": "Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.", "example": [ @@ -44694,7 +45074,6 @@ "UpdateGuardrailResponse": { "example": { "data": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai" @@ -54327,16 +54706,16 @@ } }, { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "in": "query", "name": "user", "required": false, "schema": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } }, @@ -54605,16 +54984,16 @@ "operationId": "deleteEndUser", "parameters": [ { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "in": "path", "name": "user", "required": true, "schema": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } } @@ -54699,16 +55078,16 @@ "operationId": "getEndUser", "parameters": [ { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "in": "path", "name": "user", "required": true, "schema": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } } @@ -54808,16 +55187,16 @@ "operationId": "updateEndUser", "parameters": [ { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "in": "path", "name": "user", "required": true, "schema": { - "description": "Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.", + "description": "Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.", "example": "employee_123", - "maxLength": 256, + "maxLength": 512, "minLength": 1, - "pattern": "^[^\\p{Cc}]+$", + "pattern": "^[^\\u0000]+$", "type": "string" } } @@ -56895,7 +57274,6 @@ "content": { "application/json": { "example": { - "allow_safety_retention_google": null, "allowed_data_regions": [ "europe" ], @@ -56930,7 +57308,6 @@ "application/json": { "example": { "data": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai", @@ -57278,7 +57655,6 @@ "application/json": { "example": { "data": { - "allow_safety_retention_google": null, "allowed_models": null, "allowed_providers": [ "openai" @@ -59315,13 +59691,29 @@ "403": { "content": { "application/json": { - "example": { - "error": { - "code": 403, - "message": "This key acts as the organization and has no member to own a new intern", - "metadata": { - "reason": "no_acting_user", - "retryable": false + "examples": { + "no_acting_user": { + "value": { + "error": { + "code": 403, + "message": "This key acts as the organization and has no member to own a new intern", + "metadata": { + "reason": "no_acting_user", + "retryable": false + } + } + } + }, + "workspace_capability_unavailable": { + "value": { + "error": { + "code": 403, + "message": "This feature is not available in this workspace.", + "metadata": { + "reason": "workspace_capability_unavailable", + "retryable": false + } + } } } }, @@ -59330,7 +59722,7 @@ } } }, - "description": "The key acts as an organization and has no member who can own the intern, or regional access is refused." + "description": "The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused." }, "404": { "content": { @@ -60682,7 +61074,172 @@ "apiKey": [] } ], - "summary": "Get an intern's daemon access", + "summary": "Get an intern's daemon access", + "tags": [ + "Interns" + ] + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/interns/{internId}/daemon-access": { + "get": { + "deprecated": true, + "description": "Deprecated alias of `GET /interns/{internId}/daemon` with the same request, response, and errors. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", + "operationId": "getInternDaemonAccess", + "parameters": [ + { + "description": "ID of an intern visible to the authenticated API key.", + "in": "path", + "name": "internId", + "required": true, + "schema": { + "description": "ID of an intern visible to the authenticated API key.", + "example": "7c9e6679-7425-40de-944b-e07fc1f90ae7", + "minLength": 1, + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternDaemonAccess" + } + } + }, + "description": "Daemon origin and token." + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Invalid or missing API key" + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "Missing, unknown or provisioning API key." + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Forbidden" + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The key owner no longer has access, or the request used a regional hostname." + }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Intern not found", + "metadata": { + "reason": "not_found", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled." + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out after 10s. Please try again later.", + "metadata": { + "reason": "timeout", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request exceeded its route deadline. The deadline quoted in the message is the route's own, so it differs between operations." + }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "This intern is not running.", + "metadata": { + "reason": "intern_not_running", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The intern cannot be attached to. `metadata.reason` is `intern_not_running`, `intern_unreachable` when it has no usable address yet, or `intern_needs_restart` when it was provisioned before daemon access was available." + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "The request could not be completed", + "metadata": { + "reason": "internal_error", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request could not be completed. `metadata.reason` says whether to try again: `internal_error` is a transient failure and carries `metadata.retryable: true`, so the same request may be sent again, while `configuration_error` carries `retryable: false` because the next attempt reads the same missing binding or unusable stored credential." + } + }, + "security": [ + { + "apiKey": [] + } + ], + "summary": "Get an intern's daemon access (deprecated alias)", "tags": [ "Interns" ] @@ -60699,11 +61256,11 @@ } ] }, - "/interns/{internId}/daemon-access": { - "get": { + "/interns/{internId}/daemon-access/sign": { + "post": { "deprecated": true, - "description": "Deprecated alias of `GET /interns/{internId}/daemon` with the same request, response, and errors. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", - "operationId": "getInternDaemonAccess", + "description": "Deprecated alias of `POST /interns/{internId}/daemon/sign` with the same request, response, and errors. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", + "operationId": "signInternDaemonAccessRequest", "parameters": [ { "description": "ID of an intern visible to the authenticated API key.", @@ -60718,16 +61275,46 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignInternDaemonRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InternDaemonAccess" + "$ref": "#/components/schemas/SignInternDaemonResponse" } } }, - "description": "Daemon origin and token." + "description": "Signature headers for the digest." + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request body", + "metadata": { + "reason": "invalid_body", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request body is invalid." }, "401": { "content": { @@ -60751,7 +61338,11 @@ "example": { "error": { "code": 403, - "message": "Forbidden" + "message": "Personal connections require ori login --oidc.", + "metadata": { + "reason": "personal_identity_required", + "retryable": false + } } }, "schema": { @@ -60759,7 +61350,7 @@ } } }, - "description": "The key owner no longer has access, or the request used a regional hostname." + "description": "The caller is an API key, which names no person (`personal_identity_required`), or an OAuth grant without `vault:read` (`insufficient_scope`). Also returned when the key owner no longer has access or the request used a regional hostname." }, "404": { "content": { @@ -60801,15 +61392,15 @@ }, "description": "The request exceeded its route deadline. The deadline quoted in the message is the route's own, so it differs between operations." }, - "409": { + "413": { "content": { "application/json": { "example": { "error": { - "code": 409, - "message": "This intern is not running.", + "code": 413, + "message": "Request body exceeds 1048576 bytes", "metadata": { - "reason": "intern_not_running", + "reason": "payload_too_large", "retryable": false } } @@ -60819,7 +61410,58 @@ } } }, - "description": "The intern cannot be attached to. `metadata.reason` is `intern_not_running`, `intern_unreachable` when it has no usable address yet, or `intern_needs_restart` when it was provisioned before daemon access was available." + "description": "The request body is larger than 1048576 bytes." + }, + "415": { + "content": { + "application/json": { + "example": { + "error": { + "code": 415, + "message": "Request body must be sent as application/json", + "metadata": { + "reason": "unsupported_media_type", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request body is non-empty and its Content-Type is not application/json." + }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Too many intern turns. Please wait a moment.", + "metadata": { + "reason": "rate_limited", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "Too many turns for the user or organization this credential acts as (`rate_limited`). Shares the chat turn limiter, reports `retryable: true` and carries `Retry-After`.", + "headers": { + "Retry-After": { + "description": "Seconds to wait before retrying this request.", + "required": true, + "schema": { + "description": "Seconds to wait before retrying this request.", + "example": "60", + "type": "string" + } + } + } }, "500": { "content": { @@ -60847,7 +61489,256 @@ "apiKey": [] } ], - "summary": "Get an intern's daemon access (deprecated alias)", + "summary": "Sign a daemon request with the caller's identity (deprecated alias)", + "tags": [ + "Interns" + ] + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/interns/{internId}/daemon/sign": { + "post": { + "description": "Signs the SHA-256 digest of one request the CLI is about to send to the intern daemon, binding it to the intern and to the signed-in member so personal connections resolve. Only an OAuth session from `ori login --oidc` whose grant carries `vault:read` can sign: an API key is refused with 403 because it names no person, and an `interns`-only grant is refused with 403 because a proof releases that user's personal connections. The route is behind the same gate as chat and counts against the chat turn limiter. The response is sent with `Cache-Control: no-store`. The API key selects the caller, workspace and visible interns. An intern's own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", + "operationId": "signInternDaemonRequest", + "parameters": [ + { + "description": "ID of an intern visible to the authenticated API key.", + "in": "path", + "name": "internId", + "required": true, + "schema": { + "description": "ID of an intern visible to the authenticated API key.", + "example": "7c9e6679-7425-40de-944b-e07fc1f90ae7", + "minLength": 1, + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignInternDaemonRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignInternDaemonResponse" + } + } + }, + "description": "Signature headers for the digest." + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request body", + "metadata": { + "reason": "invalid_body", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request body is invalid." + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Invalid or missing API key" + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "Missing, unknown or provisioning API key." + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Personal connections require ori login --oidc.", + "metadata": { + "reason": "personal_identity_required", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The caller is an API key, which names no person (`personal_identity_required`), or an OAuth grant without `vault:read` (`insufficient_scope`). Also returned when the key owner no longer has access or the request used a regional hostname." + }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Intern not found", + "metadata": { + "reason": "not_found", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled." + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out after 10s. Please try again later.", + "metadata": { + "reason": "timeout", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request exceeded its route deadline. The deadline quoted in the message is the route's own, so it differs between operations." + }, + "413": { + "content": { + "application/json": { + "example": { + "error": { + "code": 413, + "message": "Request body exceeds 1048576 bytes", + "metadata": { + "reason": "payload_too_large", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request body is larger than 1048576 bytes." + }, + "415": { + "content": { + "application/json": { + "example": { + "error": { + "code": 415, + "message": "Request body must be sent as application/json", + "metadata": { + "reason": "unsupported_media_type", + "retryable": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request body is non-empty and its Content-Type is not application/json." + }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Too many intern turns. Please wait a moment.", + "metadata": { + "reason": "rate_limited", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "Too many turns for the user or organization this credential acts as (`rate_limited`). Shares the chat turn limiter, reports `retryable: true` and carries `Retry-After`.", + "headers": { + "Retry-After": { + "description": "Seconds to wait before retrying this request.", + "required": true, + "schema": { + "description": "Seconds to wait before retrying this request.", + "example": "60", + "type": "string" + } + } + } + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "The request could not be completed", + "metadata": { + "reason": "internal_error", + "retryable": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/InternLifecycleError" + } + } + }, + "description": "The request could not be completed. `metadata.reason` says whether to try again: `internal_error` is a transient failure and carries `metadata.retryable: true`, so the same request may be sent again, while `configuration_error` carries `retryable: false` because the next attempt reads the same missing binding or unusable stored credential." + } + }, + "security": [ + { + "apiKey": [] + } + ], + "summary": "Sign a daemon request with the caller's identity", "tags": [ "Interns" ] @@ -62102,6 +62993,18 @@ "x-openrouter-type": "boolean" } }, + { + "description": "Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.", + "in": "query", + "name": "include_expired", + "required": false, + "schema": { + "description": "Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.", + "example": "false", + "type": "boolean", + "x-openrouter-type": "boolean" + } + }, { "description": "Number of API keys to skip for pagination", "in": "query",