From ce09794edfba3e9e09083433755af73a43501a24 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 19 May 2026 04:07:32 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...nthropicMessagesClient.CreateMessages.g.cs | 4 + ...geBetaResponsesClient.CreateResponses.g.cs | 4 + ...eChatClient.SendChatCompletionRequest.g.cs | 4 + ...sonConverters.ChatRequestPluginsItems.g.cs | 17 +- ...FusionServerToolConfigReasoningEffort.g.cs | 53 + ...rverToolConfigReasoningEffortNullable.g.cs | 60 + ...onverters.MessagesRequestPluginsItems.g.cs | 17 +- ...nverters.ResponsesRequestPluginsItems.g.cs | 17 +- ...Converters.ResponsesRequestToolsItems.g.cs | 3 + ...nverters.StopServerToolsWhenCondition.g.cs | 117 + ...erToolsWhenConditionDiscriminatorType.g.cs | 53 + ...henConditionDiscriminatorTypeNullable.g.cs | 60 + ...StopServerToolsWhenFinishReasonIsType.g.cs | 53 + ...erToolsWhenFinishReasonIsTypeNullable.g.cs | 60 + ...rs.StopServerToolsWhenHasToolCallType.g.cs | 53 + ...erverToolsWhenHasToolCallTypeNullable.g.cs | 60 + ...erters.StopServerToolsWhenMaxCostType.g.cs | 53 + ...topServerToolsWhenMaxCostTypeNullable.g.cs | 60 + ....StopServerToolsWhenMaxTokensUsedType.g.cs | 53 + ...verToolsWhenMaxTokensUsedTypeNullable.g.cs | 60 + ...rs.StopServerToolsWhenStepCountIsType.g.cs | 53 + ...erverToolsWhenStepCountIsTypeNullable.g.cs | 60 + ...outer.JsonConverters.WebFetchPluginId.g.cs | 53 + ...onConverters.WebFetchPluginIdNullable.g.cs | 60 + .../OpenRouter.JsonSerializerContext.g.cs | 288 +- ...OpenRouter.JsonSerializerContextTypes.g.cs | 2966 +++++++++-------- .../OpenRouter.Models.ChatRequest.g.cs | 11 + ...Router.Models.ChatRequestPluginsItems.g.cs | 91 +- ...hatRequestPluginsItemsDiscriminatorId.g.cs | 6 + ....ChatRequestPluginsItemsVariant9.Json.g.cs | 92 + ...odels.ChatRequestPluginsItemsVariant9.g.cs | 89 + ...nRouter.Models.FusionServerToolConfig.g.cs | 35 +- ....FusionServerToolConfigReasoning.Json.g.cs | 92 + ...odels.FusionServerToolConfigReasoning.g.cs | 58 + ...FusionServerToolConfigReasoningEffort.g.cs | 75 + .../OpenRouter.Models.MessagesRequest.g.cs | 11 + ...er.Models.MessagesRequestPluginsItems.g.cs | 91 +- ...gesRequestPluginsItemsDiscriminatorId.g.cs | 6 + ...sagesRequestPluginsItemsVariant9.Json.g.cs | 92 + ...s.MessagesRequestPluginsItemsVariant9.g.cs | 89 + .../OpenRouter.Models.ResponsesRequest.g.cs | 11 + ...r.Models.ResponsesRequestPluginsItems.g.cs | 91 +- ...sesRequestPluginsItemsDiscriminatorId.g.cs | 6 + ...onsesRequestPluginsItemsVariant9.Json.g.cs | 92 + ....ResponsesRequestPluginsItemsVariant9.g.cs | 89 + ...els.StopServerToolsWhenCondition.Json.g.cs | 92 + ...r.Models.StopServerToolsWhenCondition.g.cs | 552 +++ ...rToolsWhenConditionDiscriminator.Json.g.cs | 92 + ...ServerToolsWhenConditionDiscriminator.g.cs | 45 + ...erToolsWhenConditionDiscriminatorType.g.cs | 69 + ...ServerToolsWhenConditionVariant1.Json.g.cs | 92 + ....StopServerToolsWhenConditionVariant1.g.cs | 55 + ...ServerToolsWhenConditionVariant2.Json.g.cs | 92 + ....StopServerToolsWhenConditionVariant2.g.cs | 55 + ...ServerToolsWhenConditionVariant3.Json.g.cs | 92 + ....StopServerToolsWhenConditionVariant3.g.cs | 55 + ...ServerToolsWhenConditionVariant4.Json.g.cs | 92 + ....StopServerToolsWhenConditionVariant4.g.cs | 55 + ...ServerToolsWhenConditionVariant5.Json.g.cs | 92 + ....StopServerToolsWhenConditionVariant5.g.cs | 55 + ...StopServerToolsWhenFinishReasonIsType.g.cs | 45 + ...ls.StopServerToolsWhenHasToolCallType.g.cs | 45 + ...Models.StopServerToolsWhenMaxCostType.g.cs | 45 + ....StopServerToolsWhenMaxTokensUsedType.g.cs | 45 + ...ls.StopServerToolsWhenStepCountIsType.g.cs | 45 + .../OpenRouter.Models.WebFetchPluginId.g.cs | 45 + ...nthropicMessagesClient.CreateMessages.g.cs | 5 + ...geBetaResponsesClient.CreateResponses.g.cs | 5 + ...eChatClient.SendChatCompletionRequest.g.cs | 5 + src/libs/OpenRouter/openapi.yaml | 292 ++ 70 files changed, 6116 insertions(+), 1514 deletions(-) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffort.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenCondition.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginId.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginIdNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoningEffort.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminatorType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenFinishReasonIsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenHasToolCallType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxCostType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxTokensUsedType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenStepCountIsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchPluginId.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs index 9fb71b7b..b86ce9e0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs @@ -72,6 +72,9 @@ public partial interface ISubpackageAnthropicMessagesClient /// /// /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// @@ -106,6 +109,7 @@ public partial interface ISubpackageAnthropicMessagesClient string? sessionId = default, global::OpenRouter.AnthropicSpeed? speed = default, global::System.Collections.Generic.IList? stopSequences = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? stream = default, global::OpenRouter.MessagesRequestSystem? system = default, double? temperature = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs index 3f43a191..454ee268 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs @@ -88,6 +88,9 @@ public partial interface ISubpackageBetaResponsesClient /// /// A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters. /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// Default Value: false @@ -138,6 +141,7 @@ public partial interface ISubpackageBetaResponsesClient string? safetyIdentifier = default, global::OpenRouter.OneOf? serviceTier = default, string? sessionId = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? store = default, bool? stream = default, double? temperature = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs index 4c995700..5cc98654 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs @@ -115,6 +115,9 @@ public partial interface ISubpackageChatClient /// /// Stop sequences (up to 4) /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// Enable streaming response
/// Default Value: false @@ -172,6 +175,7 @@ public partial interface ISubpackageChatClient global::OpenRouter.OneOf? serviceTier = default, string? sessionId = default, global::OpenRouter.ChatRequestStop? stop = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? stream = default, global::OpenRouter.ChatStreamOptions? streamOptions = default, double? temperature = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs index ad1e73d0..bc4b9eae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs @@ -77,6 +77,13 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ChatRequestPluginsItemsVariant8)}"); web = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::OpenRouter.ChatRequestPluginsItemsVariant9? webFetch = default; + if (discriminator?.Id == global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId.WebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ChatRequestPluginsItemsVariant9)}"); + webFetch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::OpenRouter.ChatRequestPluginsItems( discriminator?.Id, @@ -94,7 +101,9 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser responseHealing, - web + web, + + webFetch ); return __value; @@ -157,6 +166,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatRequestPluginsItemsVariant8).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Web!, typeInfo); } + else if (value.IsWebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetch!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffort.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffort.g.cs new file mode 100644 index 00000000..21e7ad23 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffort.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class FusionServerToolConfigReasoningEffortJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.FusionServerToolConfigReasoningEffort 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.FusionServerToolConfigReasoningEffortExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.FusionServerToolConfigReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.FusionServerToolConfigReasoningEffort); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.FusionServerToolConfigReasoningEffort value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.FusionServerToolConfigReasoningEffortExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullable.g.cs new file mode 100644 index 00000000..927c1dd6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class FusionServerToolConfigReasoningEffortNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.FusionServerToolConfigReasoningEffort? 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.FusionServerToolConfigReasoningEffortExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.FusionServerToolConfigReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.FusionServerToolConfigReasoningEffort?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.FusionServerToolConfigReasoningEffort? 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.FusionServerToolConfigReasoningEffortExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs index 295fead5..c6bd1199 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs @@ -77,6 +77,13 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.MessagesRequestPluginsItemsVariant8)}"); web = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::OpenRouter.MessagesRequestPluginsItemsVariant9? webFetch = default; + if (discriminator?.Id == global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId.WebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.MessagesRequestPluginsItemsVariant9)}"); + webFetch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::OpenRouter.MessagesRequestPluginsItems( discriminator?.Id, @@ -94,7 +101,9 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json responseHealing, - web + web, + + webFetch ); return __value; @@ -157,6 +166,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant8).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Web!, typeInfo); } + else if (value.IsWebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetch!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs index 15ab64f3..4d308956 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs @@ -77,6 +77,13 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ResponsesRequestPluginsItemsVariant8)}"); web = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::OpenRouter.ResponsesRequestPluginsItemsVariant9? webFetch = default; + if (discriminator?.Id == global::OpenRouter.ResponsesRequestPluginsItemsDiscriminatorId.WebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9)}"); + webFetch = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::OpenRouter.ResponsesRequestPluginsItems( discriminator?.Id, @@ -94,7 +101,9 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso responseHealing, - web + web, + + webFetch ); return __value; @@ -157,6 +166,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant8).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Web!, typeInfo); } + else if (value.IsWebFetch) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetch!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs index b999a110..27a21c14 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs @@ -154,8 +154,11 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. var __score15 = 0; if (__jsonProps.Contains("parameters")) __score15++; if (__jsonProps.Contains("parameters.analysis_models")) __score15++; + if (__jsonProps.Contains("parameters.max_completion_tokens")) __score15++; if (__jsonProps.Contains("parameters.max_tool_calls")) __score15++; if (__jsonProps.Contains("parameters.model")) __score15++; + if (__jsonProps.Contains("parameters.reasoning")) __score15++; + if (__jsonProps.Contains("parameters.temperature")) __score15++; if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; if (__jsonProps.Contains("parameters")) __score16++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenCondition.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenCondition.g.cs new file mode 100644 index 00000000..7bb67bdb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenCondition.g.cs @@ -0,0 +1,117 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class StopServerToolsWhenConditionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenCondition Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::OpenRouter.StopServerToolsWhenConditionVariant1? finishReasonIs = default; + if (discriminator?.Type == global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType.FinishReasonIs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionVariant1)}"); + finishReasonIs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.StopServerToolsWhenConditionVariant2? hasToolCall = default; + if (discriminator?.Type == global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType.HasToolCall) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionVariant2)}"); + hasToolCall = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.StopServerToolsWhenConditionVariant3? maxCost = default; + if (discriminator?.Type == global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType.MaxCost) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionVariant3)}"); + maxCost = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.StopServerToolsWhenConditionVariant4? maxTokensUsed = default; + if (discriminator?.Type == global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType.MaxTokensUsed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionVariant4)}"); + maxTokensUsed = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.StopServerToolsWhenConditionVariant5? stepCountIs = default; + if (discriminator?.Type == global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType.StepCountIs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.StopServerToolsWhenConditionVariant5)}"); + stepCountIs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::OpenRouter.StopServerToolsWhenCondition( + discriminator?.Type, + finishReasonIs, + + hasToolCall, + + maxCost, + + maxTokensUsed, + + stepCountIs + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenCondition value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsFinishReasonIs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.FinishReasonIs!, typeInfo); + } + else if (value.IsHasToolCall) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.HasToolCall!, typeInfo); + } + else if (value.IsMaxCost) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.MaxCost!, typeInfo); + } + else if (value.IsMaxTokensUsed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.MaxTokensUsed!, typeInfo); + } + else if (value.IsStepCountIs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.StepCountIs!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorType.g.cs new file mode 100644 index 00000000..0a21b5bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenConditionDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType 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.StopServerToolsWhenConditionDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenConditionDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullable.g.cs new file mode 100644 index 00000000..6c26b817 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? 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.StopServerToolsWhenConditionDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? 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.StopServerToolsWhenConditionDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsType.g.cs new file mode 100644 index 00000000..c5c01125 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenFinishReasonIsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenFinishReasonIsType 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.StopServerToolsWhenFinishReasonIsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenFinishReasonIsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenFinishReasonIsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenFinishReasonIsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenFinishReasonIsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullable.g.cs new file mode 100644 index 00000000..e94d6973 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenFinishReasonIsType? 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.StopServerToolsWhenFinishReasonIsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenFinishReasonIsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenFinishReasonIsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenFinishReasonIsType? 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.StopServerToolsWhenFinishReasonIsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallType.g.cs new file mode 100644 index 00000000..da3236c6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenHasToolCallTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenHasToolCallType 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.StopServerToolsWhenHasToolCallTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenHasToolCallType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenHasToolCallType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenHasToolCallType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenHasToolCallTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullable.g.cs new file mode 100644 index 00000000..49cb33a5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenHasToolCallTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenHasToolCallType? 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.StopServerToolsWhenHasToolCallTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenHasToolCallType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenHasToolCallType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenHasToolCallType? 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.StopServerToolsWhenHasToolCallTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostType.g.cs new file mode 100644 index 00000000..68833eba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenMaxCostTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenMaxCostType 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.StopServerToolsWhenMaxCostTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenMaxCostType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenMaxCostType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenMaxCostType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenMaxCostTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullable.g.cs new file mode 100644 index 00000000..461fab50 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenMaxCostTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenMaxCostType? 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.StopServerToolsWhenMaxCostTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenMaxCostType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenMaxCostType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenMaxCostType? 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.StopServerToolsWhenMaxCostTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedType.g.cs new file mode 100644 index 00000000..13545ebf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenMaxTokensUsedTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenMaxTokensUsedType 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.StopServerToolsWhenMaxTokensUsedTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenMaxTokensUsedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenMaxTokensUsedType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenMaxTokensUsedType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenMaxTokensUsedTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullable.g.cs new file mode 100644 index 00000000..1d945a3f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? 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.StopServerToolsWhenMaxTokensUsedTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenMaxTokensUsedType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenMaxTokensUsedType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? 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.StopServerToolsWhenMaxTokensUsedTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsType.g.cs new file mode 100644 index 00000000..12eb5537 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenStepCountIsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenStepCountIsType 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.StopServerToolsWhenStepCountIsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenStepCountIsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenStepCountIsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenStepCountIsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.StopServerToolsWhenStepCountIsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullable.g.cs new file mode 100644 index 00000000..f411a279 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class StopServerToolsWhenStepCountIsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.StopServerToolsWhenStepCountIsType? 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.StopServerToolsWhenStepCountIsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.StopServerToolsWhenStepCountIsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.StopServerToolsWhenStepCountIsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.StopServerToolsWhenStepCountIsType? 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.StopServerToolsWhenStepCountIsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginId.g.cs new file mode 100644 index 00000000..bd224d60 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginId.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchPluginIdJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchPluginId 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.WebFetchPluginIdExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchPluginId)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchPluginId); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchPluginId value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.WebFetchPluginIdExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginIdNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginIdNullable.g.cs new file mode 100644 index 00000000..6b177d02 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchPluginIdNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchPluginIdNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchPluginId? 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.WebFetchPluginIdExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchPluginId)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchPluginId?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchPluginId? 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.WebFetchPluginIdExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 88e5b2ae..134bac5b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -413,6 +413,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdJsonConverter), typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdNullableJsonConverter), @@ -481,6 +485,30 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeNullableJsonConverter), @@ -693,6 +721,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter), + + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeNullableJsonConverter), @@ -2373,6 +2405,8 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.ProviderPreferencesSortJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatsJsonConverter), typeof(global::OpenRouter.JsonConverters.OpenAiResponsesToolChoiceOneOf4TypeJsonConverter), @@ -2856,6 +2890,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchPluginId), TypeInfoPropertyName = "WebSearchPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchPluginUserLocationType), TypeInfoPropertyName = "WebSearchPluginUserLocationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchPluginUserLocation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebFetchPluginId), TypeInfoPropertyName = "WebFetchPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItems), TypeInfoPropertyName = "ResponsesRequestPluginsItems2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant1Id), TypeInfoPropertyName = "ResponsesRequestPluginsItemsVariant1Id2")] @@ -2872,6 +2907,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant7))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant7Id), TypeInfoPropertyName = "ResponsesRequestPluginsItemsVariant7Id2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant8))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItemsDiscriminatorId), TypeInfoPropertyName = "ResponsesRequestPluginsItemsDiscriminatorId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputImage))] @@ -2905,6 +2941,20 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryVerbosity), TypeInfoPropertyName = "ReasoningSummaryVerbosity2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier), TypeInfoPropertyName = "ResponsesRequestServiceTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenFinishReasonIsType), TypeInfoPropertyName = "StopServerToolsWhenFinishReasonIsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenHasToolCallType), TypeInfoPropertyName = "StopServerToolsWhenHasToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenMaxCostType), TypeInfoPropertyName = "StopServerToolsWhenMaxCostType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenMaxTokensUsedType), TypeInfoPropertyName = "StopServerToolsWhenMaxTokensUsedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenStepCountIsType), TypeInfoPropertyName = "StopServerToolsWhenStepCountIsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenCondition), TypeInfoPropertyName = "StopServerToolsWhenCondition2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType), TypeInfoPropertyName = "StopServerToolsWhenConditionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatTextConfigType), TypeInfoPropertyName = "FormatTextConfigType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatTextConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FormatJsonObjectConfigType), TypeInfoPropertyName = "FormatJsonObjectConfigType2")] @@ -3012,6 +3062,8 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatetimeServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatetimeServerToolType), TypeInfoPropertyName = "DatetimeServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatetimeServerTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolConfigReasoningEffort), TypeInfoPropertyName = "FusionServerToolConfigReasoningEffort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolConfigReasoning))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolOpenRouterType), TypeInfoPropertyName = "FusionServerToolOpenRouterType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FusionServerToolOpenRouter))] @@ -3103,24 +3155,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseFunctionToolCallType), TypeInfoPropertyName = "OpenAiResponseFunctionToolCallType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCall))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCallType), TypeInfoPropertyName = "OutputItemImageGenerationCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCall))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageContentItems), TypeInfoPropertyName = "OutputMessageContentItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase0), TypeInfoPropertyName = "OutputMessagePhase02")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase1), TypeInfoPropertyName = "OutputMessagePhase12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase), TypeInfoPropertyName = "OutputMessagePhase2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole), TypeInfoPropertyName = "OutputMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus0), TypeInfoPropertyName = "OutputMessageStatus02")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus1), TypeInfoPropertyName = "OutputMessageStatus12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus2), TypeInfoPropertyName = "OutputMessageStatus22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus), TypeInfoPropertyName = "OutputMessageStatus2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType), TypeInfoPropertyName = "OutputMessageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallType), TypeInfoPropertyName = "OpenAiResponseCustomToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCall))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1Items), TypeInfoPropertyName = "OpenAiResponseCustomToolCallOutputOutputOneOf1Items2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3532,6 +3566,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdJsonConverter), typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdNullableJsonConverter), @@ -3600,6 +3638,30 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeNullableJsonConverter), @@ -3812,6 +3874,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter), + + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeNullableJsonConverter), @@ -5492,6 +5558,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ProviderPreferencesSortJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatsJsonConverter), typeof(global::OpenRouter.JsonConverters.OpenAiResponsesToolChoiceOneOf4TypeJsonConverter), @@ -5740,6 +5808,24 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCallType), TypeInfoPropertyName = "OutputItemImageGenerationCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCall))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageContentItems), TypeInfoPropertyName = "OutputMessageContentItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase0), TypeInfoPropertyName = "OutputMessagePhase02")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase1), TypeInfoPropertyName = "OutputMessagePhase12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhase), TypeInfoPropertyName = "OutputMessagePhase2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole), TypeInfoPropertyName = "OutputMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus0), TypeInfoPropertyName = "OutputMessageStatus02")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus1), TypeInfoPropertyName = "OutputMessageStatus12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus2), TypeInfoPropertyName = "OutputMessageStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatus), TypeInfoPropertyName = "OutputMessageStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType), TypeInfoPropertyName = "OutputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallType), TypeInfoPropertyName = "OpenAiResponseCustomToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCall))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1Items), TypeInfoPropertyName = "OpenAiResponseCustomToolCallOutputOutputOneOf1Items2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1Type), TypeInfoPropertyName = "OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2Type), TypeInfoPropertyName = "OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2Type2")] @@ -5987,6 +6073,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant7))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant7Id), TypeInfoPropertyName = "ChatRequestPluginsItemsVariant7Id2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant8))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId), TypeInfoPropertyName = "ChatRequestPluginsItemsDiscriminatorId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort), TypeInfoPropertyName = "ChatRequestReasoningEffort2")] @@ -6221,25 +6308,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3Type), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsVariant4Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsVariant5Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamType), TypeInfoPropertyName = "AnthropicTextBlockParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageMimeType), TypeInfoPropertyName = "AnthropicImageMimeType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicUrlImageSourceType), TypeInfoPropertyName = "AnthropicUrlImageSourceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSource), TypeInfoPropertyName = "AnthropicImageBlockParamSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type), TypeInfoPropertyName = "AnthropicImageBlockParamSourceVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType), TypeInfoPropertyName = "AnthropicImageBlockParamSourceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamType), TypeInfoPropertyName = "AnthropicImageBlockParamType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicDocumentBlockParamCitations))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -6651,6 +6719,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdJsonConverter), typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdNullableJsonConverter), @@ -6719,6 +6791,30 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeNullableJsonConverter), @@ -6931,6 +7027,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter), + + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeNullableJsonConverter), @@ -8611,6 +8711,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ProviderPreferencesSortJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatsJsonConverter), typeof(global::OpenRouter.JsonConverters.OpenAiResponsesToolChoiceOneOf4TypeJsonConverter), @@ -8859,6 +8961,25 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsVariant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType), TypeInfoPropertyName = "AnthropicTextBlockParamCitationsItemsDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParamType), TypeInfoPropertyName = "AnthropicTextBlockParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicTextBlockParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageMimeType), TypeInfoPropertyName = "AnthropicImageMimeType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicUrlImageSourceType), TypeInfoPropertyName = "AnthropicUrlImageSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSource), TypeInfoPropertyName = "AnthropicImageBlockParamSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type), TypeInfoPropertyName = "AnthropicImageBlockParamSourceVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType), TypeInfoPropertyName = "AnthropicImageBlockParamSourceDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParamType), TypeInfoPropertyName = "AnthropicImageBlockParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicImageBlockParam))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicDocumentBlockParamCitations))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceMediaType), TypeInfoPropertyName = "AnthropicBase64PdfSourceMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSourceType), TypeInfoPropertyName = "AnthropicBase64PdfSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBase64PdfSource))] @@ -8943,6 +9064,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant7))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant7Id), TypeInfoPropertyName = "MessagesRequestPluginsItemsVariant7Id2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant8))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId), TypeInfoPropertyName = "MessagesRequestPluginsItemsDiscriminatorId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicSpeed), TypeInfoPropertyName = "AnthropicSpeed2")] @@ -9339,26 +9461,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant11Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant12Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant13Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant14Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant15Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant16Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant17Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole), TypeInfoPropertyName = "OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationListOrganizationMembersResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems), TypeInfoPropertyName = "ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters), TypeInfoPropertyName = "ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -9770,6 +9872,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdJsonConverter), typeof(global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdNullableJsonConverter), @@ -9838,6 +9944,30 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FormatTextConfigTypeNullableJsonConverter), @@ -10050,6 +10180,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter), + + typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeNullableJsonConverter), @@ -11730,6 +11864,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.ProviderPreferencesSortJsonConverter), + typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter), + typeof(global::OpenRouter.JsonConverters.FormatsJsonConverter), typeof(global::OpenRouter.JsonConverters.OpenAiResponsesToolChoiceOneOf4TypeJsonConverter), @@ -11978,6 +12114,26 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant13Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant14Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant15Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant16Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataVariant17Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType), TypeInfoPropertyName = "UpdateObservabilityDestinationResponseDataDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateObservabilityDestinationResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole), TypeInfoPropertyName = "OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationListOrganizationMembersResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems), TypeInfoPropertyName = "ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters), TypeInfoPropertyName = "ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquartersObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProvidersListProvidersResponse200))] @@ -12080,6 +12236,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [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))] @@ -12424,6 +12581,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.WebSearchPluginIdNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.WebSearchPluginUserLocationTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.WebFetchPluginIdNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant1IdNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ResponsesRequestPluginsItemsVariant2IdJsonConverter()); @@ -12458,6 +12617,18 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningSummaryVerbosityNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ResponsesRequestServiceTierJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FormatTextConfigTypeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FormatTextConfigTypeNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FormatJsonObjectConfigTypeJsonConverter()); @@ -12564,6 +12735,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.CustomToolTypeNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.DatetimeServerToolTypeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FusionServerToolOpenRouterTypeNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ImageGenerationServerToolOpenRouterTypeJsonConverter()); @@ -13404,6 +13577,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.PreferredMaxLatencyJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.PreferredMinThroughputJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ProviderPreferencesSortJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FormatsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OpenAiResponsesToolChoiceOneOf4TypeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ToolChoiceAllowedModeJsonConverter()); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index 7a1a370e..da7dbd27 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -964,5375 +964,5455 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItems? Type234 { get; set; } + public global::OpenRouter.WebFetchPluginId? Type234 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant1? Type235 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItems? Type235 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant1Id? Type236 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant1? Type236 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant2? Type237 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant1Id? Type237 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant2Id? Type238 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant2? Type238 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant3? Type239 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant2Id? Type239 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant3Id? Type240 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant3? Type240 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant4? Type241 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant3Id? Type241 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant4Id? Type242 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant4? Type242 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant5? Type243 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant4Id? Type243 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant5Id? Type244 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant5? Type244 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant6? Type245 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant5Id? Type245 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant6Id? Type246 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant6? Type246 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant7? Type247 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant6Id? Type247 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant7Id? Type248 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant7? Type248 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsVariant8? Type249 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant7Id? Type249 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsDiscriminator? Type250 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant8? Type250 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItemsDiscriminatorId? Type251 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsVariant9? Type251 { get; set; } /// /// /// - public global::OpenRouter.InputImage? Type252 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsDiscriminator? Type252 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplateVariables? Type253 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItemsDiscriminatorId? Type253 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplate? Type254 { get; set; } + public global::OpenRouter.InputImage? Type254 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type255 { get; set; } + public global::OpenRouter.StoredPromptTemplateVariables? Type255 { get; set; } /// /// /// - public global::OpenRouter.ProviderName? Type256 { get; set; } + public global::OpenRouter.StoredPromptTemplate? Type256 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesIgnoreItems? Type257 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type257 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type258 { get; set; } + public global::OpenRouter.ProviderName? Type258 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesOnlyItems? Type259 { get; set; } + public global::OpenRouter.ProviderPreferencesIgnoreItems? Type259 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesOrderItems? Type260 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type260 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type261 { get; set; } + public global::OpenRouter.ProviderPreferencesOnlyItems? Type261 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type262 { get; set; } + public global::OpenRouter.ProviderPreferencesOrderItems? Type262 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type263 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type263 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type264 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type264 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type265 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type265 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type266 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type266 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type267 { get; set; } + public global::OpenRouter.Quantization? Type267 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type268 { get; set; } + public global::OpenRouter.ProviderSort? Type268 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type269 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type269 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type270 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type270 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type271 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type271 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesSort? Type272 { get; set; } + public global::OpenRouter.OneOf? Type272 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferences? Type273 { get; set; } + public global::OpenRouter.OneOf? Type273 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type274 { get; set; } + public global::OpenRouter.ProviderPreferencesSort? Type274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type275 { get; set; } + public global::OpenRouter.ProviderPreferences? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::OpenRouter.OneOf? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::OpenRouter.ReasoningEffort? Type279 { get; set; } + public global::System.Collections.Generic.IList? Type279 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryVerbosity? Type280 { get; set; } + public global::System.Collections.Generic.IList? Type280 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfig? Type281 { get; set; } + public global::OpenRouter.ReasoningEffort? Type281 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type282 { get; set; } + public global::OpenRouter.ReasoningSummaryVerbosity? Type282 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type283 { get; set; } + public global::OpenRouter.ReasoningConfig? Type283 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type284 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type284 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type285 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type285 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type286 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type286 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type287 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type287 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type288 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type288 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type289 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type289 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVerbosity? Type290 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type290 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type291 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionVariant1? Type291 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type292 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionVariant2? Type292 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice0? Type293 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionVariant3? Type293 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice1? Type294 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionVariant4? Type294 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice2? Type295 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionVariant5? Type295 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf3Type? Type296 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type296 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice3? Type297 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type297 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type0? Type298 { get; set; } + public global::System.Collections.Generic.IList? Type298 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type1? Type299 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type299 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type? Type300 { get; set; } + public global::OpenRouter.FormatTextConfig? Type300 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice4? Type301 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type301 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode0? Type302 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type302 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode1? Type303 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type303 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode? Type304 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type304 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type305 { get; set; } + public global::OpenRouter.Formats? Type305 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type306 { get; set; } + public global::OpenRouter.TextExtendedConfigVerbosity? Type306 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf6Type? Type307 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type307 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice6? Type308 { get; set; } + public global::OpenRouter.OneOf? Type308 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf7Type? Type309 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice0? Type309 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice7? Type310 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice1? Type310 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoice? Type311 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice2? Type311 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItemsOneOf0Type? Type312 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf3Type? Type312 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems0? Type313 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice3? Type313 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngineEnum? Type314 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type0? Type314 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type315 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type1? Type315 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type316 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type? Type316 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type317 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice4? Type317 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type318 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode0? Type318 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type319 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode1? Type319 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerTool? Type320 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode? Type320 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type321 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type321 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerTool? Type322 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type322 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type323 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf6Type? Type323 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type324 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice6? Type324 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type325 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf7Type? Type325 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerTool? Type326 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice7? Type326 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type327 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoice? Type327 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerTool? Type328 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItemsOneOf0Type? Type328 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0Type? Type329 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems0? Type329 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0ValueOneOf3Items? Type330 { get; set; } + public global::OpenRouter.WebSearchEngineEnum? Type330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type331 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type331 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0Value? Type332 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type332 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters0? Type333 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type333 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilterType? Type334 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type334 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilter? Type335 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type335 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type336 { get; set; } + public global::OpenRouter.PreviewWebSearchServerTool? Type336 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type337 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type337 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type338 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerTool? Type338 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type339 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type339 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerTool? Type340 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type340 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolEnvironment? Type341 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type341 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolType? Type342 { get; set; } + public global::OpenRouter.LegacyWebSearchServerTool? Type342 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerTool? Type343 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type343 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1MemoryLimit? Type344 { get; set; } + public global::OpenRouter.WebSearchServerTool? Type344 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1Type? Type345 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0Type? Type345 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer1? Type346 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0ValueOneOf3Items? Type346 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type347 { get; set; } + public global::System.Collections.Generic.IList? Type347 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer? Type348 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0Value? Type348 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolType? Type349 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters0? Type349 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerTool? Type350 { get; set; } + public global::OpenRouter.CompoundFilterType? Type350 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools1? Type351 { get; set; } + public global::OpenRouter.CompoundFilter? Type351 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type352 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type352 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type353 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type353 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalOneOf0Always? Type354 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type354 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalOneOf0Never? Type355 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type355 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval0? Type356 { get; set; } + public global::OpenRouter.FileSearchServerTool? Type356 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval1? Type357 { get; set; } + public global::OpenRouter.ComputerUseServerToolEnvironment? Type357 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval2? Type358 { get; set; } + public global::OpenRouter.ComputerUseServerToolType? Type358 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval? Type359 { get; set; } + public global::OpenRouter.ComputerUseServerTool? Type359 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type360 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1MemoryLimit? Type360 { get; set; } /// /// /// - public global::OpenRouter.McpServerTool? Type361 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1Type? Type361 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type362 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer1? Type362 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type363 { get; set; } + public global::OpenRouter.OneOf? Type363 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type364 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer? Type364 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModel? Type365 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolType? Type365 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type366 { get; set; } + public global::OpenRouter.CodeInterpreterServerTool? Type366 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type367 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools1? Type367 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type368 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type368 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolSize? Type369 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type369 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type370 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalOneOf0Always? Type370 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerTool? Type371 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalOneOf0Never? Type371 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type372 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval0? Type372 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellToolType? Type373 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval1? Type373 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellTool? Type374 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval2? Type374 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type375 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval? Type375 { get; set; } /// /// /// - public global::OpenRouter.ShellServerTool? Type376 { get; set; } + public global::OpenRouter.McpServerToolType? Type376 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolType? Type377 { get; set; } + public global::OpenRouter.McpServerTool? Type377 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerTool? Type378 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type378 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf0Type? Type379 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type379 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat0? Type380 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type380 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf1Syntax? Type381 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModel? Type381 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf1Type? Type382 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type382 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat1? Type383 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type383 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat? Type384 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type384 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type385 { get; set; } + public global::OpenRouter.ImageGenerationServerToolSize? Type385 { get; set; } /// /// /// - public global::OpenRouter.CustomTool? Type386 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type386 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type387 { get; set; } + public global::OpenRouter.ImageGenerationServerTool? Type387 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type388 { get; set; } + public global::OpenRouter.OneOf? Type388 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerTool? Type389 { get; set; } + public global::OpenRouter.CodexLocalShellToolType? Type389 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfig? Type390 { get; set; } + public global::OpenRouter.CodexLocalShellTool? Type390 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouterType? Type391 { get; set; } + public global::OpenRouter.ShellServerToolType? Type391 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouter? Type392 { get; set; } + public global::OpenRouter.ShellServerTool? Type392 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type393 { get; set; } + public global::OpenRouter.ApplyPatchServerToolType? Type393 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type394 { get; set; } + public global::OpenRouter.ApplyPatchServerTool? Type394 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type395 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf0Type? Type395 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolConfig? Type396 { get; set; } + public global::OpenRouter.CustomToolFormat0? Type396 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerToolType? Type397 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf1Syntax? Type397 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerTool? Type398 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf1Type? Type398 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type399 { get; set; } + public global::OpenRouter.CustomToolFormat1? Type399 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type400 { get; set; } + public global::OpenRouter.CustomToolFormat? Type400 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type401 { get; set; } + public global::OpenRouter.CustomToolType? Type401 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerTool? Type402 { get; set; } + public global::OpenRouter.CustomTool? Type402 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type403 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type403 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type404 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type404 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type405 { get; set; } + public global::OpenRouter.DatetimeServerTool? Type405 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type406 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type406 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type407 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoning? Type407 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouter? Type408 { get; set; } + public global::OpenRouter.FusionServerToolConfig? Type408 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolConfig? Type409 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouterType? Type409 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type410 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouter? Type410 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolOpenRouter? Type411 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type411 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems? Type412 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type412 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type413 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type413 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type414 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type414 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type415 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type416 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type417 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type418 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type418 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type419 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type420 { get; set; } + public global::OpenRouter.WebFetchServerTool? Type420 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type421 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type421 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type422 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type422 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type423 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type423 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type424 { get; set; } + public global::OpenRouter.WebSearchServerToolConfig? Type424 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type425 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type425 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant1? Type426 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouter? Type426 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant1Type? Type427 { get; set; } + public global::OpenRouter.ApplyPatchServerToolConfig? Type427 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant2? Type428 { get; set; } + public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type428 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant2Type? Type429 { get; set; } + public global::OpenRouter.ApplyPatchServerToolOpenRouter? Type429 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant3? Type430 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems? Type430 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant3Type? Type431 { get; set; } + public global::OpenRouter.TraceConfig? Type431 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant4? Type432 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type432 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant4Type? Type433 { get; set; } + public global::OpenRouter.ResponsesRequest? Type433 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsDiscriminator? Type434 { get; set; } + public global::System.Collections.Generic.IList? Type434 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsDiscriminatorType? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::System.Collections.Generic.IList? Type436 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type437 { get; set; } + public global::OpenRouter.OneOf? Type437 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type438 { get; set; } + public global::System.Collections.Generic.IList? Type438 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type439 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type439 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type440 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type440 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type441 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type441 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type442 { get; set; } + public global::OpenRouter.IncompleteDetails? Type442 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type443 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type443 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type444 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant1? Type444 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type445 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant1Type? Type445 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type446 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant2? Type446 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items0? Type447 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant2Type? Type447 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type448 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant3? Type448 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant1? Type449 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant3Type? Type449 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant1Type? Type450 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant4? Type450 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant2? Type451 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsVariant4Type? Type451 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant2Type? Type452 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsDiscriminator? Type452 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant3? Type453 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0ItemsDiscriminatorType? Type453 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant3Type? Type454 { get; set; } + public global::System.Collections.Generic.IList? Type454 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant4? Type455 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type455 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant4Type? Type456 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type456 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsDiscriminator? Type457 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type457 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsDiscriminatorType? Type458 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type458 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type459 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type459 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type460 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type460 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type461 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type461 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type462 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type462 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemType? Type463 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type463 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type464 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type465 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items0? Type465 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1Items? Type466 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type466 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant1? Type467 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant1? Type467 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant1Type? Type468 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant1Type? Type468 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant2? Type469 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant2? Type469 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant2Type? Type470 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant2Type? Type470 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant3? Type471 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant3? Type471 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant3Type? Type472 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant3Type? Type472 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsDiscriminator? Type473 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant4? Type473 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsDiscriminatorType? Type474 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsVariant4Type? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsDiscriminator? Type475 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutput? Type476 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItemsDiscriminatorType? Type476 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallOutputType? Type477 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type477 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type478 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type478 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseFunctionToolCallType? Type479 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type479 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type480 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type480 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type481 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemType? Type481 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type482 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type482 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageContentItems? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhase0? Type484 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1Items? Type484 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhase1? Type485 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant1? Type485 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhase? Type486 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant1Type? Type486 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type487 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant2? Type487 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatus0? Type488 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant2Type? Type488 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatus1? Type489 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant3? Type489 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatus2? Type490 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsVariant3Type? Type490 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatus? Type491 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsDiscriminator? Type491 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type492 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutputOneOf1ItemsDiscriminatorType? Type492 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type493 { get; set; } + public global::System.Collections.Generic.IList? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputOutput? Type494 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallType? Type495 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallOutputType? Type495 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCall? Type496 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type496 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1Items? Type497 { get; set; } + public global::OpenRouter.OpenAiResponseFunctionToolCallType? Type497 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1? Type498 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type498 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1Type? Type499 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type499 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2? Type500 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type500 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2Type? Type501 { get; set; } + public global::OpenRouter.OutputMessageContentItems? Type501 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant3? Type502 { get; set; } + public global::OpenRouter.OutputMessagePhase0? Type502 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant3Type? Type503 { get; set; } + public global::OpenRouter.OutputMessagePhase1? Type503 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsDiscriminator? Type504 { get; set; } + public global::OpenRouter.OutputMessagePhase? Type504 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsDiscriminatorType? Type505 { get; set; } + public global::OpenRouter.OutputMessageRole? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::OpenRouter.OutputMessageStatus0? Type506 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutput? Type507 { get; set; } + public global::OpenRouter.OutputMessageStatus1? Type507 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseCustomToolCallOutputType? Type508 { get; set; } + public global::OpenRouter.OutputMessageStatus2? Type508 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type509 { get; set; } + public global::OpenRouter.OutputMessageStatus? Type509 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items? Type510 { get; set; } + public global::OpenRouter.OutputMessageType? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::OpenRouter.OutputMessage? Type511 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type512 { get; set; } + public global::System.Collections.Generic.IList? Type512 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultObject? Type513 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallType? Type513 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemContentItems? Type514 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCall? Type514 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemPhase0? Type515 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1Items? Type515 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemPhase1? Type516 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1? Type516 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemPhase? Type517 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant1Type? Type517 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemRole? Type518 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2? Type518 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemStatus0? Type519 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant2Type? Type519 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemStatus1? Type520 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant3? Type520 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemStatus2? Type521 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsVariant3Type? Type521 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemStatus? Type522 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsDiscriminator? Type522 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItemType? Type523 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutputOneOf1ItemsDiscriminatorType? Type523 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisContradictionsItemsStancesItems? Type524 { get; set; } + public global::System.Collections.Generic.IList? Type524 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisContradictionsItems? Type525 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputOutput? Type525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type526 { get; set; } + public global::OpenRouter.OpenAiResponseCustomToolCallOutputType? Type526 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisPartialCoverageItems? Type527 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type527 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisUniqueInsightsItems? Type528 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items? Type528 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysis? Type529 { get; set; } + public global::System.Collections.Generic.IList? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::OpenRouter.BaseInputs? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::OpenRouter.OpenResponsesResultObject? Type531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type532 { get; set; } + public global::OpenRouter.OutputMessageItemContentItems? Type532 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionFailedModelsItems? Type533 { get; set; } + public global::OpenRouter.OutputMessageItemPhase0? Type533 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionResponsesItems? Type534 { get; set; } + public global::OpenRouter.OutputMessageItemPhase1? Type534 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemStatus0? Type535 { get; set; } + public global::OpenRouter.OutputMessageItemPhase? Type535 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemStatus1? Type536 { get; set; } + public global::OpenRouter.OutputMessageItemRole? Type536 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemStatus2? Type537 { get; set; } + public global::OpenRouter.OutputMessageItemStatus0? Type537 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemStatus? Type538 { get; set; } + public global::OpenRouter.OutputMessageItemStatus1? Type538 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemType? Type539 { get; set; } + public global::OpenRouter.OutputMessageItemStatus2? Type539 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type540 { get; set; } + public global::OpenRouter.OutputMessageItemStatus? Type540 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant1? Type541 { get; set; } + public global::OpenRouter.OutputMessageItemType? Type541 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant1Type? Type542 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisContradictionsItemsStancesItems? Type542 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant2? Type543 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisContradictionsItems? Type543 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant3? Type544 { get; set; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant3Type? Type545 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisPartialCoverageItems? Type545 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant4? Type546 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysisUniqueInsightsItems? Type546 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant4Type? Type547 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionAnalysis? Type547 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant5? Type548 { get; set; } + public global::System.Collections.Generic.IList? Type548 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant6? Type549 { get; set; } + public global::System.Collections.Generic.IList? Type549 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant7? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant8? Type551 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionFailedModelsItems? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorMappingOpenrouterFusionResponsesItems? Type552 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant9? Type553 { get; set; } + public global::OpenRouter.OutputReasoningItemStatus0? Type553 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant9Type? Type554 { get; set; } + public global::OpenRouter.OutputReasoningItemStatus1? Type554 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant10? Type555 { get; set; } + public global::OpenRouter.OutputReasoningItemStatus2? Type555 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant10Type? Type556 { get; set; } + public global::OpenRouter.OutputReasoningItemStatus? Type556 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant11? Type557 { get; set; } + public global::OpenRouter.OutputReasoningItemType? Type557 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant11Type? Type558 { get; set; } + public global::OpenRouter.OutputItems? Type558 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant12? Type559 { get; set; } + public global::OpenRouter.OutputItemsVariant1? Type559 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant12Type? Type560 { get; set; } + public global::OpenRouter.OutputItemsVariant1Type? Type560 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant13? Type561 { get; set; } + public global::OpenRouter.OutputItemsVariant2? Type561 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant13Type? Type562 { get; set; } + public global::OpenRouter.OutputItemsVariant3? Type562 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant14? Type563 { get; set; } + public global::OpenRouter.OutputItemsVariant3Type? Type563 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant15? Type564 { get; set; } + public global::OpenRouter.OutputItemsVariant4? Type564 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant15Type? Type565 { get; set; } + public global::OpenRouter.OutputItemsVariant4Type? Type565 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant16? Type566 { get; set; } + public global::OpenRouter.OutputItemsVariant5? Type566 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant16Type? Type567 { get; set; } + public global::OpenRouter.OutputItemsVariant6? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::OpenRouter.OutputItemsVariant7? Type568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type569 { get; set; } + public global::OpenRouter.OutputItemsVariant8? Type569 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant17? Type570 { get; set; } + public global::System.Collections.Generic.IList? Type570 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant17Type? Type571 { get; set; } + public global::OpenRouter.OutputItemsVariant9? Type571 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant18? Type572 { get; set; } + public global::OpenRouter.OutputItemsVariant9Type? Type572 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant19? Type573 { get; set; } + public global::OpenRouter.OutputItemsVariant10? Type573 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant20? Type574 { get; set; } + public global::OpenRouter.OutputItemsVariant10Type? Type574 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant21? Type575 { get; set; } + public global::OpenRouter.OutputItemsVariant11? Type575 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant22? Type576 { get; set; } + public global::OpenRouter.OutputItemsVariant11Type? Type576 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant23? Type577 { get; set; } + public global::OpenRouter.OutputItemsVariant12? Type577 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant24? Type578 { get; set; } + public global::OpenRouter.OutputItemsVariant12Type? Type578 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant25? Type579 { get; set; } + public global::OpenRouter.OutputItemsVariant13? Type579 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type580 { get; set; } + public global::OpenRouter.OutputItemsVariant13Type? Type580 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type581 { get; set; } + public global::OpenRouter.OutputItemsVariant14? Type581 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type582 { get; set; } + public global::OpenRouter.OutputItemsVariant15? Type582 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier2? Type583 { get; set; } + public global::OpenRouter.OutputItemsVariant15Type? Type583 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type584 { get; set; } + public global::OpenRouter.OutputItemsVariant16? Type584 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultToolsItemsOneOf0Type? Type585 { get; set; } + public global::OpenRouter.OutputItemsVariant16Type? Type585 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultToolsItems0? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultToolsItems? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type588 { get; set; } + public global::OpenRouter.OutputItemsVariant17? Type588 { get; set; } /// /// /// - public global::OpenRouter.UsageInputTokensDetails? Type589 { get; set; } + public global::OpenRouter.OutputItemsVariant17Type? Type589 { get; set; } /// /// /// - public global::OpenRouter.UsageOutputTokensDetails? Type590 { get; set; } + public global::OpenRouter.OutputItemsVariant18? Type590 { get; set; } /// /// /// - public global::OpenRouter.UsageCostDetails? Type591 { get; set; } + public global::OpenRouter.OutputItemsVariant19? Type591 { get; set; } /// /// /// - public global::OpenRouter.Usage? Type592 { get; set; } + public global::OpenRouter.OutputItemsVariant20? Type592 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type593 { get; set; } + public global::OpenRouter.OutputItemsVariant21? Type593 { get; set; } /// /// /// - public global::OpenRouter.EndpointInfo? Type594 { get; set; } + public global::OpenRouter.OutputItemsVariant22? Type594 { get; set; } /// /// /// - public global::OpenRouter.EndpointsMetadata? Type595 { get; set; } + public global::OpenRouter.OutputItemsVariant23? Type595 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type596 { get; set; } + public global::OpenRouter.OutputItemsVariant24? Type596 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type597 { get; set; } + public global::OpenRouter.OutputItemsVariant25? Type597 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type598 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type598 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type599 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type599 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type600 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type600 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterMetadata? Type601 { get; set; } + public global::OpenRouter.ServiceTier2? Type601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type602 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type603 { get; set; } + public global::OpenRouter.OpenResponsesResultToolsItemsOneOf0Type? Type603 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type604 { get; set; } + public global::OpenRouter.OpenResponsesResultToolsItems0? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::OpenRouter.OpenResponsesResultToolsItems? Type605 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type606 { get; set; } + public global::OpenRouter.Truncation? Type606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type607 { get; set; } + public global::OpenRouter.UsageInputTokensDetails? Type607 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type608 { get; set; } + public global::OpenRouter.UsageOutputTokensDetails? Type608 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type609 { get; set; } + public global::OpenRouter.UsageCostDetails? Type609 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type610 { get; set; } + public global::OpenRouter.Usage? Type610 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type611 { get; set; } + public global::OpenRouter.RouterAttempt? Type611 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type612 { get; set; } + public global::OpenRouter.EndpointInfo? Type612 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type613 { get; set; } + public global::OpenRouter.EndpointsMetadata? Type613 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type615 { get; set; } + public global::OpenRouter.RouterParams? Type615 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type616 { get; set; } + public global::OpenRouter.PipelineStageType? Type616 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type617 { get; set; } + public global::OpenRouter.PipelineStage? Type617 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type618 { get; set; } + public global::OpenRouter.RoutingStrategy? Type618 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type619 { get; set; } + public global::OpenRouter.OpenRouterMetadata? Type619 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type621 { get; set; } + public global::System.Collections.Generic.IList? Type621 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type622 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type622 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type623 { get; set; } + public global::System.Collections.Generic.IList? Type623 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type624 { get; set; } + public global::OpenRouter.OneOf? Type624 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type625 { get; set; } + public global::System.Collections.Generic.IList? Type625 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type626 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type626 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type627 { get; set; } + public global::OpenRouter.BadRequestResponse? Type627 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type628 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type628 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type629 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type629 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type630 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type630 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type631 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type631 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type632 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type632 { get; set; } /// /// /// - public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type633 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type633 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type634 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type634 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type635 { get; set; } + public global::OpenRouter.NotFoundResponse? Type635 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type636 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type636 { get; set; } /// /// /// - public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type637 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type637 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type638 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type638 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type639 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type639 { get; set; } /// /// /// - public global::OpenRouter.ProviderOptions? Type640 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type640 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type641 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type641 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type642 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type642 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type643 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type643 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type644 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type644 { get; set; } /// /// /// - public global::OpenRouter.SttRequestProvider? Type645 { get; set; } + public global::OpenRouter.InternalServerResponse? Type645 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type646 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type646 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type647 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type647 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type648 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type648 { get; set; } /// /// /// - public global::OpenRouter.ActivityItem? Type649 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type649 { get; set; } /// /// /// - public global::OpenRouter.ActivityResponse? Type650 { get; set; } + public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type651 { get; set; } + public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type651 { get; set; } /// /// /// - public global::OpenRouter.ByokGetParametersProvider? Type652 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type652 { get; set; } /// /// /// - public global::OpenRouter.BYOKProviderSlug? Type653 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type653 { get; set; } /// /// /// - public global::OpenRouter.BYOKKey? Type654 { get; set; } + public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type654 { get; set; } /// /// /// - public global::System.Guid? Type655 { get; set; } + public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type655 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type656 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type657 { get; set; } + public global::OpenRouter.ConflictResponse? Type657 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequest? Type658 { get; set; } + public global::OpenRouter.ProviderOptions? Type658 { get; set; } /// /// /// - public global::OpenRouter.CreateByokKeyResponseData? Type659 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type659 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyResponse? Type660 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type660 { get; set; } /// /// /// - public global::OpenRouter.GetByokKeyResponseData? Type661 { get; set; } + public global::OpenRouter.SpeechRequest? Type661 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type662 { get; set; } + public global::OpenRouter.STTInputAudio? Type662 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type663 { get; set; } + public global::OpenRouter.SttRequestProvider? Type663 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type664 { get; set; } + public global::OpenRouter.STTRequest? Type664 { get; set; } /// /// /// - public global::OpenRouter.UpdateByokKeyResponseData? Type665 { get; set; } + public global::OpenRouter.STTUsage? Type665 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type666 { get; set; } + public global::OpenRouter.STTResponse? Type666 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type667 { get; set; } + public global::OpenRouter.ActivityItem? Type667 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type668 { get; set; } + public global::OpenRouter.ActivityResponse? Type668 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingFileFile? Type669 { get; set; } + public global::System.Collections.Generic.IList? Type669 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail? Type670 { get; set; } + public global::OpenRouter.ByokGetParametersProvider? Type670 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrl? Type671 { get; set; } + public global::OpenRouter.BYOKProviderSlug? Type671 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingInputAudioInputAudio? Type672 { get; set; } + public global::OpenRouter.BYOKKey? Type672 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type673 { get; set; } + public global::System.Guid? Type673 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type674 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type674 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControlType? Type675 { get; set; } + public global::System.Collections.Generic.IList? Type675 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type676 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequest? Type676 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type677 { get; set; } + public global::OpenRouter.CreateByokKeyResponseData? Type677 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type678 { get; set; } + public global::OpenRouter.CreateBYOKKeyResponse? Type678 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type679 { get; set; } + public global::OpenRouter.GetByokKeyResponseData? Type679 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant1? Type680 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type680 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant1Type? Type681 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type681 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant2? Type682 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type682 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant2Type? Type683 { get; set; } + public global::OpenRouter.UpdateByokKeyResponseData? Type683 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant3? Type684 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type684 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant3Type? Type685 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type685 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant4? Type686 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type686 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant5? Type687 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingFileFile? Type687 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant6? Type688 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail? Type688 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminator? Type689 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrl? Type689 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorType? Type690 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingInputAudioInputAudio? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type691 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type691 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorMappingAssistantContent? Type692 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type692 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type693 { get; set; } + public global::OpenRouter.ChatContentCacheControlType? Type693 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItems? Type694 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type695 { get; set; } + public global::OpenRouter.ChatContentTextType? Type695 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type696 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type696 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant1? Type697 { get; set; } + public global::OpenRouter.ChatContentItems? Type697 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant1Type? Type698 { get; set; } + public global::OpenRouter.ChatContentItemsVariant1? Type698 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant2? Type699 { get; set; } + public global::OpenRouter.ChatContentItemsVariant1Type? Type699 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant2Type? Type700 { get; set; } + public global::OpenRouter.ChatContentItemsVariant2? Type700 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant3? Type701 { get; set; } + public global::OpenRouter.ChatContentItemsVariant2Type? Type701 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant3Type? Type702 { get; set; } + public global::OpenRouter.ChatContentItemsVariant3? Type702 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type703 { get; set; } + public global::OpenRouter.ChatContentItemsVariant3Type? Type703 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type704 { get; set; } + public global::OpenRouter.ChatContentItemsVariant4? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::OpenRouter.ChatContentItemsVariant5? Type705 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type706 { get; set; } + public global::OpenRouter.ChatContentItemsVariant6? Type706 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type707 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminator? Type707 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type708 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorType? Type708 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type710 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorMappingAssistantContent? Type710 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorMappingDeveloperContent? Type711 { get; set; } + public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type711 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageContent? Type712 { get; set; } + public global::OpenRouter.ChatAssistantImagesItems? Type712 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageContent? Type714 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type714 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type715 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant1? Type715 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageContent? Type716 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant1Type? Type716 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type717 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant2? Type717 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type718 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant2Type? Type718 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant1? Type719 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant3? Type719 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant1Role? Type720 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant3Type? Type720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type721 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type721 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant2? Type722 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type722 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant2Role? Type723 { get; set; } + public global::System.Collections.Generic.IList? Type723 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant3? Type724 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type724 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant4? Type725 { get; set; } + public global::OpenRouter.ChatToolCallType? Type725 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant5? Type726 { get; set; } + public global::OpenRouter.ChatToolCall? Type726 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminator? Type727 { get; set; } + public global::OpenRouter.ChatContentText? Type727 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorRole? Type728 { get; set; } + public global::System.Collections.Generic.IList? Type728 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitiesItems? Type729 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorMappingDeveloperContent? Type729 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItems? Type730 { get; set; } + public global::OpenRouter.ChatSystemMessageContent? Type730 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant1? Type731 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type731 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant1Id? Type732 { get; set; } + public global::OpenRouter.ChatToolMessageContent? Type732 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant2? Type733 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type733 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant2Id? Type734 { get; set; } + public global::OpenRouter.ChatUserMessageContent? Type734 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant3? Type735 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type735 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant3Id? Type736 { get; set; } + public global::OpenRouter.ChatMessages? Type736 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant4? Type737 { get; set; } + public global::OpenRouter.ChatMessagesVariant1? Type737 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant4Id? Type738 { get; set; } + public global::OpenRouter.ChatMessagesVariant1Role? Type738 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant5? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant5Id? Type740 { get; set; } + public global::OpenRouter.ChatMessagesVariant2? Type740 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant6? Type741 { get; set; } + public global::OpenRouter.ChatMessagesVariant2Role? Type741 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant6Id? Type742 { get; set; } + public global::OpenRouter.ChatMessagesVariant3? Type742 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant7? Type743 { get; set; } + public global::OpenRouter.ChatMessagesVariant4? Type743 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant7Id? Type744 { get; set; } + public global::OpenRouter.ChatMessagesVariant5? Type744 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant8? Type745 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminator? Type745 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsDiscriminator? Type746 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorRole? Type746 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId? Type747 { get; set; } + public global::OpenRouter.ChatRequestModalitiesItems? Type747 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type748 { get; set; } + public global::OpenRouter.ChatRequestPluginsItems? Type748 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type749 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant1? Type749 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type750 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant1Id? Type750 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type751 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant2? Type751 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type752 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant2Id? Type752 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormat? Type753 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant3? Type753 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant1? Type754 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant3Id? Type754 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant1Type? Type755 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant4? Type755 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant2? Type756 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant4Id? Type756 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant3? Type757 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant5? Type757 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant3Type? Type758 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant5Id? Type758 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant4? Type759 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant6? Type759 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant4Type? Type760 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant6Id? Type760 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant5? Type761 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant7? Type761 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant5Type? Type762 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant7Id? Type762 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type763 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant8? Type763 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type764 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant9? Type764 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type765 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsDiscriminator? Type765 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestStop? Type766 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId? Type766 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type767 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type767 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice0? Type768 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type768 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice1? Type769 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type769 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice2? Type770 { get; set; } + public global::OpenRouter.OneOf? Type770 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type771 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type771 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type772 { get; set; } + public global::OpenRouter.ChatRequestResponseFormat? Type772 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type773 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant1? Type773 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type774 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant1Type? Type774 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Function? Type775 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant2? Type775 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Type? Type776 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant3? Type776 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool0? Type777 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant3Type? Type777 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type778 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant4? Type778 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type779 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant4Type? Type779 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type780 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant5? Type780 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type781 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant5Type? Type781 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type782 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type782 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type783 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type783 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type784 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type784 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type785 { get; set; } + public global::OpenRouter.ChatRequestStop? Type785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type786 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type787 { get; set; } + public global::OpenRouter.ChatToolChoice0? Type787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type788 { get; set; } + public global::OpenRouter.ChatToolChoice1? Type788 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type789 { get; set; } + public global::OpenRouter.ChatToolChoice2? Type789 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type790 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type790 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type791 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type791 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type792 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type792 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type793 { get; set; } + public global::OpenRouter.ChatToolChoice? Type793 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type794 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Function? Type794 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type795 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Type? Type795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type796 { get; set; } + public global::OpenRouter.ChatFunctionTool0? Type796 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type797 { get; set; } + public global::OpenRouter.WebSearchConfig? Type797 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type798 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type798 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type799 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type799 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type800 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type800 { get; set; } /// /// /// - public global::OpenRouter.CostDetails? Type801 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type801 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type802 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type802 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type803 { get; set; } + public global::OpenRouter.ChatRequest? Type803 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type804 { get; set; } + public global::System.Collections.Generic.Dictionary? Type804 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type805 { get; set; } + public global::System.Collections.Generic.IList? Type805 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type808 { get; set; } + public global::OpenRouter.OneOf? Type808 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type809 { get; set; } + public global::System.Collections.Generic.IList? Type809 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetCreditsResponse200? Type810 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type810 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type811 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type811 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type812 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type812 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type813 { get; set; } + public global::System.Collections.Generic.IList? Type813 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type814 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type814 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type815 { get; set; } + public global::System.Collections.Generic.IList? Type815 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type816 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type816 { get; set; } /// /// /// - public global::OpenRouter.MultimodalMedia? Type817 { get; set; } + public global::OpenRouter.ChatChoice? Type817 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudioType? Type818 { get; set; } + public global::OpenRouter.ChatResultObject? Type818 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudio? Type819 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type819 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideoType? Type820 { get; set; } + public global::OpenRouter.CostDetails? Type820 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideo? Type821 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type821 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFileType? Type822 { get; set; } + public global::OpenRouter.ChatUsage? Type822 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFile? Type823 { get; set; } + public global::OpenRouter.OneOf? Type823 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type824 { get; set; } + public global::OpenRouter.OneOf? Type824 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type825 { get; set; } + public global::OpenRouter.ChatResult? Type825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type826 { get; set; } + public global::System.Collections.Generic.IList? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::System.DateTimeOffset? Type827 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type828 { get; set; } + public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type829 { get; set; } + public global::OpenRouter.CreditsGetCreditsResponse200? Type829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type830 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type830 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type831 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type831 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type832 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type832 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type833 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type833 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type834 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type834 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type835 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type835 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderSort? Type836 { get; set; } + public global::OpenRouter.MultimodalMedia? Type836 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type837 { get; set; } + public global::OpenRouter.ContentPartInputAudioType? Type837 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type838 { get; set; } + public global::OpenRouter.ContentPartInputAudio? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::OpenRouter.ContentPartInputVideoType? Type839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type840 { get; set; } + public global::OpenRouter.ContentPartInputVideo? Type840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type841 { get; set; } + public global::OpenRouter.ContentPartInputFileType? Type841 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type842 { get; set; } + public global::OpenRouter.ContentPartInputFile? Type842 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type843 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type843 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type844 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type844 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type845 { get; set; } + public global::System.Collections.Generic.IList? Type845 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type846 { get; set; } + public global::System.Collections.Generic.IList? Type846 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type847 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type847 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type848 { get; set; } + public global::System.Collections.Generic.IList? Type848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type849 { get; set; } + public global::System.Collections.Generic.IList>? Type849 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type850 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type850 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitectureInstructType? Type851 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type851 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type852 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type852 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type853 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type853 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type854 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type855 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderSort? Type855 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type856 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::OpenRouter.OneOf? Type857 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type859 { get; set; } + public global::System.Collections.Generic.IList? Type859 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type860 { get; set; } + public global::System.Collections.Generic.IList? Type860 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type861 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type861 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type862 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type862 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type863 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type863 { get; set; } /// /// /// - public global::OpenRouter.Model? Type864 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type865 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type866 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type866 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type867 { get; set; } + public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type867 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type868 { get; set; } + public global::System.Collections.Generic.IList? Type868 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type869 { get; set; } + public global::OpenRouter.InputModality? Type869 { get; set; } /// /// /// - public global::OpenRouter.EndpointStatus? Type870 { get; set; } + public global::OpenRouter.ModelArchitectureInstructType? Type870 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointThroughputLast30M? Type871 { get; set; } + public global::OpenRouter.OutputModality? Type871 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type872 { get; set; } + public global::OpenRouter.ModelGroup? Type872 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type873 { get; set; } + public global::OpenRouter.ModelArchitecture? Type873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type874 { get; set; } + public global::System.Collections.Generic.IList? Type874 { get; set; } /// /// /// - public global::OpenRouter.InstructType2? Type875 { get; set; } + public global::OpenRouter.OneOf? Type875 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type876 { get; set; } + public global::System.Collections.Generic.IList? Type876 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type877 { get; set; } + public global::OpenRouter.DefaultParameters? Type877 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type878 { get; set; } + public global::OpenRouter.ModelLinks? Type878 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsResponse200? Type879 { get; set; } + public global::OpenRouter.PerRequestLimits? Type879 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type880 { get; set; } + public global::OpenRouter.PublicPricing? Type880 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type881 { get; set; } + public global::OpenRouter.Parameter? Type881 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type882 { get; set; } + public global::OpenRouter.TopProviderInfo? Type882 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type883 { get; set; } + public global::OpenRouter.Model? Type883 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type884 { get; set; } + public global::System.Collections.Generic.IList? Type884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type885 { get; set; } + public global::System.Collections.Generic.IList? Type885 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type886 { get; set; } + public global::OpenRouter.ModelsListResponse? Type886 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput0? Type887 { get; set; } + public global::OpenRouter.PercentileStats? Type887 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput1? Type888 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type888 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput? Type889 { get; set; } + public global::OpenRouter.EndpointStatus? Type889 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type890 { get; set; } + public global::OpenRouter.PublicEndpointThroughputLast30M? Type890 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type891 { get; set; } + public global::OpenRouter.PublicEndpoint? Type891 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type892 { get; set; } + public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type892 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinAction? Type893 { get; set; } + public global::System.Collections.Generic.IList? Type893 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinSlug? Type894 { get; set; } + public global::OpenRouter.InstructType2? Type894 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntry? Type895 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type895 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterAction? Type896 { get; set; } + public global::OpenRouter.OneOf? Type896 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterEntry? Type897 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type897 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type898 { get; set; } + public global::OpenRouter.EndpointsListEndpointsResponse200? Type898 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type899 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type900 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type901 { get; set; } + public global::OpenRouter.ProviderResponse? Type901 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type902 { get; set; } + public global::OpenRouter.GenerationResponseData? Type902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type903 { get; set; } + public global::OpenRouter.OneOf? Type903 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type904 { get; set; } + public global::System.Collections.Generic.IList? Type904 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponseData? Type905 { get; set; } + public global::OpenRouter.GenerationResponse? Type905 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type906 { get; set; } + public global::OpenRouter.GenerationContentDataInput0? Type906 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponseData? Type907 { get; set; } + public global::OpenRouter.GenerationContentDataInput1? Type907 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type908 { get; set; } + public global::OpenRouter.GenerationContentDataInput? Type908 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type909 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type909 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type910 { get; set; } + public global::OpenRouter.GenerationContentData? Type910 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponseData? Type911 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type911 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type912 { get; set; } + public global::OpenRouter.ContentFilterBuiltinAction? Type912 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type913 { get; set; } + public global::OpenRouter.ContentFilterBuiltinSlug? Type913 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type914 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntry? Type914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type915 { get; set; } + public global::OpenRouter.ContentFilterAction? Type915 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type916 { get; set; } + public global::OpenRouter.ContentFilterEntry? Type916 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type917 { get; set; } + public global::OpenRouter.GuardrailInterval? Type917 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type918 { get; set; } + public global::OpenRouter.Guardrail? Type918 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type919 { get; set; } + public global::System.Collections.Generic.IList? Type919 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type920 { get; set; } + public global::System.Collections.Generic.IList? Type920 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type921 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type922 { get; set; } + public global::System.Collections.Generic.IList? Type922 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type923 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type923 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type924 { get; set; } + public global::OpenRouter.CreateGuardrailResponseData? Type924 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type925 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type925 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type926 { get; set; } + public global::OpenRouter.GetGuardrailResponseData? Type926 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type927 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type927 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type928 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type928 { get; set; } /// /// /// - public global::System.DateTime? Type929 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type929 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type930 { get; set; } + public global::OpenRouter.UpdateGuardrailResponseData? Type930 { get; set; } /// /// /// - public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type931 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type931 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysListResponse200? Type932 { get; set; } + public global::OpenRouter.KeyAssignment? Type932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type933 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type933 { get; set; } /// /// /// - public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type934 { get; set; } + public global::System.Collections.Generic.IList? Type934 { get; set; } /// /// /// - public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type935 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type935 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysCreateKeysResponse201? Type936 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type936 { get; set; } /// /// /// - public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type937 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type937 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetKeyResponse200? Type938 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type938 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type939 { get; set; } + public global::OpenRouter.MemberAssignment? Type939 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type940 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type940 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type941 { get; set; } + public global::System.Collections.Generic.IList? Type941 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type942 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type942 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type943 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type943 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type944 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type944 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type945 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type945 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type946 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type946 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type947 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type947 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type948 { get; set; } + public global::System.DateTime? Type948 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1? Type949 { get; set; } + public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type949 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1Type? Type950 { get; set; } + public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type950 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2? Type951 { get; set; } + public global::OpenRouter.ApiKeysListResponse200? Type951 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2Type? Type952 { get; set; } + public global::System.Collections.Generic.IList? Type952 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminator? Type953 { get; set; } + public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type953 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminatorType? Type954 { get; set; } + public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type954 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type955 { get; set; } + public global::OpenRouter.ApiKeysCreateKeysResponse201? Type955 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type956 { get; set; } + public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type956 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type957 { get; set; } + public global::OpenRouter.ApiKeysGetKeyResponse200? Type957 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type958 { get; set; } + public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type958 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type959 { get; set; } + public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type959 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type960 { get; set; } + public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type960 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type961 { get; set; } + public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type961 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type962 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type962 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type963 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type963 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type964 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type964 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2TriggerType? Type965 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type965 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type966 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type966 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type967 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type967 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type968 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1? Type968 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type969 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1Type? Type969 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type970 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2? Type970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type971 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2Type? Type971 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type972 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminator? Type972 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1? Type973 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminatorType? Type973 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1Type? Type974 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type974 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2? Type975 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type975 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2Type? Type976 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type976 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3? Type977 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type977 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3Type? Type978 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type978 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4? Type979 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type979 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type? Type980 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type980 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5? Type981 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type981 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type? Type982 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type982 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator? Type983 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type983 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType? Type984 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2TriggerType? Type984 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type985 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type985 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type986 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type987 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type987 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type988 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type988 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type989 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type989 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSource? Type990 { get; set; } + public global::System.Collections.Generic.IList? Type990 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant1? Type991 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type991 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type? Type992 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1? Type992 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant2? Type993 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1Type? Type993 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type994 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2? Type994 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type995 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2Type? Type995 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type996 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3? Type996 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type997 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3Type? Type997 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type998 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4? Type998 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type999 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type? Type999 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type1000 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5? Type1000 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type1001 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type? Type1001 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type1002 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator? Type1002 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type1003 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType? Type1003 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type1004 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type1004 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type1005 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type1005 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant1? Type1006 { get; set; } + public global::System.Collections.Generic.IList? Type1006 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant2? Type1007 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type1007 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminator? Type1008 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type1008 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminatorType? Type1009 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSource? Type1009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1010 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant1? Type1010 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type1011 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type? Type1011 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type1012 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant2? Type1012 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type1013 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type1013 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type1014 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type1014 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type1015 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type1015 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type1016 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type1016 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type1017 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type1017 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type1018 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type1018 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1019 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type1019 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type1020 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type1020 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type1021 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type1021 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type1022 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type1022 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type1023 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type1023 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type1024 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type1024 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type1025 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant1? Type1025 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type1026 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant2? Type1026 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1027 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminator? Type1027 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type1028 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminatorType? Type1028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1029 { get; set; } + public global::System.Collections.Generic.IList? Type1029 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type1030 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type1030 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type1031 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type1031 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type1032 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type1032 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type1033 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type1033 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type1034 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type1034 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type1035 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type1035 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type1036 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type1036 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type1037 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type1037 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type1038 { get; set; } + public global::OpenRouter.OneOf? Type1038 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type1039 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type1039 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type1040 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type1040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1041 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type1041 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type1042 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type1042 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type1043 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type1043 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type1044 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type1044 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type1045 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type1045 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type1046 { get; set; } + public global::System.Collections.Generic.IList? Type1046 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type1047 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type1047 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type1048 { get; set; } + public global::System.Collections.Generic.IList? Type1048 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type1049 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type1049 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1050 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type1050 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1051 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type1051 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type1052 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type1052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1053 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type1053 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContent? Type1054 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type1054 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1055 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type1055 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1056 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type1056 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1057 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type1057 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1058 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type1058 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1059 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type1059 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1060 { get; set; } + public global::System.Collections.Generic.IList? Type1060 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1061 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type1061 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1062 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type1062 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1063 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type1063 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1064 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type1064 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1065 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type1065 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1066 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type1066 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type1067 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type1067 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant1? Type1068 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type1068 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant1Id? Type1069 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1069 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant2? Type1070 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1070 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant2Id? Type1071 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type1071 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant3? Type1072 { get; set; } + public global::System.Collections.Generic.IList? Type1072 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant3Id? Type1073 { get; set; } + public global::OpenRouter.MessagesMessageParamContent? Type1073 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant4? Type1074 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1074 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant4Id? Type1075 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1075 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant5? Type1076 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1076 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant5Id? Type1077 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1077 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant6? Type1078 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1078 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant6Id? Type1079 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1079 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant7? Type1080 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1080 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant7Id? Type1081 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1081 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant8? Type1082 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1082 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsDiscriminator? Type1083 { get; set; } + public global::OpenRouter.OneOf? Type1083 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId? Type1084 { get; set; } + public global::OpenRouter.OneOf? Type1084 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type1085 { get; set; } + public global::OpenRouter.OneOf? Type1085 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type1086 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type1086 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type1087 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant1? Type1087 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type1088 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant1Id? Type1088 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type1089 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant2? Type1089 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type1090 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant2Id? Type1090 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type1091 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant3? Type1091 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type1092 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant3Id? Type1092 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type1093 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant4? Type1093 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type1094 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant4Id? Type1094 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type1095 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant5? Type1095 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type1096 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant5Id? Type1096 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type1097 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant6? Type1097 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type1098 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant6Id? Type1098 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type1099 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant7? Type1099 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type1100 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant7Id? Type1100 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type1101 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant8? Type1101 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type1102 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant9? Type1102 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type1103 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsDiscriminator? Type1103 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type1104 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId? Type1104 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type1105 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type1105 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type1106 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type1106 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type1107 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type1107 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type1108 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type1108 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type1109 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type1109 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type1110 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type1110 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type1111 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type1111 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type1112 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type1112 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type1113 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type1113 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type1114 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type1114 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type1115 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type1115 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type1116 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type1116 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type1117 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type1117 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAllowedCallersItems? Type1118 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type1118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1119 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type1119 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type1120 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type1120 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type1121 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type1121 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type1122 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type1122 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5CachingType? Type1123 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type1123 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Caching? Type1124 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type1124 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Name? Type1125 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type1125 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Type? Type1126 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type1126 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems5? Type1127 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type1127 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems11? Type1128 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type1128 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type1129 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type1129 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1130 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type1130 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1131 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type1131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1132 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type1132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1133 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type1133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1134 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type1134 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type1135 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type1135 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type1136 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type1136 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type1137 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type1137 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type1138 { get; set; } + public global::OpenRouter.AnthropicAllowedCallersItems? Type1138 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type1139 { get; set; } + public global::System.Collections.Generic.IList? Type1139 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type1140 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type1140 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type1141 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type1141 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentVariant1? Type1142 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type1142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1143 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5CachingType? Type1143 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentVariant2? Type1144 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Caching? Type1144 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type1145 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Name? Type1145 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type1146 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Type? Type1146 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type1147 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems5? Type1147 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type1148 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems11? Type1148 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type1149 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type1149 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type1150 { get; set; } + public global::OpenRouter.MessagesRequest? Type1150 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type1151 { get; set; } + public global::OpenRouter.OneOf? Type1151 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type1152 { get; set; } + public global::System.Collections.Generic.IList? Type1152 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type1153 { get; set; } + public global::System.Collections.Generic.IList? Type1153 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant1? Type1154 { get; set; } + public global::System.Collections.Generic.IList? Type1154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1155 { get; set; } + public global::OpenRouter.AnthropicContainer? Type1155 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant2? Type1156 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type1156 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant3? Type1157 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type1157 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type1158 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type1158 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type1159 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type1159 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1160 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type1160 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant1? Type1161 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type1161 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant1Type? Type1162 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentVariant1? Type1162 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant2? Type1163 { get; set; } + public global::System.Collections.Generic.IList? Type1163 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant2Type? Type1164 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentVariant2? Type1164 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant3? Type1165 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type1165 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant3Type? Type1166 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type1166 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1167 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type1167 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1168 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type1168 { get; set; } /// /// /// - public global::OpenRouter.OrAnthropicServerToolUseBlockType? Type1169 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type1169 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type1170 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type1170 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant1? Type1171 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type1171 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant1Type? Type1172 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type1172 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant2? Type1173 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type1173 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant2Type? Type1174 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant1? Type1174 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant3? Type1175 { get; set; } + public global::System.Collections.Generic.IList? Type1175 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant3Type? Type1176 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant2? Type1176 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant4? Type1177 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant3? Type1177 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant4Type? Type1178 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type1178 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant5? Type1179 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type1179 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant5Type? Type1180 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1180 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminator? Type1181 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant1? Type1181 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type1182 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant1Type? Type1182 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type1183 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant2? Type1183 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type1184 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant2Type? Type1184 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type1185 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant3? Type1185 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type1186 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant3Type? Type1186 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type1187 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1187 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type1188 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1188 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type1189 { get; set; } + public global::OpenRouter.OrAnthropicServerToolUseBlockType? Type1189 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant1? Type1190 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type1190 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant2? Type1191 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant1? Type1191 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant3? Type1192 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant1Type? Type1192 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant4? Type1193 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant2? Type1193 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type1194 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant2Type? Type1194 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type1195 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant3? Type1195 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type1196 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant3Type? Type1196 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type1197 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant4? Type1197 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type1198 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant4Type? Type1198 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type1199 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant5? Type1199 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type1200 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant5Type? Type1200 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentVariant1? Type1201 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminator? Type1201 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentVariant2? Type1202 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type1202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1203 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type1203 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type1204 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type1204 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type1205 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type1205 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type1206 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type1206 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant1? Type1207 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type1207 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant1Type? Type1208 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type1208 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant2? Type1209 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type1209 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant2Type? Type1210 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant1? Type1210 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant3? Type1211 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant2? Type1211 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant3Type? Type1212 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant3? Type1212 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminator? Type1213 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant4? Type1213 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminatorType? Type1214 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type1214 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type1215 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type1215 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type1216 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type1216 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type1217 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type1217 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type1218 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type1218 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type1219 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type1219 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type1220 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type1220 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type1221 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentVariant1? Type1221 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant1? Type1222 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentVariant2? Type1222 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant1Type? Type1223 { get; set; } + public global::System.Collections.Generic.IList? Type1223 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant2? Type1224 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type1224 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type1225 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type1225 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type1226 { get; set; } + public global::OpenRouter.AnthropicCaller? Type1226 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type1227 { get; set; } + public global::OpenRouter.AnthropicCallerVariant1? Type1227 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type1228 { get; set; } + public global::OpenRouter.AnthropicCallerVariant1Type? Type1228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1229 { get; set; } + public global::OpenRouter.AnthropicCallerVariant2? Type1229 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type1230 { get; set; } + public global::OpenRouter.AnthropicCallerVariant2Type? Type1230 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type1231 { get; set; } + public global::OpenRouter.AnthropicCallerVariant3? Type1231 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type1232 { get; set; } + public global::OpenRouter.AnthropicCallerVariant3Type? Type1232 { get; set; } /// /// /// - public global::OpenRouter.OrAnthropicContentBlockDiscriminatorMappingWebSearchToolResultContent? Type1233 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminator? Type1233 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type1234 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminatorType? Type1234 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant1? Type1235 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type1235 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant1Type? Type1236 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type1236 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant2? Type1237 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type1237 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant2Type? Type1238 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type1238 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant3? Type1239 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type1239 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant3Type? Type1240 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type1240 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant4? Type1241 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type1241 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant4Type? Type1242 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant1? Type1242 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant5? Type1243 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant1Type? Type1243 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant5Type? Type1244 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant2? Type1244 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant6? Type1245 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type1245 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant6Type? Type1246 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type1246 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant7? Type1247 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type1247 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant8? Type1248 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type1248 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant8Type? Type1249 { get; set; } + public global::System.Collections.Generic.IList? Type1249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1250 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type1250 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant9? Type1251 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type1251 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant9Type? Type1252 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type1252 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant10? Type1253 { get; set; } + public global::OpenRouter.OrAnthropicContentBlockDiscriminatorMappingWebSearchToolResultContent? Type1253 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant10Type? Type1254 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type1254 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant11? Type1255 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant1? Type1255 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant11Type? Type1256 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant1Type? Type1256 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant12? Type1257 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant2? Type1257 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant12Type? Type1258 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant2Type? Type1258 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant13? Type1259 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant3? Type1259 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant13Type? Type1260 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant3Type? Type1260 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant14? Type1261 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant4? Type1261 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant14Type? Type1262 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant4Type? Type1262 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1263 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant5? Type1263 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1264 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant5Type? Type1264 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultRole? Type1265 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant6? Type1265 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type1266 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant6Type? Type1266 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type1267 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant7? Type1267 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type1268 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant8? Type1268 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1269 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant8Type? Type1269 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type1270 { get; set; } + public global::System.Collections.Generic.IList? Type1270 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultType? Type1271 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant9? Type1271 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type1272 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant9Type? Type1272 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type1273 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant10? Type1273 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type1274 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant10Type? Type1274 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type1275 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant11? Type1275 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type1276 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant11Type? Type1276 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type1277 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant12? Type1277 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type1278 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant12Type? Type1278 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type1279 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant13? Type1279 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationType? Type1280 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant13Type? Type1280 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type1281 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant14? Type1281 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type1282 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant14Type? Type1282 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type1283 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1283 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type1284 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1285 { get; set; } + public global::OpenRouter.MessagesResultRole? Type1285 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type1286 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type1286 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagement? Type1287 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type1287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1288 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type1288 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1289 { get; set; } + public global::OpenRouter.OneOf? Type1289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1290 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type1290 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1291 { get; set; } + public global::OpenRouter.MessagesResultType? Type1291 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type1292 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type1292 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type1293 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type1293 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type1294 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type1294 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type1295 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type1295 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1296 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type1296 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1297 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type1297 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingArizeConfig? Type1298 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type1298 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsLogic? Type1299 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type1299 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsField? Type1300 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationType? Type1300 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsOperator? Type1301 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type1301 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsValue? Type1302 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type1302 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItems? Type1303 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type1303 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItems? Type1304 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type1304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1305 { get; set; } + public global::System.Collections.Generic.IList? Type1305 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1306 { get; set; } + public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type1306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1307 { get; set; } + public global::OpenRouter.MessagesResultContextManagement? Type1307 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingBraintrustConfig? Type1308 { get; set; } + public global::System.Collections.Generic.IList? Type1308 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingClickhouseConfig? Type1309 { get; set; } + public global::OpenRouter.MessagesResult? Type1309 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingDatadogConfig? Type1310 { get; set; } + public global::System.Collections.Generic.IList? Type1310 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingGrafanaConfig? Type1311 { get; set; } + public global::OpenRouter.OneOf? Type1311 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangfuseConfig? Type1312 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type1312 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangsmithConfig? Type1313 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type1313 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfigRegion? Type1314 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type1314 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfig? Type1315 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type1315 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOpikConfig? Type1316 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1316 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOtelCollectorConfig? Type1317 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1317 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingPosthogConfig? Type1318 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingArizeConfig? Type1318 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingRampConfig? Type1319 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsLogic? Type1319 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingS3Config? Type1320 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsField? Type1320 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSentryConfig? Type1321 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsOperator? Type1321 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSnowflakeConfig? Type1322 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsValue? Type1322 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWeaveConfig? Type1323 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItems? Type1323 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfigMethod? Type1324 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItems? Type1324 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfig? Type1325 { get; set; } + public global::System.Collections.Generic.IList? Type1325 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestination? Type1326 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1326 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant1? Type1327 { get; set; } + public global::System.Collections.Generic.IList? Type1327 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant1Type? Type1328 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingBraintrustConfig? Type1328 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant2? Type1329 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingClickhouseConfig? Type1329 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant2Type? Type1330 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingDatadogConfig? Type1330 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant3? Type1331 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingGrafanaConfig? Type1331 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant3Type? Type1332 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangfuseConfig? Type1332 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant4? Type1333 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangsmithConfig? Type1333 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant4Type? Type1334 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfigRegion? Type1334 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant5? Type1335 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfig? Type1335 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant5Type? Type1336 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOpikConfig? Type1336 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant6? Type1337 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOtelCollectorConfig? Type1337 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant6Type? Type1338 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingPosthogConfig? Type1338 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant7? Type1339 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingRampConfig? Type1339 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant7Type? Type1340 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingS3Config? Type1340 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant8? Type1341 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSentryConfig? Type1341 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant8Type? Type1342 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSnowflakeConfig? Type1342 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant9? Type1343 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWeaveConfig? Type1343 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant9Type? Type1344 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfigMethod? Type1344 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant10? Type1345 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfig? Type1345 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant10Type? Type1346 { get; set; } + public global::OpenRouter.ObservabilityDestination? Type1346 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant11? Type1347 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant1? Type1347 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant11Type? Type1348 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant1Type? Type1348 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant12? Type1349 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant2? Type1349 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant12Type? Type1350 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant2Type? Type1350 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant13? Type1351 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant3? Type1351 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant13Type? Type1352 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant3Type? Type1352 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant14? Type1353 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant4? Type1353 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant14Type? Type1354 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant4Type? Type1354 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant15? Type1355 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant5? Type1355 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant15Type? Type1356 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant5Type? Type1356 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant16? Type1357 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant6? Type1357 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant16Type? Type1358 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant6Type? Type1358 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant17? Type1359 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant7? Type1359 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant17Type? Type1360 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant7Type? Type1360 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1361 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant8? Type1361 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1362 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant8Type? Type1362 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1363 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant9? Type1363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1364 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant9Type? Type1364 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequestType? Type1365 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant10? Type1365 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequest? Type1366 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant10Type? Type1366 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseData? Type1367 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant11? Type1367 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1? Type1368 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant11Type? Type1368 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1Type? Type1369 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant12? Type1369 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2? Type1370 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant12Type? Type1370 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2Type? Type1371 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant13? Type1371 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3? Type1372 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant13Type? Type1372 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3Type? Type1373 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant14? Type1373 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4? Type1374 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant14Type? Type1374 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4Type? Type1375 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant15? Type1375 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5? Type1376 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant15Type? Type1376 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5Type? Type1377 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant16? Type1377 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6? Type1378 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant16Type? Type1378 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6Type? Type1379 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant17? Type1379 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7? Type1380 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant17Type? Type1380 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7Type? Type1381 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1381 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8? Type1382 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1382 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8Type? Type1383 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1383 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9? Type1384 { get; set; } + public global::System.Collections.Generic.IList? Type1384 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type? Type1385 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequestType? Type1385 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10? Type1386 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequest? Type1386 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type? Type1387 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseData? Type1387 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11? Type1388 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1? Type1388 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type? Type1389 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1Type? Type1389 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12? Type1390 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2? Type1390 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type? Type1391 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2Type? Type1391 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13? Type1392 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3? Type1392 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type? Type1393 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3Type? Type1393 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14? Type1394 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4? Type1394 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type? Type1395 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4Type? Type1395 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15? Type1396 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5? Type1396 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type? Type1397 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5Type? Type1397 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16? Type1398 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6? Type1398 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type? Type1399 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6Type? Type1399 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17? Type1400 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7? Type1400 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type? Type1401 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7Type? Type1401 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator? Type1402 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8? Type1402 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType? Type1403 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8Type? Type1403 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponse? Type1404 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9? Type1404 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseData? Type1405 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type? Type1405 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1? Type1406 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10? Type1406 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type? Type1407 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type? Type1407 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2? Type1408 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11? Type1408 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type? Type1409 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type? Type1409 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3? Type1410 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12? Type1410 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3Type? Type1411 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type? Type1411 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4? Type1412 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13? Type1412 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4Type? Type1413 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type? Type1413 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5? Type1414 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14? Type1414 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5Type? Type1415 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type? Type1415 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6? Type1416 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15? Type1416 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6Type? Type1417 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type? Type1417 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7? Type1418 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16? Type1418 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7Type? Type1419 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type? Type1419 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8? Type1420 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17? Type1420 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8Type? Type1421 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type? Type1421 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9? Type1422 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator? Type1422 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9Type? Type1423 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType? Type1423 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10? Type1424 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponse? Type1424 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10Type? Type1425 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseData? Type1425 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11? Type1426 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1? Type1426 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11Type? Type1427 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type? Type1427 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12? Type1428 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2? Type1428 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12Type? Type1429 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type? Type1429 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13? Type1430 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3? Type1430 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13Type? Type1431 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3Type? Type1431 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14? Type1432 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4? Type1432 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14Type? Type1433 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4Type? Type1433 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15? Type1434 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5? Type1434 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15Type? Type1435 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5Type? Type1435 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16? Type1436 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6? Type1436 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16Type? Type1437 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6Type? Type1437 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17? Type1438 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7? Type1438 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17Type? Type1439 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7Type? Type1439 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminator? Type1440 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8? Type1440 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminatorType? Type1441 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8Type? Type1441 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1442 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9? Type1442 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1443 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9Type? Type1443 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsLogic? Type1444 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10? Type1444 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsField? Type1445 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10Type? Type1445 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsOperator? Type1446 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11? Type1446 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsValue? Type1447 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11Type? Type1447 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItems? Type1448 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12? Type1448 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItems? Type1449 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12Type? Type1449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1450 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13? Type1450 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRules? Type1451 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13Type? Type1451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1452 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14? Type1452 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type1453 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14Type? Type1453 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseData? Type1454 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15? Type1454 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1? Type1455 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15Type? Type1455 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1Type? Type1456 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16? Type1456 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2? Type1457 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16Type? Type1457 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2Type? Type1458 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17? Type1458 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3? Type1459 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17Type? Type1459 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3Type? Type1460 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminator? Type1460 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4? Type1461 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminatorType? Type1461 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4Type? Type1462 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1462 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5? Type1463 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1463 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5Type? Type1464 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsLogic? Type1464 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6? Type1465 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsField? Type1465 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6Type? Type1466 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsOperator? Type1466 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7? Type1467 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsValue? Type1467 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7Type? Type1468 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItems? Type1468 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8? Type1469 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItems? Type1469 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8Type? Type1470 { get; set; } + public global::System.Collections.Generic.IList? Type1470 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9? Type1471 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRules? Type1471 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9Type? Type1472 { get; set; } + public global::System.Collections.Generic.IList? Type1472 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10? Type1473 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type1473 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10Type? Type1474 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseData? Type1474 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11? Type1475 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1? Type1475 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11Type? Type1476 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1Type? Type1476 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12? Type1477 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2? Type1477 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12Type? Type1478 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2Type? Type1478 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13? Type1479 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3? Type1479 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type? Type1480 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3Type? Type1480 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14? Type1481 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4? Type1481 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type? Type1482 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4Type? Type1482 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15? Type1483 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5? Type1483 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type? Type1484 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5Type? Type1484 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16? Type1485 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6? Type1485 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type? Type1486 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6Type? Type1486 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17? Type1487 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7? Type1487 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type? Type1488 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7Type? Type1488 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator? Type1489 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8? Type1489 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType? Type1490 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8Type? Type1490 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type1491 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9? Type1491 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1492 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9Type? Type1492 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1493 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10? Type1493 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1494 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10Type? Type1494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1495 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11? Type1495 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1496 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11Type? Type1496 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1497 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12? Type1497 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1498 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12Type? Type1498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1499 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13? Type1499 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1500 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type? Type1500 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type1501 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14? Type1501 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1502 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type? Type1502 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type1503 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15? Type1503 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type1504 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type? Type1504 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type1505 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16? Type1505 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type1506 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type? Type1506 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type1507 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17? Type1507 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderSort? Type1508 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type? Type1508 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1509 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator? Type1509 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1510 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType? Type1510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1511 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type1511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1512 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1513 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1513 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1514 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1514 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1515 { get; set; } + public global::System.Collections.Generic.IList? Type1515 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1516 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1516 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type1517 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1518 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1518 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1519 { get; set; } + public global::System.Collections.Generic.IList? Type1519 { get; set; } /// /// /// - public global::OpenRouter.FrameImageImageUrl? Type1520 { get; set; } + public global::OpenRouter.OneOf? Type1520 { get; set; } /// /// /// - public global::OpenRouter.FrameImageType? Type1521 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type1521 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type1522 { get; set; } + public global::System.Collections.Generic.IList? Type1522 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1523 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type1523 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type1524 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type1524 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type1525 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type1525 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type1526 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type1526 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1527 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type1527 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1528 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderSort? Type1528 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1529 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1529 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1530 { get; set; } + public global::OpenRouter.OneOf? Type1530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1531 { get; set; } + public global::System.Collections.Generic.IList? Type1531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1532 { get; set; } + public global::System.Collections.Generic.IList? Type1532 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1533 { get; set; } + public global::System.Collections.Generic.IList? Type1533 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1534 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1534 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1535 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1535 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1536 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1536 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1537 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type1537 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1538 { get; set; } + public global::System.Collections.Generic.IList? Type1538 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1539 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1539 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1540 { get; set; } + public global::OpenRouter.FrameImageImageUrl? Type1540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1541 { get; set; } + public global::OpenRouter.FrameImageType? Type1541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1542 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1543 { get; set; } + public global::OpenRouter.FrameImage? Type1543 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1544 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type1544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1545 { get; set; } + public global::OpenRouter.ContentPartImageType? Type1545 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1546 { get; set; } + public global::OpenRouter.ContentPartImage? Type1546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1547 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1547 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type1548 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1548 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1549 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1549 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1550 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1550 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type1551 { get; set; } + public global::System.Collections.Generic.IList? Type1551 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponseData? Type1552 { get; set; } + public global::System.Collections.Generic.IList? Type1552 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type1553 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1553 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponseData? Type1554 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1554 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1555 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1555 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1556 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1556 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type1557 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1557 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponseData? Type1558 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1558 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type1559 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1559 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1560 { get; set; } + public global::OpenRouter.VideoModel? Type1560 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type1561 { get; set; } + public global::System.Collections.Generic.IList? Type1561 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type1562 { get; set; } + public global::System.Collections.Generic.IList? Type1562 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1563 { get; set; } + public global::System.Collections.Generic.IList? Type1563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1564 { get; set; } + public global::System.Collections.Generic.IList? Type1564 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1565 { get; set; } + public global::System.Collections.Generic.IList? Type1565 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1566 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1566 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1567 { get; set; } + public global::System.Collections.Generic.IList? Type1567 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1568 { get; set; } + public global::OpenRouter.Workspace? Type1568 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1569 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1569 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1570 { get; set; } + public global::System.Collections.Generic.IList? Type1570 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1571 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type1571 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1572 { get; set; } + public global::OpenRouter.CreateWorkspaceResponseData? Type1572 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1573 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type1573 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1574 { get; set; } + public global::OpenRouter.GetWorkspaceResponseData? Type1574 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1575 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1575 { get; set; } /// /// /// - public byte[]? Type1576 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1576 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceRequest? Type1577 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceResponseData? Type1578 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceResponse? Type1579 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1580 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceMemberRole? Type1581 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceMember? Type1582 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1583 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1584 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1585 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1586 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1587 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1588 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1589 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequest? Type1590 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysRequest? Type1591 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1592 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysRequest? Type1593 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1594 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1595 { get; set; } + /// + /// + /// + public byte[]? Type1596 { get; set; } /// /// @@ -6433,394 +6513,398 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType64 { get; set; } + public global::System.Collections.Generic.List>? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs index 8bd5bf53..91ab068b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs @@ -157,6 +157,12 @@ public sealed partial class ChatRequest [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ChatRequestStopJsonConverter))] public global::OpenRouter.ChatRequestStop? Stop { get; set; } + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stop_server_tools_when")] + public global::System.Collections.Generic.IList? StopServerToolsWhen { get; set; } + /// /// Enable streaming response
/// Default Value: false @@ -292,6 +298,9 @@ public sealed partial class ChatRequest /// /// Stop sequences (up to 4) /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// Enable streaming response
/// Default Value: false @@ -348,6 +357,7 @@ public ChatRequest( global::OpenRouter.OneOf? serviceTier, string? sessionId, global::OpenRouter.ChatRequestStop? stop, + global::System.Collections.Generic.IList? stopServerToolsWhen, bool? stream, global::OpenRouter.ChatStreamOptions? streamOptions, double? temperature, @@ -382,6 +392,7 @@ public ChatRequest( this.ServiceTier = serviceTier; this.SessionId = sessionId; this.Stop = stop; + this.StopServerToolsWhen = stopServerToolsWhen; this.Stream = stream; this.StreamOptions = streamOptions; this.Temperature = temperature; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs index f538d48f..32b6bf6a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs @@ -309,6 +309,43 @@ public bool TryPickWeb( public global::OpenRouter.ChatRequestPluginsItemsVariant8 PickWeb() => IsWeb ? Web! : throw new global::System.InvalidOperationException($"Expected union variant 'Web' but the value was {ToString()}."); + + /// + /// web-fetch variant + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ChatRequestPluginsItemsVariant9? WebFetch { get; init; } +#else + public global::OpenRouter.ChatRequestPluginsItemsVariant9? WebFetch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetch))] +#endif + public bool IsWebFetch => WebFetch != null; + + /// + /// + /// + public bool TryPickWebFetch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ChatRequestPluginsItemsVariant9? value) + { + value = WebFetch; + return IsWebFetch; + } + + /// + /// + /// + public global::OpenRouter.ChatRequestPluginsItemsVariant9 PickWebFetch() => IsWebFetch + ? WebFetch! + : throw new global::System.InvalidOperationException($"Expected union variant 'WebFetch' but the value was {ToString()}."); /// /// /// @@ -493,6 +530,29 @@ public ChatRequestPluginsItems(global::OpenRouter.ChatRequestPluginsItemsVariant ///
public static ChatRequestPluginsItems FromWeb(global::OpenRouter.ChatRequestPluginsItemsVariant8? value) => new ChatRequestPluginsItems(value); + /// + /// + /// + public static implicit operator ChatRequestPluginsItems(global::OpenRouter.ChatRequestPluginsItemsVariant9 value) => new ChatRequestPluginsItems((global::OpenRouter.ChatRequestPluginsItemsVariant9?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ChatRequestPluginsItemsVariant9?(ChatRequestPluginsItems @this) => @this.WebFetch; + + /// + /// + /// + public ChatRequestPluginsItems(global::OpenRouter.ChatRequestPluginsItemsVariant9? value) + { + WebFetch = value; + } + + /// + /// + /// + public static ChatRequestPluginsItems FromWebFetch(global::OpenRouter.ChatRequestPluginsItemsVariant9? value) => new ChatRequestPluginsItems(value); + /// /// /// @@ -505,7 +565,8 @@ public ChatRequestPluginsItems( global::OpenRouter.ChatRequestPluginsItemsVariant5? moderation, global::OpenRouter.ChatRequestPluginsItemsVariant6? paretoRouter, global::OpenRouter.ChatRequestPluginsItemsVariant7? responseHealing, - global::OpenRouter.ChatRequestPluginsItemsVariant8? web + global::OpenRouter.ChatRequestPluginsItemsVariant8? web, + global::OpenRouter.ChatRequestPluginsItemsVariant9? webFetch ) { Id = id; @@ -518,12 +579,14 @@ public ChatRequestPluginsItems( ParetoRouter = paretoRouter; ResponseHealing = responseHealing; Web = web; + WebFetch = webFetch; } /// /// /// public object? Object => + WebFetch as object ?? Web as object ?? ResponseHealing as object ?? ParetoRouter as object ?? @@ -545,7 +608,8 @@ AutoRouter as object Moderation?.ToString() ?? ParetoRouter?.ToString() ?? ResponseHealing?.ToString() ?? - Web?.ToString() + Web?.ToString() ?? + WebFetch?.ToString() ; /// @@ -553,7 +617,7 @@ AutoRouter as object /// public bool Validate() { - return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb; + return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && IsWebFetch; } /// @@ -568,6 +632,7 @@ public bool Validate() global::System.Func? paretoRouter = null, global::System.Func? responseHealing = null, global::System.Func? web = null, + global::System.Func? webFetch = null, bool validate = true) { if (validate) @@ -607,6 +672,10 @@ public bool Validate() { return web(Web!); } + else if (IsWebFetch && webFetch != null) + { + return webFetch(WebFetch!); + } return default(TResult); } @@ -630,6 +699,8 @@ public void Match( global::System.Action? responseHealing = null, global::System.Action? web = null, + + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -669,6 +740,10 @@ public void Match( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -683,6 +758,7 @@ public void Switch( global::System.Action? paretoRouter = null, global::System.Action? responseHealing = null, global::System.Action? web = null, + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -722,6 +798,10 @@ public void Switch( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -747,6 +827,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ChatRequestPluginsItemsVariant7), Web, typeof(global::OpenRouter.ChatRequestPluginsItemsVariant8), + WebFetch, + typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -770,7 +852,8 @@ public bool Equals(ChatRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Moderation, other.Moderation) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouter, other.ParetoRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealing, other.ResponseHealing) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetch, other.WebFetch) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsDiscriminatorId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsDiscriminatorId.g.cs index 43ac1b1b..94f0f795 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsDiscriminatorId.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsDiscriminatorId.g.cs @@ -40,6 +40,10 @@ public enum ChatRequestPluginsItemsDiscriminatorId /// /// Web, + /// + /// + /// + WebFetch, } /// @@ -62,6 +66,7 @@ public static string ToValueString(this ChatRequestPluginsItemsDiscriminatorId v ChatRequestPluginsItemsDiscriminatorId.ParetoRouter => "pareto-router", ChatRequestPluginsItemsDiscriminatorId.ResponseHealing => "response-healing", ChatRequestPluginsItemsDiscriminatorId.Web => "web", + ChatRequestPluginsItemsDiscriminatorId.WebFetch => "web-fetch", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -80,6 +85,7 @@ public static string ToValueString(this ChatRequestPluginsItemsDiscriminatorId v "pareto-router" => ChatRequestPluginsItemsDiscriminatorId.ParetoRouter, "response-healing" => ChatRequestPluginsItemsDiscriminatorId.ResponseHealing, "web" => ChatRequestPluginsItemsDiscriminatorId.Web, + "web-fetch" => ChatRequestPluginsItemsDiscriminatorId.WebFetch, _ => null, }; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.Json.g.cs new file mode 100644 index 00000000..9e554919 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ChatRequestPluginsItemsVariant9 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ChatRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ChatRequestPluginsItemsVariant9), + jsonSerializerContext) as global::OpenRouter.ChatRequestPluginsItemsVariant9; + } + + /// + /// 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.ChatRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.ChatRequestPluginsItemsVariant9), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ChatRequestPluginsItemsVariant9; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.g.cs new file mode 100644 index 00000000..67fe1a81 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItemsVariant9.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// web-fetch variant + /// + public sealed partial class ChatRequestPluginsItemsVariant9 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter))] + public global::OpenRouter.WebFetchPluginId Id { get; set; } + + /// + /// Only fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_domains")] + public global::System.Collections.Generic.IList? AllowedDomains { get; set; } + + /// + /// Never fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blocked_domains")] + public global::System.Collections.Generic.IList? BlockedDomains { get; set; } + + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_tokens")] + public int? MaxContentTokens { get; set; } + + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_uses")] + public int? MaxUses { 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. + /// + /// + /// + /// Only fetch from these domains. + /// + /// + /// Never fetch from these domains. + /// + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChatRequestPluginsItemsVariant9( + global::OpenRouter.WebFetchPluginId id, + global::System.Collections.Generic.IList? allowedDomains, + global::System.Collections.Generic.IList? blockedDomains, + int? maxContentTokens, + int? maxUses) + { + this.Id = id; + this.AllowedDomains = allowedDomains; + this.BlockedDomains = blockedDomains; + this.MaxContentTokens = maxContentTokens; + this.MaxUses = maxUses; + } + + /// + /// Initializes a new instance of the class. + /// + public ChatRequestPluginsItemsVariant9() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs index 0bc5df16..a4c1a81f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs @@ -14,6 +14,12 @@ public sealed partial class FusionServerToolConfig [global::System.Text.Json.Serialization.JsonPropertyName("analysis_models")] public global::System.Collections.Generic.IList? AnalysisModels { get; set; } + /// + /// Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, the provider's default applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_completion_tokens")] + public int? MaxCompletionTokens { get; set; } + /// /// Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16. /// @@ -26,6 +32,18 @@ public sealed partial class FusionServerToolConfig [global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } + /// + /// Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning")] + public global::OpenRouter.FusionServerToolConfigReasoning? Reasoning { get; set; } + + /// + /// Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] + public double? Temperature { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -38,23 +56,38 @@ public sealed partial class FusionServerToolConfig /// /// Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion. /// + /// + /// Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, the provider's default applies. + /// /// /// Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16. /// /// /// Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer API request. /// + /// + /// Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. + /// + /// + /// Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public FusionServerToolConfig( global::System.Collections.Generic.IList? analysisModels, + int? maxCompletionTokens, int? maxToolCalls, - string? model) + string? model, + global::OpenRouter.FusionServerToolConfigReasoning? reasoning, + double? temperature) { this.AnalysisModels = analysisModels; + this.MaxCompletionTokens = maxCompletionTokens; this.MaxToolCalls = maxToolCalls; this.Model = model; + this.Reasoning = reasoning; + this.Temperature = temperature; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.Json.g.cs new file mode 100644 index 00000000..2897bc67 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class FusionServerToolConfigReasoning + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.FusionServerToolConfigReasoning? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.FusionServerToolConfigReasoning), + jsonSerializerContext) as global::OpenRouter.FusionServerToolConfigReasoning; + } + + /// + /// 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.FusionServerToolConfigReasoning? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.FusionServerToolConfigReasoning), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.FusionServerToolConfigReasoning; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.g.cs new file mode 100644 index 00000000..4a5adb69 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoning.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. + /// + public sealed partial class FusionServerToolConfigReasoning + { + /// + /// Reasoning effort level for panelist and judge inner calls. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("effort")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.FusionServerToolConfigReasoningEffortJsonConverter))] + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Effort { get; set; } + + /// + /// Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models allocate too much budget to chain-of-thought. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] + public int? MaxTokens { 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. + /// + /// + /// Reasoning effort level for panelist and judge inner calls. + /// + /// + /// Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models allocate too much budget to chain-of-thought. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public FusionServerToolConfigReasoning( + global::OpenRouter.FusionServerToolConfigReasoningEffort? effort, + int? maxTokens) + { + this.Effort = effort; + this.MaxTokens = maxTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public FusionServerToolConfigReasoning() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoningEffort.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoningEffort.g.cs new file mode 100644 index 00000000..25a341b6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfigReasoningEffort.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Reasoning effort level for panelist and judge inner calls. + /// + public enum FusionServerToolConfigReasoningEffort + { + /// + /// + /// + High, + /// + /// + /// + Low, + /// + /// + /// + Medium, + /// + /// + /// + Minimal, + /// + /// + /// + None, + /// + /// + /// + Xhigh, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class FusionServerToolConfigReasoningEffortExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this FusionServerToolConfigReasoningEffort value) + { + return value switch + { + FusionServerToolConfigReasoningEffort.High => "high", + FusionServerToolConfigReasoningEffort.Low => "low", + FusionServerToolConfigReasoningEffort.Medium => "medium", + FusionServerToolConfigReasoningEffort.Minimal => "minimal", + FusionServerToolConfigReasoningEffort.None => "none", + FusionServerToolConfigReasoningEffort.Xhigh => "xhigh", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static FusionServerToolConfigReasoningEffort? ToEnum(string value) + { + return value switch + { + "high" => FusionServerToolConfigReasoningEffort.High, + "low" => FusionServerToolConfigReasoningEffort.Low, + "medium" => FusionServerToolConfigReasoningEffort.Medium, + "minimal" => FusionServerToolConfigReasoningEffort.Minimal, + "none" => FusionServerToolConfigReasoningEffort.None, + "xhigh" => FusionServerToolConfigReasoningEffort.Xhigh, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs index 704d3b79..396119d3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs @@ -101,6 +101,12 @@ public sealed partial class MessagesRequest [global::System.Text.Json.Serialization.JsonPropertyName("stop_sequences")] public global::System.Collections.Generic.IList? StopSequences { get; set; } + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stop_server_tools_when")] + public global::System.Collections.Generic.IList? StopServerToolsWhen { get; set; } + /// /// /// @@ -200,6 +206,9 @@ public sealed partial class MessagesRequest /// /// /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// @@ -233,6 +242,7 @@ public MessagesRequest( string? sessionId, global::OpenRouter.AnthropicSpeed? speed, global::System.Collections.Generic.IList? stopSequences, + global::System.Collections.Generic.IList? stopServerToolsWhen, bool? stream, global::OpenRouter.MessagesRequestSystem? system, double? temperature, @@ -259,6 +269,7 @@ public MessagesRequest( this.SessionId = sessionId; this.Speed = speed; this.StopSequences = stopSequences; + this.StopServerToolsWhen = stopServerToolsWhen; this.Stream = stream; this.System = system; this.Temperature = temperature; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs index f17a97f4..bc12b92b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs @@ -309,6 +309,43 @@ public bool TryPickWeb( public global::OpenRouter.MessagesRequestPluginsItemsVariant8 PickWeb() => IsWeb ? Web! : throw new global::System.InvalidOperationException($"Expected union variant 'Web' but the value was {ToString()}."); + + /// + /// web-fetch variant + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.MessagesRequestPluginsItemsVariant9? WebFetch { get; init; } +#else + public global::OpenRouter.MessagesRequestPluginsItemsVariant9? WebFetch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetch))] +#endif + public bool IsWebFetch => WebFetch != null; + + /// + /// + /// + public bool TryPickWebFetch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.MessagesRequestPluginsItemsVariant9? value) + { + value = WebFetch; + return IsWebFetch; + } + + /// + /// + /// + public global::OpenRouter.MessagesRequestPluginsItemsVariant9 PickWebFetch() => IsWebFetch + ? WebFetch! + : throw new global::System.InvalidOperationException($"Expected union variant 'WebFetch' but the value was {ToString()}."); /// /// /// @@ -493,6 +530,29 @@ public MessagesRequestPluginsItems(global::OpenRouter.MessagesRequestPluginsItem /// public static MessagesRequestPluginsItems FromWeb(global::OpenRouter.MessagesRequestPluginsItemsVariant8? value) => new MessagesRequestPluginsItems(value); + /// + /// + /// + public static implicit operator MessagesRequestPluginsItems(global::OpenRouter.MessagesRequestPluginsItemsVariant9 value) => new MessagesRequestPluginsItems((global::OpenRouter.MessagesRequestPluginsItemsVariant9?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.MessagesRequestPluginsItemsVariant9?(MessagesRequestPluginsItems @this) => @this.WebFetch; + + /// + /// + /// + public MessagesRequestPluginsItems(global::OpenRouter.MessagesRequestPluginsItemsVariant9? value) + { + WebFetch = value; + } + + /// + /// + /// + public static MessagesRequestPluginsItems FromWebFetch(global::OpenRouter.MessagesRequestPluginsItemsVariant9? value) => new MessagesRequestPluginsItems(value); + /// /// /// @@ -505,7 +565,8 @@ public MessagesRequestPluginsItems( global::OpenRouter.MessagesRequestPluginsItemsVariant5? moderation, global::OpenRouter.MessagesRequestPluginsItemsVariant6? paretoRouter, global::OpenRouter.MessagesRequestPluginsItemsVariant7? responseHealing, - global::OpenRouter.MessagesRequestPluginsItemsVariant8? web + global::OpenRouter.MessagesRequestPluginsItemsVariant8? web, + global::OpenRouter.MessagesRequestPluginsItemsVariant9? webFetch ) { Id = id; @@ -518,12 +579,14 @@ public MessagesRequestPluginsItems( ParetoRouter = paretoRouter; ResponseHealing = responseHealing; Web = web; + WebFetch = webFetch; } /// /// /// public object? Object => + WebFetch as object ?? Web as object ?? ResponseHealing as object ?? ParetoRouter as object ?? @@ -545,7 +608,8 @@ AutoRouter as object Moderation?.ToString() ?? ParetoRouter?.ToString() ?? ResponseHealing?.ToString() ?? - Web?.ToString() + Web?.ToString() ?? + WebFetch?.ToString() ; /// @@ -553,7 +617,7 @@ AutoRouter as object /// public bool Validate() { - return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb; + return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && IsWebFetch; } /// @@ -568,6 +632,7 @@ public bool Validate() global::System.Func? paretoRouter = null, global::System.Func? responseHealing = null, global::System.Func? web = null, + global::System.Func? webFetch = null, bool validate = true) { if (validate) @@ -607,6 +672,10 @@ public bool Validate() { return web(Web!); } + else if (IsWebFetch && webFetch != null) + { + return webFetch(WebFetch!); + } return default(TResult); } @@ -630,6 +699,8 @@ public void Match( global::System.Action? responseHealing = null, global::System.Action? web = null, + + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -669,6 +740,10 @@ public void Match( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -683,6 +758,7 @@ public void Switch( global::System.Action? paretoRouter = null, global::System.Action? responseHealing = null, global::System.Action? web = null, + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -722,6 +798,10 @@ public void Switch( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -747,6 +827,8 @@ public override int GetHashCode() typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant7), Web, typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant8), + WebFetch, + typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -770,7 +852,8 @@ public bool Equals(MessagesRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Moderation, other.Moderation) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouter, other.ParetoRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealing, other.ResponseHealing) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetch, other.WebFetch) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsDiscriminatorId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsDiscriminatorId.g.cs index fcd21b92..902cb65b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsDiscriminatorId.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsDiscriminatorId.g.cs @@ -40,6 +40,10 @@ public enum MessagesRequestPluginsItemsDiscriminatorId /// /// Web, + /// + /// + /// + WebFetch, } /// @@ -62,6 +66,7 @@ public static string ToValueString(this MessagesRequestPluginsItemsDiscriminator MessagesRequestPluginsItemsDiscriminatorId.ParetoRouter => "pareto-router", MessagesRequestPluginsItemsDiscriminatorId.ResponseHealing => "response-healing", MessagesRequestPluginsItemsDiscriminatorId.Web => "web", + MessagesRequestPluginsItemsDiscriminatorId.WebFetch => "web-fetch", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -80,6 +85,7 @@ public static string ToValueString(this MessagesRequestPluginsItemsDiscriminator "pareto-router" => MessagesRequestPluginsItemsDiscriminatorId.ParetoRouter, "response-healing" => MessagesRequestPluginsItemsDiscriminatorId.ResponseHealing, "web" => MessagesRequestPluginsItemsDiscriminatorId.Web, + "web-fetch" => MessagesRequestPluginsItemsDiscriminatorId.WebFetch, _ => null, }; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.Json.g.cs new file mode 100644 index 00000000..0327dd84 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class MessagesRequestPluginsItemsVariant9 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.MessagesRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.MessagesRequestPluginsItemsVariant9), + jsonSerializerContext) as global::OpenRouter.MessagesRequestPluginsItemsVariant9; + } + + /// + /// 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.MessagesRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.MessagesRequestPluginsItemsVariant9), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.MessagesRequestPluginsItemsVariant9; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.g.cs new file mode 100644 index 00000000..632b7a3d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItemsVariant9.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// web-fetch variant + /// + public sealed partial class MessagesRequestPluginsItemsVariant9 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter))] + public global::OpenRouter.WebFetchPluginId Id { get; set; } + + /// + /// Only fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_domains")] + public global::System.Collections.Generic.IList? AllowedDomains { get; set; } + + /// + /// Never fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blocked_domains")] + public global::System.Collections.Generic.IList? BlockedDomains { get; set; } + + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_tokens")] + public int? MaxContentTokens { get; set; } + + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_uses")] + public int? MaxUses { 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. + /// + /// + /// + /// Only fetch from these domains. + /// + /// + /// Never fetch from these domains. + /// + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public MessagesRequestPluginsItemsVariant9( + global::OpenRouter.WebFetchPluginId id, + global::System.Collections.Generic.IList? allowedDomains, + global::System.Collections.Generic.IList? blockedDomains, + int? maxContentTokens, + int? maxUses) + { + this.Id = id; + this.AllowedDomains = allowedDomains; + this.BlockedDomains = blockedDomains; + this.MaxContentTokens = maxContentTokens; + this.MaxUses = maxUses; + } + + /// + /// Initializes a new instance of the class. + /// + public MessagesRequestPluginsItemsVariant9() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs index 4b6cf30e..d671a812 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs @@ -161,6 +161,12 @@ public sealed partial class ResponsesRequest [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] public string? SessionId { get; set; } + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stop_server_tools_when")] + public global::System.Collections.Generic.IList? StopServerToolsWhen { get; set; } + /// /// /// @@ -287,6 +293,9 @@ public sealed partial class ResponsesRequest /// /// A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters. /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// Default Value: false @@ -336,6 +345,7 @@ public ResponsesRequest( string? safetyIdentifier, global::OpenRouter.OneOf? serviceTier, string? sessionId, + global::System.Collections.Generic.IList? stopServerToolsWhen, bool? store, bool? stream, double? temperature, @@ -374,6 +384,7 @@ public ResponsesRequest( this.SafetyIdentifier = safetyIdentifier; this.ServiceTier = serviceTier; this.SessionId = sessionId; + this.StopServerToolsWhen = stopServerToolsWhen; this.Store = store; this.Stream = stream; this.Temperature = temperature; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs index 6f5c2d1a..b90b4f84 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs @@ -309,6 +309,43 @@ public bool TryPickWeb( public global::OpenRouter.ResponsesRequestPluginsItemsVariant8 PickWeb() => IsWeb ? Web! : throw new global::System.InvalidOperationException($"Expected union variant 'Web' but the value was {ToString()}."); + + /// + /// web-fetch variant + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ResponsesRequestPluginsItemsVariant9? WebFetch { get; init; } +#else + public global::OpenRouter.ResponsesRequestPluginsItemsVariant9? WebFetch { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetch))] +#endif + public bool IsWebFetch => WebFetch != null; + + /// + /// + /// + public bool TryPickWebFetch( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ResponsesRequestPluginsItemsVariant9? value) + { + value = WebFetch; + return IsWebFetch; + } + + /// + /// + /// + public global::OpenRouter.ResponsesRequestPluginsItemsVariant9 PickWebFetch() => IsWebFetch + ? WebFetch! + : throw new global::System.InvalidOperationException($"Expected union variant 'WebFetch' but the value was {ToString()}."); /// /// /// @@ -493,6 +530,29 @@ public ResponsesRequestPluginsItems(global::OpenRouter.ResponsesRequestPluginsIt /// public static ResponsesRequestPluginsItems FromWeb(global::OpenRouter.ResponsesRequestPluginsItemsVariant8? value) => new ResponsesRequestPluginsItems(value); + /// + /// + /// + public static implicit operator ResponsesRequestPluginsItems(global::OpenRouter.ResponsesRequestPluginsItemsVariant9 value) => new ResponsesRequestPluginsItems((global::OpenRouter.ResponsesRequestPluginsItemsVariant9?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ResponsesRequestPluginsItemsVariant9?(ResponsesRequestPluginsItems @this) => @this.WebFetch; + + /// + /// + /// + public ResponsesRequestPluginsItems(global::OpenRouter.ResponsesRequestPluginsItemsVariant9? value) + { + WebFetch = value; + } + + /// + /// + /// + public static ResponsesRequestPluginsItems FromWebFetch(global::OpenRouter.ResponsesRequestPluginsItemsVariant9? value) => new ResponsesRequestPluginsItems(value); + /// /// /// @@ -505,7 +565,8 @@ public ResponsesRequestPluginsItems( global::OpenRouter.ResponsesRequestPluginsItemsVariant5? moderation, global::OpenRouter.ResponsesRequestPluginsItemsVariant6? paretoRouter, global::OpenRouter.ResponsesRequestPluginsItemsVariant7? responseHealing, - global::OpenRouter.ResponsesRequestPluginsItemsVariant8? web + global::OpenRouter.ResponsesRequestPluginsItemsVariant8? web, + global::OpenRouter.ResponsesRequestPluginsItemsVariant9? webFetch ) { Id = id; @@ -518,12 +579,14 @@ public ResponsesRequestPluginsItems( ParetoRouter = paretoRouter; ResponseHealing = responseHealing; Web = web; + WebFetch = webFetch; } /// /// /// public object? Object => + WebFetch as object ?? Web as object ?? ResponseHealing as object ?? ParetoRouter as object ?? @@ -545,7 +608,8 @@ AutoRouter as object Moderation?.ToString() ?? ParetoRouter?.ToString() ?? ResponseHealing?.ToString() ?? - Web?.ToString() + Web?.ToString() ?? + WebFetch?.ToString() ; /// @@ -553,7 +617,7 @@ AutoRouter as object /// public bool Validate() { - return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb; + return IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && IsParetoRouter && !IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && IsResponseHealing && !IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && IsWeb && !IsWebFetch || !IsAutoRouter && !IsContextCompression && !IsFileParser && !IsFusion && !IsModeration && !IsParetoRouter && !IsResponseHealing && !IsWeb && IsWebFetch; } /// @@ -568,6 +632,7 @@ public bool Validate() global::System.Func? paretoRouter = null, global::System.Func? responseHealing = null, global::System.Func? web = null, + global::System.Func? webFetch = null, bool validate = true) { if (validate) @@ -607,6 +672,10 @@ public bool Validate() { return web(Web!); } + else if (IsWebFetch && webFetch != null) + { + return webFetch(WebFetch!); + } return default(TResult); } @@ -630,6 +699,8 @@ public void Match( global::System.Action? responseHealing = null, global::System.Action? web = null, + + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -669,6 +740,10 @@ public void Match( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -683,6 +758,7 @@ public void Switch( global::System.Action? paretoRouter = null, global::System.Action? responseHealing = null, global::System.Action? web = null, + global::System.Action? webFetch = null, bool validate = true) { if (validate) @@ -722,6 +798,10 @@ public void Switch( { web?.Invoke(Web!); } + else if (IsWebFetch) + { + webFetch?.Invoke(WebFetch!); + } } /// @@ -747,6 +827,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant7), Web, typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant8), + WebFetch, + typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -770,7 +852,8 @@ public bool Equals(ResponsesRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Moderation, other.Moderation) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouter, other.ParetoRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealing, other.ResponseHealing) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Web, other.Web) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetch, other.WebFetch) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsDiscriminatorId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsDiscriminatorId.g.cs index 44a6b541..57dfb428 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsDiscriminatorId.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsDiscriminatorId.g.cs @@ -40,6 +40,10 @@ public enum ResponsesRequestPluginsItemsDiscriminatorId /// /// Web, + /// + /// + /// + WebFetch, } /// @@ -62,6 +66,7 @@ public static string ToValueString(this ResponsesRequestPluginsItemsDiscriminato ResponsesRequestPluginsItemsDiscriminatorId.ParetoRouter => "pareto-router", ResponsesRequestPluginsItemsDiscriminatorId.ResponseHealing => "response-healing", ResponsesRequestPluginsItemsDiscriminatorId.Web => "web", + ResponsesRequestPluginsItemsDiscriminatorId.WebFetch => "web-fetch", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -80,6 +85,7 @@ public static string ToValueString(this ResponsesRequestPluginsItemsDiscriminato "pareto-router" => ResponsesRequestPluginsItemsDiscriminatorId.ParetoRouter, "response-healing" => ResponsesRequestPluginsItemsDiscriminatorId.ResponseHealing, "web" => ResponsesRequestPluginsItemsDiscriminatorId.Web, + "web-fetch" => ResponsesRequestPluginsItemsDiscriminatorId.WebFetch, _ => null, }; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.Json.g.cs new file mode 100644 index 00000000..b1e7d3d1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ResponsesRequestPluginsItemsVariant9 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ResponsesRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ResponsesRequestPluginsItemsVariant9), + jsonSerializerContext) as global::OpenRouter.ResponsesRequestPluginsItemsVariant9; + } + + /// + /// 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.ResponsesRequestPluginsItemsVariant9? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.ResponsesRequestPluginsItemsVariant9), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ResponsesRequestPluginsItemsVariant9; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.g.cs new file mode 100644 index 00000000..57c66900 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItemsVariant9.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// web-fetch variant + /// + public sealed partial class ResponsesRequestPluginsItemsVariant9 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.WebFetchPluginIdJsonConverter))] + public global::OpenRouter.WebFetchPluginId Id { get; set; } + + /// + /// Only fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_domains")] + public global::System.Collections.Generic.IList? AllowedDomains { get; set; } + + /// + /// Never fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blocked_domains")] + public global::System.Collections.Generic.IList? BlockedDomains { get; set; } + + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_tokens")] + public int? MaxContentTokens { get; set; } + + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_uses")] + public int? MaxUses { 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. + /// + /// + /// + /// Only fetch from these domains. + /// + /// + /// Never fetch from these domains. + /// + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ResponsesRequestPluginsItemsVariant9( + global::OpenRouter.WebFetchPluginId id, + global::System.Collections.Generic.IList? allowedDomains, + global::System.Collections.Generic.IList? blockedDomains, + int? maxContentTokens, + int? maxUses) + { + this.Id = id; + this.AllowedDomains = allowedDomains; + this.BlockedDomains = blockedDomains; + this.MaxContentTokens = maxContentTokens; + this.MaxUses = maxUses; + } + + /// + /// Initializes a new instance of the class. + /// + public ResponsesRequestPluginsItemsVariant9() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.Json.g.cs new file mode 100644 index 00000000..09e201ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct StopServerToolsWhenCondition + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenCondition? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenCondition), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenCondition?; + } + + /// + /// 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.StopServerToolsWhenCondition? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenCondition), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenCondition?; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.g.cs new file mode 100644 index 00000000..fb4985c8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenCondition.g.cs @@ -0,0 +1,552 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// A single condition that, when met, halts the server-tool agent loop. + /// + public readonly partial struct StopServerToolsWhenCondition : global::System.IEquatable + { + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type { get; } + + /// + /// Stop when the upstream model emits this finish reason (e.g. `length`). + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.StopServerToolsWhenConditionVariant1? FinishReasonIs { get; init; } +#else + public global::OpenRouter.StopServerToolsWhenConditionVariant1? FinishReasonIs { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FinishReasonIs))] +#endif + public bool IsFinishReasonIs => FinishReasonIs != null; + + /// + /// + /// + public bool TryPickFinishReasonIs( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.StopServerToolsWhenConditionVariant1? value) + { + value = FinishReasonIs; + return IsFinishReasonIs; + } + + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionVariant1 PickFinishReasonIs() => IsFinishReasonIs + ? FinishReasonIs! + : throw new global::System.InvalidOperationException($"Expected union variant 'FinishReasonIs' but the value was {ToString()}."); + + /// + /// Stop after a tool with this name has been called. + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.StopServerToolsWhenConditionVariant2? HasToolCall { get; init; } +#else + public global::OpenRouter.StopServerToolsWhenConditionVariant2? HasToolCall { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(HasToolCall))] +#endif + public bool IsHasToolCall => HasToolCall != null; + + /// + /// + /// + public bool TryPickHasToolCall( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.StopServerToolsWhenConditionVariant2? value) + { + value = HasToolCall; + return IsHasToolCall; + } + + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionVariant2 PickHasToolCall() => IsHasToolCall + ? HasToolCall! + : throw new global::System.InvalidOperationException($"Expected union variant 'HasToolCall' but the value was {ToString()}."); + + /// + /// Stop once cumulative cost across the loop exceeds this dollar threshold. + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.StopServerToolsWhenConditionVariant3? MaxCost { get; init; } +#else + public global::OpenRouter.StopServerToolsWhenConditionVariant3? MaxCost { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(MaxCost))] +#endif + public bool IsMaxCost => MaxCost != null; + + /// + /// + /// + public bool TryPickMaxCost( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.StopServerToolsWhenConditionVariant3? value) + { + value = MaxCost; + return IsMaxCost; + } + + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionVariant3 PickMaxCost() => IsMaxCost + ? MaxCost! + : throw new global::System.InvalidOperationException($"Expected union variant 'MaxCost' but the value was {ToString()}."); + + /// + /// Stop once cumulative token usage across the loop exceeds this threshold. + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.StopServerToolsWhenConditionVariant4? MaxTokensUsed { get; init; } +#else + public global::OpenRouter.StopServerToolsWhenConditionVariant4? MaxTokensUsed { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(MaxTokensUsed))] +#endif + public bool IsMaxTokensUsed => MaxTokensUsed != null; + + /// + /// + /// + public bool TryPickMaxTokensUsed( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.StopServerToolsWhenConditionVariant4? value) + { + value = MaxTokensUsed; + return IsMaxTokensUsed; + } + + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionVariant4 PickMaxTokensUsed() => IsMaxTokensUsed + ? MaxTokensUsed! + : throw new global::System.InvalidOperationException($"Expected union variant 'MaxTokensUsed' but the value was {ToString()}."); + + /// + /// Stop after the agent loop has executed this many steps. + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.StopServerToolsWhenConditionVariant5? StepCountIs { get; init; } +#else + public global::OpenRouter.StopServerToolsWhenConditionVariant5? StepCountIs { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(StepCountIs))] +#endif + public bool IsStepCountIs => StepCountIs != null; + + /// + /// + /// + public bool TryPickStepCountIs( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.StopServerToolsWhenConditionVariant5? value) + { + value = StepCountIs; + return IsStepCountIs; + } + + /// + /// + /// + public global::OpenRouter.StopServerToolsWhenConditionVariant5 PickStepCountIs() => IsStepCountIs + ? StepCountIs! + : throw new global::System.InvalidOperationException($"Expected union variant 'StepCountIs' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant1 value) => new StopServerToolsWhenCondition((global::OpenRouter.StopServerToolsWhenConditionVariant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.StopServerToolsWhenConditionVariant1?(StopServerToolsWhenCondition @this) => @this.FinishReasonIs; + + /// + /// + /// + public StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant1? value) + { + FinishReasonIs = value; + } + + /// + /// + /// + public static StopServerToolsWhenCondition FromFinishReasonIs(global::OpenRouter.StopServerToolsWhenConditionVariant1? value) => new StopServerToolsWhenCondition(value); + + /// + /// + /// + public static implicit operator StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant2 value) => new StopServerToolsWhenCondition((global::OpenRouter.StopServerToolsWhenConditionVariant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.StopServerToolsWhenConditionVariant2?(StopServerToolsWhenCondition @this) => @this.HasToolCall; + + /// + /// + /// + public StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant2? value) + { + HasToolCall = value; + } + + /// + /// + /// + public static StopServerToolsWhenCondition FromHasToolCall(global::OpenRouter.StopServerToolsWhenConditionVariant2? value) => new StopServerToolsWhenCondition(value); + + /// + /// + /// + public static implicit operator StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant3 value) => new StopServerToolsWhenCondition((global::OpenRouter.StopServerToolsWhenConditionVariant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.StopServerToolsWhenConditionVariant3?(StopServerToolsWhenCondition @this) => @this.MaxCost; + + /// + /// + /// + public StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant3? value) + { + MaxCost = value; + } + + /// + /// + /// + public static StopServerToolsWhenCondition FromMaxCost(global::OpenRouter.StopServerToolsWhenConditionVariant3? value) => new StopServerToolsWhenCondition(value); + + /// + /// + /// + public static implicit operator StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant4 value) => new StopServerToolsWhenCondition((global::OpenRouter.StopServerToolsWhenConditionVariant4?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.StopServerToolsWhenConditionVariant4?(StopServerToolsWhenCondition @this) => @this.MaxTokensUsed; + + /// + /// + /// + public StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant4? value) + { + MaxTokensUsed = value; + } + + /// + /// + /// + public static StopServerToolsWhenCondition FromMaxTokensUsed(global::OpenRouter.StopServerToolsWhenConditionVariant4? value) => new StopServerToolsWhenCondition(value); + + /// + /// + /// + public static implicit operator StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant5 value) => new StopServerToolsWhenCondition((global::OpenRouter.StopServerToolsWhenConditionVariant5?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.StopServerToolsWhenConditionVariant5?(StopServerToolsWhenCondition @this) => @this.StepCountIs; + + /// + /// + /// + public StopServerToolsWhenCondition(global::OpenRouter.StopServerToolsWhenConditionVariant5? value) + { + StepCountIs = value; + } + + /// + /// + /// + public static StopServerToolsWhenCondition FromStepCountIs(global::OpenRouter.StopServerToolsWhenConditionVariant5? value) => new StopServerToolsWhenCondition(value); + + /// + /// + /// + public StopServerToolsWhenCondition( + global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? type, + global::OpenRouter.StopServerToolsWhenConditionVariant1? finishReasonIs, + global::OpenRouter.StopServerToolsWhenConditionVariant2? hasToolCall, + global::OpenRouter.StopServerToolsWhenConditionVariant3? maxCost, + global::OpenRouter.StopServerToolsWhenConditionVariant4? maxTokensUsed, + global::OpenRouter.StopServerToolsWhenConditionVariant5? stepCountIs + ) + { + Type = type; + + FinishReasonIs = finishReasonIs; + HasToolCall = hasToolCall; + MaxCost = maxCost; + MaxTokensUsed = maxTokensUsed; + StepCountIs = stepCountIs; + } + + /// + /// + /// + public object? Object => + StepCountIs as object ?? + MaxTokensUsed as object ?? + MaxCost as object ?? + HasToolCall as object ?? + FinishReasonIs as object + ; + + /// + /// + /// + public override string? ToString() => + FinishReasonIs?.ToString() ?? + HasToolCall?.ToString() ?? + MaxCost?.ToString() ?? + MaxTokensUsed?.ToString() ?? + StepCountIs?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsFinishReasonIs && !IsHasToolCall && !IsMaxCost && !IsMaxTokensUsed && !IsStepCountIs || !IsFinishReasonIs && IsHasToolCall && !IsMaxCost && !IsMaxTokensUsed && !IsStepCountIs || !IsFinishReasonIs && !IsHasToolCall && IsMaxCost && !IsMaxTokensUsed && !IsStepCountIs || !IsFinishReasonIs && !IsHasToolCall && !IsMaxCost && IsMaxTokensUsed && !IsStepCountIs || !IsFinishReasonIs && !IsHasToolCall && !IsMaxCost && !IsMaxTokensUsed && IsStepCountIs; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? finishReasonIs = null, + global::System.Func? hasToolCall = null, + global::System.Func? maxCost = null, + global::System.Func? maxTokensUsed = null, + global::System.Func? stepCountIs = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsFinishReasonIs && finishReasonIs != null) + { + return finishReasonIs(FinishReasonIs!); + } + else if (IsHasToolCall && hasToolCall != null) + { + return hasToolCall(HasToolCall!); + } + else if (IsMaxCost && maxCost != null) + { + return maxCost(MaxCost!); + } + else if (IsMaxTokensUsed && maxTokensUsed != null) + { + return maxTokensUsed(MaxTokensUsed!); + } + else if (IsStepCountIs && stepCountIs != null) + { + return stepCountIs(StepCountIs!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? finishReasonIs = null, + + global::System.Action? hasToolCall = null, + + global::System.Action? maxCost = null, + + global::System.Action? maxTokensUsed = null, + + global::System.Action? stepCountIs = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsFinishReasonIs) + { + finishReasonIs?.Invoke(FinishReasonIs!); + } + else if (IsHasToolCall) + { + hasToolCall?.Invoke(HasToolCall!); + } + else if (IsMaxCost) + { + maxCost?.Invoke(MaxCost!); + } + else if (IsMaxTokensUsed) + { + maxTokensUsed?.Invoke(MaxTokensUsed!); + } + else if (IsStepCountIs) + { + stepCountIs?.Invoke(StepCountIs!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? finishReasonIs = null, + global::System.Action? hasToolCall = null, + global::System.Action? maxCost = null, + global::System.Action? maxTokensUsed = null, + global::System.Action? stepCountIs = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsFinishReasonIs) + { + finishReasonIs?.Invoke(FinishReasonIs!); + } + else if (IsHasToolCall) + { + hasToolCall?.Invoke(HasToolCall!); + } + else if (IsMaxCost) + { + maxCost?.Invoke(MaxCost!); + } + else if (IsMaxTokensUsed) + { + maxTokensUsed?.Invoke(MaxTokensUsed!); + } + else if (IsStepCountIs) + { + stepCountIs?.Invoke(StepCountIs!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + FinishReasonIs, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1), + HasToolCall, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2), + MaxCost, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3), + MaxTokensUsed, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4), + StepCountIs, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(StopServerToolsWhenCondition other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(FinishReasonIs, other.FinishReasonIs) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(HasToolCall, other.HasToolCall) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(MaxCost, other.MaxCost) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(MaxTokensUsed, other.MaxTokensUsed) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(StepCountIs, other.StepCountIs) + ; + } + + /// + /// + /// + public static bool operator ==(StopServerToolsWhenCondition obj1, StopServerToolsWhenCondition obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(StopServerToolsWhenCondition obj1, StopServerToolsWhenCondition obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is StopServerToolsWhenCondition o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.Json.g.cs new file mode 100644 index 00000000..9e78ac93 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionDiscriminator + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionDiscriminator), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionDiscriminator; + } + + /// + /// 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.StopServerToolsWhenConditionDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionDiscriminator; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.g.cs new file mode 100644 index 00000000..200625aa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class StopServerToolsWhenConditionDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenConditionDiscriminatorTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? 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 StopServerToolsWhenConditionDiscriminator( + global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminatorType.g.cs new file mode 100644 index 00000000..20574fe2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionDiscriminatorType.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenConditionDiscriminatorType + { + /// + /// + /// + FinishReasonIs, + /// + /// + /// + HasToolCall, + /// + /// + /// + MaxCost, + /// + /// + /// + MaxTokensUsed, + /// + /// + /// + StepCountIs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenConditionDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenConditionDiscriminatorType value) + { + return value switch + { + StopServerToolsWhenConditionDiscriminatorType.FinishReasonIs => "finish_reason_is", + StopServerToolsWhenConditionDiscriminatorType.HasToolCall => "has_tool_call", + StopServerToolsWhenConditionDiscriminatorType.MaxCost => "max_cost", + StopServerToolsWhenConditionDiscriminatorType.MaxTokensUsed => "max_tokens_used", + StopServerToolsWhenConditionDiscriminatorType.StepCountIs => "step_count_is", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenConditionDiscriminatorType? ToEnum(string value) + { + return value switch + { + "finish_reason_is" => StopServerToolsWhenConditionDiscriminatorType.FinishReasonIs, + "has_tool_call" => StopServerToolsWhenConditionDiscriminatorType.HasToolCall, + "max_cost" => StopServerToolsWhenConditionDiscriminatorType.MaxCost, + "max_tokens_used" => StopServerToolsWhenConditionDiscriminatorType.MaxTokensUsed, + "step_count_is" => StopServerToolsWhenConditionDiscriminatorType.StepCountIs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.Json.g.cs new file mode 100644 index 00000000..300c07a2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionVariant1 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant1), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionVariant1; + } + + /// + /// 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.StopServerToolsWhenConditionVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionVariant1; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.g.cs new file mode 100644 index 00000000..401d9baf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant1.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Stop when the upstream model emits this finish reason (e.g. `length`). + /// + public sealed partial class StopServerToolsWhenConditionVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenFinishReasonIsTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Reason { 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 StopServerToolsWhenConditionVariant1( + string reason, + global::OpenRouter.StopServerToolsWhenFinishReasonIsType type) + { + this.Type = type; + this.Reason = reason ?? throw new global::System.ArgumentNullException(nameof(reason)); + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionVariant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.Json.g.cs new file mode 100644 index 00000000..7f332f05 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionVariant2 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant2), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionVariant2; + } + + /// + /// 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.StopServerToolsWhenConditionVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionVariant2; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.g.cs new file mode 100644 index 00000000..a0cae60b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant2.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Stop after a tool with this name has been called. + /// + public sealed partial class StopServerToolsWhenConditionVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenHasToolCallTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenHasToolCallType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ToolName { 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 StopServerToolsWhenConditionVariant2( + string toolName, + global::OpenRouter.StopServerToolsWhenHasToolCallType type) + { + this.Type = type; + this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.Json.g.cs new file mode 100644 index 00000000..a401d315 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionVariant3 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionVariant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant3), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionVariant3; + } + + /// + /// 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.StopServerToolsWhenConditionVariant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionVariant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionVariant3; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.g.cs new file mode 100644 index 00000000..81b4137b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant3.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Stop once cumulative cost across the loop exceeds this dollar threshold. + /// + public sealed partial class StopServerToolsWhenConditionVariant3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxCostTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenMaxCostType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_cost_in_dollars")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double MaxCostInDollars { 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 StopServerToolsWhenConditionVariant3( + double maxCostInDollars, + global::OpenRouter.StopServerToolsWhenMaxCostType type) + { + this.Type = type; + this.MaxCostInDollars = maxCostInDollars; + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionVariant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.Json.g.cs new file mode 100644 index 00000000..657a9de6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionVariant4 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionVariant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant4), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionVariant4; + } + + /// + /// 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.StopServerToolsWhenConditionVariant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionVariant4), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionVariant4; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.g.cs new file mode 100644 index 00000000..6ab5c3cc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant4.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Stop once cumulative token usage across the loop exceeds this threshold. + /// + public sealed partial class StopServerToolsWhenConditionVariant4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenMaxTokensUsedTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MaxTokens { 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 StopServerToolsWhenConditionVariant4( + int maxTokens, + global::OpenRouter.StopServerToolsWhenMaxTokensUsedType type) + { + this.Type = type; + this.MaxTokens = maxTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionVariant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.Json.g.cs new file mode 100644 index 00000000..febfe4e6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class StopServerToolsWhenConditionVariant5 + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.StopServerToolsWhenConditionVariant5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.StopServerToolsWhenConditionVariant5), + jsonSerializerContext) as global::OpenRouter.StopServerToolsWhenConditionVariant5; + } + + /// + /// 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.StopServerToolsWhenConditionVariant5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.StopServerToolsWhenConditionVariant5), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.StopServerToolsWhenConditionVariant5; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.g.cs new file mode 100644 index 00000000..aa5382ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenConditionVariant5.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Stop after the agent loop has executed this many steps. + /// + public sealed partial class StopServerToolsWhenConditionVariant5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.StopServerToolsWhenStepCountIsTypeJsonConverter))] + public global::OpenRouter.StopServerToolsWhenStepCountIsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("step_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int StepCount { 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 StopServerToolsWhenConditionVariant5( + int stepCount, + global::OpenRouter.StopServerToolsWhenStepCountIsType type) + { + this.Type = type; + this.StepCount = stepCount; + } + + /// + /// Initializes a new instance of the class. + /// + public StopServerToolsWhenConditionVariant5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenFinishReasonIsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenFinishReasonIsType.g.cs new file mode 100644 index 00000000..02ca27bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenFinishReasonIsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenFinishReasonIsType + { + /// + /// + /// + FinishReasonIs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenFinishReasonIsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenFinishReasonIsType value) + { + return value switch + { + StopServerToolsWhenFinishReasonIsType.FinishReasonIs => "finish_reason_is", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenFinishReasonIsType? ToEnum(string value) + { + return value switch + { + "finish_reason_is" => StopServerToolsWhenFinishReasonIsType.FinishReasonIs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenHasToolCallType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenHasToolCallType.g.cs new file mode 100644 index 00000000..552c4446 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenHasToolCallType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenHasToolCallType + { + /// + /// + /// + HasToolCall, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenHasToolCallTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenHasToolCallType value) + { + return value switch + { + StopServerToolsWhenHasToolCallType.HasToolCall => "has_tool_call", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenHasToolCallType? ToEnum(string value) + { + return value switch + { + "has_tool_call" => StopServerToolsWhenHasToolCallType.HasToolCall, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxCostType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxCostType.g.cs new file mode 100644 index 00000000..7ae2f5bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxCostType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenMaxCostType + { + /// + /// + /// + MaxCost, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenMaxCostTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenMaxCostType value) + { + return value switch + { + StopServerToolsWhenMaxCostType.MaxCost => "max_cost", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenMaxCostType? ToEnum(string value) + { + return value switch + { + "max_cost" => StopServerToolsWhenMaxCostType.MaxCost, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxTokensUsedType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxTokensUsedType.g.cs new file mode 100644 index 00000000..2294e1b1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenMaxTokensUsedType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenMaxTokensUsedType + { + /// + /// + /// + MaxTokensUsed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenMaxTokensUsedTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenMaxTokensUsedType value) + { + return value switch + { + StopServerToolsWhenMaxTokensUsedType.MaxTokensUsed => "max_tokens_used", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenMaxTokensUsedType? ToEnum(string value) + { + return value switch + { + "max_tokens_used" => StopServerToolsWhenMaxTokensUsedType.MaxTokensUsed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenStepCountIsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenStepCountIsType.g.cs new file mode 100644 index 00000000..d84880be --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.StopServerToolsWhenStepCountIsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum StopServerToolsWhenStepCountIsType + { + /// + /// + /// + StepCountIs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopServerToolsWhenStepCountIsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopServerToolsWhenStepCountIsType value) + { + return value switch + { + StopServerToolsWhenStepCountIsType.StepCountIs => "step_count_is", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopServerToolsWhenStepCountIsType? ToEnum(string value) + { + return value switch + { + "step_count_is" => StopServerToolsWhenStepCountIsType.StepCountIs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchPluginId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchPluginId.g.cs new file mode 100644 index 00000000..49f3abc3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchPluginId.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum WebFetchPluginId + { + /// + /// + /// + WebFetch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebFetchPluginIdExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebFetchPluginId value) + { + return value switch + { + WebFetchPluginId.WebFetch => "web-fetch", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebFetchPluginId? ToEnum(string value) + { + return value switch + { + "web-fetch" => WebFetchPluginId.WebFetch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs index 532e2576..24812b65 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs @@ -756,6 +756,9 @@ partial void ProcessCreateMessagesResponseContent( /// /// /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// @@ -790,6 +793,7 @@ partial void ProcessCreateMessagesResponseContent( string? sessionId = default, global::OpenRouter.AnthropicSpeed? speed = default, global::System.Collections.Generic.IList? stopSequences = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? stream = default, global::OpenRouter.MessagesRequestSystem? system = default, double? temperature = default, @@ -820,6 +824,7 @@ partial void ProcessCreateMessagesResponseContent( SessionId = sessionId, Speed = speed, StopSequences = stopSequences, + StopServerToolsWhen = stopServerToolsWhen, Stream = stream, System = system, Temperature = temperature, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs index b1e1bc45..51df2b8e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs @@ -962,6 +962,9 @@ partial void ProcessCreateResponsesResponseContent( /// /// A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters. /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// /// Default Value: false @@ -1012,6 +1015,7 @@ partial void ProcessCreateResponsesResponseContent( string? safetyIdentifier = default, global::OpenRouter.OneOf? serviceTier = default, string? sessionId = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? store = default, bool? stream = default, double? temperature = default, @@ -1054,6 +1058,7 @@ partial void ProcessCreateResponsesResponseContent( SafetyIdentifier = safetyIdentifier, ServiceTier = serviceTier, SessionId = sessionId, + StopServerToolsWhen = stopServerToolsWhen, Store = store, Stream = stream, Temperature = temperature, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs index d9a07cd4..be47b74a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs @@ -989,6 +989,9 @@ partial void ProcessSendChatCompletionRequestResponseContent( /// /// Stop sequences (up to 4) /// + /// + /// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. + /// /// /// Enable streaming response
/// Default Value: false @@ -1046,6 +1049,7 @@ partial void ProcessSendChatCompletionRequestResponseContent( global::OpenRouter.OneOf? serviceTier = default, string? sessionId = default, global::OpenRouter.ChatRequestStop? stop = default, + global::System.Collections.Generic.IList? stopServerToolsWhen = default, bool? stream = default, global::OpenRouter.ChatStreamOptions? streamOptions = default, double? temperature = default, @@ -1084,6 +1088,7 @@ partial void ProcessSendChatCompletionRequestResponseContent( ServiceTier = serviceTier, SessionId = sessionId, Stop = stop, + StopServerToolsWhen = stopServerToolsWhen, Stream = stream, StreamOptions = streamOptions, Temperature = temperature, diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 649abe96..f7a24083 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -8284,6 +8284,13 @@ "description": "Approximate user location for location-biased search results. Passed through to native providers that support it (e.g. Anthropic).", "title": "WebSearchPluginUserLocation" }, + "WebFetchPluginId": { + "type": "string", + "enum": [ + "web-fetch" + ], + "title": "WebFetchPluginId" + }, "ResponsesRequestPluginsItems": { "oneOf": [ { @@ -8500,6 +8507,40 @@ "id" ], "description": "web variant" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/WebFetchPluginId" + }, + "allowed_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Only fetch from these domains." + }, + "blocked_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Never fetch from these domains." + }, + "max_content_tokens": { + "type": "integer", + "description": "Maximum content length in approximate tokens. Content exceeding this limit is truncated." + }, + "max_uses": { + "type": "integer", + "description": "Maximum number of web fetches per request. Once exceeded, the tool returns an error." + } + }, + "required": [ + "id" + ], + "description": "web-fetch variant" } ], "discriminator": { @@ -9080,6 +9121,139 @@ "default": "auto", "title": "ResponsesRequestServiceTier" }, + "StopServerToolsWhenFinishReasonIsType": { + "type": "string", + "enum": [ + "finish_reason_is" + ], + "title": "StopServerToolsWhenFinishReasonIsType" + }, + "StopServerToolsWhenHasToolCallType": { + "type": "string", + "enum": [ + "has_tool_call" + ], + "title": "StopServerToolsWhenHasToolCallType" + }, + "StopServerToolsWhenMaxCostType": { + "type": "string", + "enum": [ + "max_cost" + ], + "title": "StopServerToolsWhenMaxCostType" + }, + "StopServerToolsWhenMaxTokensUsedType": { + "type": "string", + "enum": [ + "max_tokens_used" + ], + "title": "StopServerToolsWhenMaxTokensUsedType" + }, + "StopServerToolsWhenStepCountIsType": { + "type": "string", + "enum": [ + "step_count_is" + ], + "title": "StopServerToolsWhenStepCountIsType" + }, + "StopServerToolsWhenCondition": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/StopServerToolsWhenFinishReasonIsType" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "type", + "reason" + ], + "description": "Stop when the upstream model emits this finish reason (e.g. `length`)." + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/StopServerToolsWhenHasToolCallType" + }, + "tool_name": { + "type": "string" + } + }, + "required": [ + "type", + "tool_name" + ], + "description": "Stop after a tool with this name has been called." + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/StopServerToolsWhenMaxCostType" + }, + "max_cost_in_dollars": { + "type": "number", + "format": "double" + } + }, + "required": [ + "type", + "max_cost_in_dollars" + ], + "description": "Stop once cumulative cost across the loop exceeds this dollar threshold." + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/StopServerToolsWhenMaxTokensUsedType" + }, + "max_tokens": { + "type": "integer" + } + }, + "required": [ + "type", + "max_tokens" + ], + "description": "Stop once cumulative token usage across the loop exceeds this threshold." + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/StopServerToolsWhenStepCountIsType" + }, + "step_count": { + "type": "integer" + } + }, + "required": [ + "type", + "step_count" + ], + "description": "Stop after the agent loop has executed this many steps." + } + ], + "discriminator": { + "propertyName": "type" + }, + "description": "A single condition that, when met, halts the server-tool agent loop.", + "title": "StopServerToolsWhenCondition" + }, + "StopServerToolsWhen": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StopServerToolsWhenCondition" + }, + "description": "Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.", + "title": "StopServerToolsWhen" + }, "FormatTextConfigType": { "type": "string", "enum": [ @@ -10511,6 +10685,34 @@ "description": "OpenRouter built-in server tool: returns the current date and time", "title": "DatetimeServerTool" }, + "FusionServerToolConfigReasoningEffort": { + "type": "string", + "enum": [ + "xhigh", + "high", + "medium", + "low", + "minimal", + "none" + ], + "description": "Reasoning effort level for panelist and judge inner calls.", + "title": "FusionServerToolConfigReasoningEffort" + }, + "FusionServerToolConfigReasoning": { + "type": "object", + "properties": { + "effort": { + "$ref": "#/components/schemas/FusionServerToolConfigReasoningEffort", + "description": "Reasoning effort level for panelist and judge inner calls." + }, + "max_tokens": { + "type": "integer", + "description": "Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models allocate too much budget to chain-of-thought." + } + }, + "description": "Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking.", + "title": "FusionServerToolConfigReasoning" + }, "FusionServerToolConfig": { "type": "object", "properties": { @@ -10521,6 +10723,10 @@ }, "description": "Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion." }, + "max_completion_tokens": { + "type": "integer", + "description": "Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, the provider's default applies." + }, "max_tool_calls": { "type": "integer", "description": "Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16." @@ -10528,6 +10734,15 @@ "model": { "type": "string", "description": "Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer API request." + }, + "reasoning": { + "$ref": "#/components/schemas/FusionServerToolConfigReasoning", + "description": "Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking." + }, + "temperature": { + "type": "number", + "format": "double", + "description": "Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies." } }, "description": "Configuration for the openrouter:fusion server tool.", @@ -11065,6 +11280,9 @@ "type": "string", "description": "A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters." }, + "stop_server_tools_when": { + "$ref": "#/components/schemas/StopServerToolsWhen" + }, "store": { "type": "boolean", "enum": [ @@ -17278,6 +17496,40 @@ "id" ], "description": "web variant" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/WebFetchPluginId" + }, + "allowed_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Only fetch from these domains." + }, + "blocked_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Never fetch from these domains." + }, + "max_content_tokens": { + "type": "integer", + "description": "Maximum content length in approximate tokens. Content exceeding this limit is truncated." + }, + "max_uses": { + "type": "integer", + "description": "Maximum number of web fetches per request. Once exceeded, the tool returns an error." + } + }, + "required": [ + "id" + ], + "description": "web-fetch variant" } ], "discriminator": { @@ -17915,6 +18167,9 @@ "$ref": "#/components/schemas/ChatRequestStop", "description": "Stop sequences (up to 4)" }, + "stop_server_tools_when": { + "$ref": "#/components/schemas/StopServerToolsWhen" + }, "stream": { "type": "boolean", "default": false, @@ -24259,6 +24514,40 @@ "id" ], "description": "web variant" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/WebFetchPluginId" + }, + "allowed_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Only fetch from these domains." + }, + "blocked_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Never fetch from these domains." + }, + "max_content_tokens": { + "type": "integer", + "description": "Maximum content length in approximate tokens. Content exceeding this limit is truncated." + }, + "max_uses": { + "type": "integer", + "description": "Maximum number of web fetches per request. Once exceeded, the tool returns an error." + } + }, + "required": [ + "id" + ], + "description": "web-fetch variant" } ], "discriminator": { @@ -24993,6 +25282,9 @@ "type": "string" } }, + "stop_server_tools_when": { + "$ref": "#/components/schemas/StopServerToolsWhen" + }, "stream": { "type": "boolean" },