diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs index 78e04de..e3c9d2c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs @@ -37,24 +37,29 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat if (__jsonProps.Contains("parameters")) __score2++; if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("allowed_domains")) __score3++; - if (__jsonProps.Contains("engine")) __score3++; - if (__jsonProps.Contains("excluded_domains")) __score3++; - if (__jsonProps.Contains("max_results")) __score3++; - if (__jsonProps.Contains("max_total_results")) __score3++; if (__jsonProps.Contains("parameters")) __score3++; - if (__jsonProps.Contains("search_context_size")) __score3++; if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("user_location")) __score3++; + var __score4 = 0; + if (__jsonProps.Contains("allowed_domains")) __score4++; + if (__jsonProps.Contains("engine")) __score4++; + if (__jsonProps.Contains("excluded_domains")) __score4++; + if (__jsonProps.Contains("max_results")) __score4++; + if (__jsonProps.Contains("max_total_results")) __score4++; + if (__jsonProps.Contains("parameters")) __score4++; + if (__jsonProps.Contains("search_context_size")) __score4++; + if (__jsonProps.Contains("type")) __score4++; + if (__jsonProps.Contains("user_location")) __score4++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } global::OpenRouter.ChatFunctionTool0? chatFunctionTool0 = default; global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool = default; global::OpenRouter.ChatWebSearchShorthand? chatWebSearchShorthand = default; if (__bestIndex >= 0) @@ -90,6 +95,21 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat } } else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) { try { @@ -104,7 +124,7 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat { } } - else if (__bestIndex == 3) + else if (__bestIndex == 4) { try { @@ -121,7 +141,7 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat } } - if (chatFunctionTool0 == null && datetimeServerTool == null && openRouterWebSearchServerTool == null && chatWebSearchShorthand == null) + if (chatFunctionTool0 == null && datetimeServerTool == null && chatSearchModelsServerTool == null && openRouterWebSearchServerTool == null && chatWebSearchShorthand == null) { try { @@ -149,6 +169,19 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -181,6 +214,8 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat datetimeServerTool, + chatSearchModelsServerTool, + openRouterWebSearchServerTool, chatWebSearchShorthand @@ -210,6 +245,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DatetimeServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.DatetimeServerTool!, typeInfo); } + else if (value.IsChatSearchModelsServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); + } else if (value.IsOpenRouterWebSearchServerTool) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolType.g.cs new file mode 100644 index 0000000..7e50ac2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ChatSearchModelsServerToolTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ChatSearchModelsServerToolType 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.ChatSearchModelsServerToolTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ChatSearchModelsServerToolType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ChatSearchModelsServerToolType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ChatSearchModelsServerToolType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ChatSearchModelsServerToolTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeNullable.g.cs new file mode 100644 index 0000000..2d8a560 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ChatSearchModelsServerToolTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ChatSearchModelsServerToolType? 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.ChatSearchModelsServerToolTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ChatSearchModelsServerToolType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ChatSearchModelsServerToolType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ChatSearchModelsServerToolType? 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.ChatSearchModelsServerToolTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs index 5687b4e..d056ae9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs @@ -63,6 +63,9 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S var __score6 = 0; if (__jsonProps.Contains("parameters")) __score6++; if (__jsonProps.Contains("type")) __score6++; + var __score7 = 0; + if (__jsonProps.Contains("parameters")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -72,6 +75,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } + if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; } global::OpenRouter.MessagesRequestToolsItems0? messagesRequestToolsItems0 = default; global::OpenRouter.MessagesRequestToolsItems1? messagesRequestToolsItems1 = default; @@ -79,6 +83,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S global::OpenRouter.MessagesRequestToolsItems3? messagesRequestToolsItems3 = default; global::OpenRouter.MessagesRequestToolsItems4? messagesRequestToolsItems4 = default; global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool = default; if (__bestIndex >= 0) { @@ -173,6 +178,21 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S } } else if (__bestIndex == 6) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 7) { try { @@ -189,7 +209,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S } } - if (messagesRequestToolsItems0 == null && messagesRequestToolsItems1 == null && messagesRequestToolsItems2 == null && messagesRequestToolsItems3 == null && messagesRequestToolsItems4 == null && datetimeServerTool == null && openRouterWebSearchServerTool == null) + if (messagesRequestToolsItems0 == null && messagesRequestToolsItems1 == null && messagesRequestToolsItems2 == null && messagesRequestToolsItems3 == null && messagesRequestToolsItems4 == null && datetimeServerTool == null && chatSearchModelsServerTool == null && openRouterWebSearchServerTool == null) { try { @@ -269,6 +289,19 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -296,6 +329,8 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S datetimeServerTool, + chatSearchModelsServerTool, + openRouterWebSearchServerTool ); @@ -347,6 +382,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DatetimeServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.DatetimeServerTool!, typeInfo); } + else if (value.IsChatSearchModelsServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); + } else if (value.IsOpenRouterWebSearchServerTool) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs index 203b4cd..777cebd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs @@ -113,6 +113,9 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. var __score15 = 0; if (__jsonProps.Contains("parameters")) __score15++; if (__jsonProps.Contains("type")) __score15++; + var __score16 = 0; + if (__jsonProps.Contains("parameters")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -131,6 +134,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. if (__score13 > __bestScore) { __bestScore = __score13; __bestIndex = 13; } if (__score14 > __bestScore) { __bestScore = __score14; __bestIndex = 14; } if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; } + if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; } global::OpenRouter.ResponsesRequestToolsItems0? responsesRequestToolsItems0 = default; global::OpenRouter.PreviewWebSearchServerTool? previewWebSearchServerTool = default; @@ -147,6 +151,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. global::OpenRouter.ApplyPatchServerTool? applyPatchServerTool = default; global::OpenRouter.CustomTool? customTool = default; global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; global::OpenRouter.WebSearchServerToolOpenRouter? webSearchServerToolOpenRouter = default; if (__bestIndex >= 0) { @@ -376,6 +381,21 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. } } else if (__bestIndex == 15) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 16) { try { @@ -392,7 +412,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. } } - if (responsesRequestToolsItems0 == null && previewWebSearchServerTool == null && preview20250311WebSearchServerTool == null && legacyWebSearchServerTool == null && webSearchServerTool == null && fileSearchServerTool == null && computerUseServerTool == null && codeInterpreterServerTool == null && mcpServerTool == null && imageGenerationServerTool == null && codexLocalShellTool == null && shellServerTool == null && applyPatchServerTool == null && customTool == null && datetimeServerTool == null && webSearchServerToolOpenRouter == null) + if (responsesRequestToolsItems0 == null && previewWebSearchServerTool == null && preview20250311WebSearchServerTool == null && legacyWebSearchServerTool == null && webSearchServerTool == null && fileSearchServerTool == null && computerUseServerTool == null && codeInterpreterServerTool == null && mcpServerTool == null && imageGenerationServerTool == null && codexLocalShellTool == null && shellServerTool == null && applyPatchServerTool == null && customTool == null && datetimeServerTool == null && chatSearchModelsServerTool == null && webSearchServerToolOpenRouter == null) { try { @@ -589,6 +609,19 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + chatSearchModelsServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebSearchServerToolOpenRouter), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -634,6 +667,8 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. datetimeServerTool, + chatSearchModelsServerTool, + webSearchServerToolOpenRouter ); @@ -739,6 +774,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DatetimeServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.DatetimeServerTool!, typeInfo); } + else if (value.IsChatSearchModelsServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ChatSearchModelsServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); + } else if (value.IsWebSearchServerToolOpenRouter) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebSearchServerToolOpenRouter), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index a665a4f..efcdecf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -521,6 +521,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.DatetimeServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebSearchServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.WebSearchServerToolOpenRouterTypeNullableJsonConverter), @@ -1965,6 +1969,9 @@ 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.SearchModelsServerToolConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType), TypeInfoPropertyName = "ChatSearchModelsServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouterParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouterType), TypeInfoPropertyName = "WebSearchServerToolOpenRouterType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouter))] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index a7e1496..8a654d5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -1200,2959 +1200,2971 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type293 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type293 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type294 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type294 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouter? Type295 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type295 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems? Type296 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type296 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type297 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type297 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type298 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouter? Type298 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type299 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type300 { get; set; } + public global::OpenRouter.TraceConfig? Type300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type301 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::OpenRouter.ResponsesRequest? Type302 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type303 { get; set; } + public global::System.Collections.Generic.IList? Type303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type304 { get; set; } + public global::System.Collections.Generic.IList? Type304 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type305 { get; set; } + public global::System.Collections.Generic.IList? Type305 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type306 { get; set; } + public global::OpenRouter.OneOf? Type306 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type307 { get; set; } + public global::System.Collections.Generic.IList? Type307 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type308 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type308 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type309 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type310 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type311 { get; set; } + public global::OpenRouter.IncompleteDetails? Type311 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type312 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type312 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type314 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type314 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type315 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type315 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type316 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type316 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type317 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type317 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type318 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type318 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type319 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type319 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type320 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type320 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items0? Type321 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type321 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type322 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type322 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type323 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type323 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type324 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items0? Type324 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type325 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type325 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type326 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type326 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemType? Type327 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type327 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type328 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type329 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type329 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type330 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemType? Type330 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type331 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type331 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type332 { get; set; } + public global::System.Collections.Generic.IList? Type332 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type333 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type334 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type334 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items? Type335 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::OpenRouter.OutputMessage? Type336 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultObject? Type338 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items? Type338 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoning? Type339 { get; set; } + public global::System.Collections.Generic.IList? Type339 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCall? Type340 { get; set; } + public global::OpenRouter.BaseInputs? Type340 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCall? Type341 { get; set; } + public global::OpenRouter.BaseResponsesResultObject? Type341 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCall? Type342 { get; set; } + public global::OpenRouter.OutputItemReasoning? Type342 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItems? Type343 { get; set; } + public global::OpenRouter.OutputItemFunctionCall? Type343 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type344 { get; set; } + public global::OpenRouter.OutputItemWebSearchCall? Type344 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier2? Type345 { get; set; } + public global::OpenRouter.OutputItemFileSearchCall? Type345 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type346 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItems? Type346 { get; set; } /// /// /// - public global::OpenRouter.TextConfig? Type347 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type347 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems0? Type348 { get; set; } + public global::OpenRouter.ServiceTier2? Type348 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems? Type349 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type349 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type350 { get; set; } + public global::OpenRouter.TextConfig? Type350 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type351 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems0? Type351 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type352 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems? Type352 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsage? Type353 { get; set; } + public global::OpenRouter.Truncation? Type353 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type354 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type354 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type355 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type355 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type356 { get; set; } + public global::OpenRouter.OpenAIResponsesUsage? Type356 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type357 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type357 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type358 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type358 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemType? Type359 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type359 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type360 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type360 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type361 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type361 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type362 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemType? Type362 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type363 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type363 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type364 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type364 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type365 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type365 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type366 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type366 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type367 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type367 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type368 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type368 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type369 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type369 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type370 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type370 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type371 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type371 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type372 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type372 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type373 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type373 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type374 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type374 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type375 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type375 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type376 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type376 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant1? Type377 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type378 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type378 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant2? Type379 { get; set; } + public global::OpenRouter.OutputItems? Type379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type380 { get; set; } + public global::OpenRouter.OutputItemsVariant1? Type380 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant3? Type381 { get; set; } + public global::System.Collections.Generic.IList? Type381 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant4? Type382 { get; set; } + public global::OpenRouter.OutputItemsVariant2? Type382 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant5? Type383 { get; set; } + public global::System.Collections.Generic.IList? Type383 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant6? Type384 { get; set; } + public global::OpenRouter.OutputItemsVariant3? Type384 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant7? Type385 { get; set; } + public global::OpenRouter.OutputItemsVariant4? Type385 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant8? Type386 { get; set; } + public global::OpenRouter.OutputItemsVariant5? Type386 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant9? Type387 { get; set; } + public global::OpenRouter.OutputItemsVariant6? Type387 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant10? Type388 { get; set; } + public global::OpenRouter.OutputItemsVariant7? Type388 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant11? Type389 { get; set; } + public global::OpenRouter.OutputItemsVariant8? Type389 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant12? Type390 { get; set; } + public global::OpenRouter.OutputItemsVariant9? Type390 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant13? Type391 { get; set; } + public global::OpenRouter.OutputItemsVariant10? Type391 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant14? Type392 { get; set; } + public global::OpenRouter.OutputItemsVariant11? Type392 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant15? Type393 { get; set; } + public global::OpenRouter.OutputItemsVariant12? Type393 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant16? Type394 { get; set; } + public global::OpenRouter.OutputItemsVariant13? Type394 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant17? Type395 { get; set; } + public global::OpenRouter.OutputItemsVariant14? Type395 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant18? Type396 { get; set; } + public global::OpenRouter.OutputItemsVariant15? Type396 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant19? Type397 { get; set; } + public global::OpenRouter.OutputItemsVariant16? Type397 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant20? Type398 { get; set; } + public global::OpenRouter.OutputItemsVariant17? Type398 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant21? Type399 { get; set; } + public global::OpenRouter.OutputItemsVariant18? Type399 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type400 { get; set; } + public global::OpenRouter.OutputItemsVariant19? Type400 { get; set; } /// /// /// - public global::OpenRouter.UsageCostDetails? Type401 { get; set; } + public global::OpenRouter.OutputItemsVariant20? Type401 { get; set; } /// /// /// - public global::OpenRouter.Usage? Type402 { get; set; } + public global::OpenRouter.OutputItemsVariant21? Type402 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type403 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type404 { get; set; } + public global::OpenRouter.UsageCostDetails? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::OpenRouter.Usage? Type405 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type406 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type406 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type407 { get; set; } + public global::System.Collections.Generic.IList? Type407 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type408 { get; set; } + public global::System.Collections.Generic.IList? Type408 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type409 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type409 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type410 { get; set; } + public global::OpenRouter.BadRequestResponse? Type410 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type411 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type411 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type412 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type412 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type413 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type413 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type414 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type414 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type415 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type415 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type416 { get; set; } + public global::OpenRouter.NotFoundResponse? Type416 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type417 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type417 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type418 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type418 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type419 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type419 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type420 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type420 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type421 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type421 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type422 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type422 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type423 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type423 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type424 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type424 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type425 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type425 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type426 { get; set; } + public global::OpenRouter.InternalServerResponse? Type426 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type427 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type427 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type428 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type428 { get; set; } /// /// /// - public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type429 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type429 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type430 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type430 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type431 { get; set; } + public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type431 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type432 { get; set; } + public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type432 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type433 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type433 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type434 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type434 { get; set; } /// /// /// - public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type435 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type435 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type436 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type436 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type437 { get; set; } + public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type437 { get; set; } /// /// /// - public global::OpenRouter.ActivityItem? Type438 { get; set; } + public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type438 { get; set; } /// /// /// - public global::OpenRouter.ActivityResponse? Type439 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::OpenRouter.ConflictResponse? Type440 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlTtl? Type441 { get; set; } + public global::OpenRouter.ActivityItem? Type441 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirectiveType? Type442 { get; set; } + public global::OpenRouter.ActivityResponse? Type442 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestCacheControl? Type443 { get; set; } + public global::System.Collections.Generic.IList? Type443 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type444 { get; set; } + public global::OpenRouter.AnthropicCacheControlTtl? Type444 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestImageConfig? Type445 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirectiveType? Type445 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type446 { get; set; } + public global::OpenRouter.ChatRequestCacheControl? Type446 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type447 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type447 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type448 { get; set; } + public global::OpenRouter.ChatRequestImageConfig? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type449 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageContent? Type450 { get; set; } + public global::OpenRouter.ChatContentTextType? Type450 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type451 { get; set; } + public global::OpenRouter.ChatContentText? Type451 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type452 { get; set; } + public global::System.Collections.Generic.IList? Type452 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrlDetail? Type453 { get; set; } + public global::OpenRouter.ChatSystemMessageContent? Type453 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrl? Type454 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type454 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageType? Type455 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type455 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImage? Type456 { get; set; } + public global::OpenRouter.ChatContentImageImageUrlDetail? Type456 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioInputAudio? Type457 { get; set; } + public global::OpenRouter.ChatContentImageImageUrl? Type457 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioType? Type458 { get; set; } + public global::OpenRouter.ChatContentImageType? Type458 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudio? Type459 { get; set; } + public global::OpenRouter.ChatContentImage? Type459 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type460 { get; set; } + public global::OpenRouter.ChatContentAudioInputAudio? Type460 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type461 { get; set; } + public global::OpenRouter.ChatContentAudioType? Type461 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideo? Type462 { get; set; } + public global::OpenRouter.ChatContentAudio? Type462 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type463 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type463 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideo? Type464 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type464 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileFile? Type465 { get; set; } + public global::OpenRouter.LegacyChatContentVideo? Type465 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileType? Type466 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type466 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFile? Type467 { get; set; } + public global::OpenRouter.ChatContentVideo? Type467 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type468 { get; set; } + public global::OpenRouter.ChatContentFileFile? Type468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type469 { get; set; } + public global::OpenRouter.ChatContentFileType? Type469 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageContent? Type470 { get; set; } + public global::OpenRouter.ChatContentFile? Type470 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type471 { get; set; } + public global::OpenRouter.ChatContentItems? Type471 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type472 { get; set; } + public global::System.Collections.Generic.IList? Type472 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageContent? Type473 { get; set; } + public global::OpenRouter.ChatUserMessageContent? Type473 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type474 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type474 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessage? Type475 { get; set; } + public global::OpenRouter.ChatUserMessage? Type475 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type476 { get; set; } + public global::OpenRouter.ChatDeveloperMessageContent? Type476 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageContent? Type477 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type477 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type478 { get; set; } + public global::OpenRouter.ChatDeveloperMessage? Type478 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItems? Type479 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type480 { get; set; } + public global::OpenRouter.ChatAssistantMessageContent? Type480 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type481 { get; set; } + public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type481 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummary? Type482 { get; set; } + public global::OpenRouter.ChatAssistantImagesItems? Type482 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncrypted? Type484 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type484 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type485 { get; set; } + public global::OpenRouter.ReasoningDetailSummary? Type485 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailText? Type486 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type486 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type487 { get; set; } + public global::OpenRouter.ReasoningDetailEncrypted? Type487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type488 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type488 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageRole? Type489 { get; set; } + public global::OpenRouter.ReasoningDetailText? Type489 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type490 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type490 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type492 { get; set; } + public global::OpenRouter.ChatAssistantMessageRole? Type492 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type493 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::OpenRouter.ChatToolCallType? Type494 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageContent? Type495 { get; set; } + public global::OpenRouter.ChatToolCall? Type495 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type496 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type496 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type497 { get; set; } + public global::System.Collections.Generic.IList? Type497 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type498 { get; set; } + public global::OpenRouter.ChatToolMessageContent? Type498 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitiesItems? Type499 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type499 { get; set; } /// /// /// - public global::OpenRouter.ChatModelNamesItems? Type500 { get; set; } + public global::OpenRouter.ChatToolMessage? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::OpenRouter.ChatMessages? Type501 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItems? Type502 { get; set; } + public global::OpenRouter.ChatRequestModalitiesItems? Type502 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type503 { get; set; } + public global::OpenRouter.ChatModelNamesItems? Type503 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type504 { get; set; } + public global::System.Collections.Generic.IList? Type504 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type505 { get; set; } + public global::OpenRouter.ChatRequestPluginsItems? Type505 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type506 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type506 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type507 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type507 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type508 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type508 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type509 { get; set; } + public global::OpenRouter.OneOf? Type509 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type510 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type510 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type511 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type511 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type512 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type512 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type513 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type513 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type514 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type514 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type515 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type515 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormat? Type516 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type516 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type517 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type517 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestStop? Type518 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type518 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type519 { get; set; } + public global::OpenRouter.ChatRequestResponseFormat? Type519 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice0? Type520 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type520 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice1? Type521 { get; set; } + public global::OpenRouter.ChatRequestStop? Type521 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice2? Type522 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type522 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type523 { get; set; } + public global::OpenRouter.ChatToolChoice0? Type523 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type524 { get; set; } + public global::OpenRouter.ChatToolChoice1? Type524 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type525 { get; set; } + public global::OpenRouter.ChatToolChoice2? Type525 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type526 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type526 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Function? Type527 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type527 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Type? Type528 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type528 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool0? Type529 { get; set; } + public global::OpenRouter.ChatToolChoice? Type529 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type530 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Function? Type530 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type531 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Type? Type531 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type532 { get; set; } + public global::OpenRouter.ChatFunctionTool0? Type532 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type533 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type533 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type534 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type534 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type535 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type535 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type536 { get; set; } + public global::OpenRouter.WebSearchConfig? Type536 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type537 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type537 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type538 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type538 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type539 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type539 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type540 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type541 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::OpenRouter.ChatRequest? Type542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type543 { get; set; } + public global::System.Collections.Generic.Dictionary? Type543 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type544 { get; set; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type545 { get; set; } + public global::System.Collections.Generic.IList? Type545 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type546 { get; set; } + public global::System.Collections.Generic.IList? Type546 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type547 { get; set; } + public global::OpenRouter.OneOf? Type547 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type548 { get; set; } + public global::System.Collections.Generic.IList? Type548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type549 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type549 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type550 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type551 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type551 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type552 { get; set; } + public global::System.Collections.Generic.IList? Type552 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type553 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type553 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type554 { get; set; } + public global::System.Collections.Generic.IList? Type554 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type555 { get; set; } + public global::OpenRouter.ChatChoice? Type555 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type556 { get; set; } + public global::OpenRouter.ChatResultObject? Type556 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type557 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type557 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type558 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type558 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type559 { get; set; } + public global::OpenRouter.ChatUsage? Type559 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type560 { get; set; } + public global::OpenRouter.OneOf? Type560 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type561 { get; set; } + public global::OpenRouter.OneOf? Type561 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type562 { get; set; } + public global::OpenRouter.ChatResult? Type562 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetCreditsResponse200? Type563 { get; set; } + public global::System.Collections.Generic.IList? Type563 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type564 { get; set; } + public global::System.DateTimeOffset? Type564 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type565 { get; set; } + public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type565 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type566 { get; set; } + public global::OpenRouter.CreditsGetCreditsResponse200? Type566 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type567 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type567 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type568 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type568 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type569 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type569 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type570 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type570 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type571 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type572 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type573 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type573 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type574 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type575 { get; set; } + public global::System.Collections.Generic.IList? Type575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type576 { get; set; } + public global::System.Collections.Generic.IList? Type576 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type577 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type577 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type578 { get; set; } + public global::System.Collections.Generic.IList? Type578 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type579 { get; set; } + public global::System.Collections.Generic.IList>? Type579 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type580 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type580 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type581 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type581 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type582 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type582 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type583 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type584 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type585 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type585 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitectureInstructType? Type586 { get; set; } + public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type586 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type588 { get; set; } + public global::OpenRouter.InputModality? Type588 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type589 { get; set; } + public global::OpenRouter.ModelArchitectureInstructType? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type590 { get; set; } + public global::OpenRouter.OutputModality? Type590 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type591 { get; set; } + public global::OpenRouter.ModelGroup? Type591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type592 { get; set; } + public global::OpenRouter.ModelArchitecture? Type592 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type593 { get; set; } + public global::System.Collections.Generic.IList? Type593 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type594 { get; set; } + public global::OpenRouter.OneOf? Type594 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type595 { get; set; } + public global::System.Collections.Generic.IList? Type595 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudio? Type596 { get; set; } + public global::OpenRouter.DefaultParameters? Type596 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudioOutput? Type597 { get; set; } + public global::OpenRouter.ModelLinks? Type597 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingCompletion? Type598 { get; set; } + public global::OpenRouter.PerRequestLimits? Type598 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImage? Type599 { get; set; } + public global::OpenRouter.PublicPricingAudio? Type599 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageOutput? Type600 { get; set; } + public global::OpenRouter.PublicPricingAudioOutput? Type600 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageToken? Type601 { get; set; } + public global::OpenRouter.PublicPricingCompletion? Type601 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputAudioCache? Type602 { get; set; } + public global::OpenRouter.PublicPricingImage? Type602 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheRead? Type603 { get; set; } + public global::OpenRouter.PublicPricingImageOutput? Type603 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheWrite? Type604 { get; set; } + public global::OpenRouter.PublicPricingImageToken? Type604 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInternalReasoning? Type605 { get; set; } + public global::OpenRouter.PublicPricingInputAudioCache? Type605 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingPrompt? Type606 { get; set; } + public global::OpenRouter.PublicPricingInputCacheRead? Type606 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingRequest? Type607 { get; set; } + public global::OpenRouter.PublicPricingInputCacheWrite? Type607 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingWebSearch? Type608 { get; set; } + public global::OpenRouter.PublicPricingInternalReasoning? Type608 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type609 { get; set; } + public global::OpenRouter.PublicPricingPrompt? Type609 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type610 { get; set; } + public global::OpenRouter.PublicPricingRequest? Type610 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type611 { get; set; } + public global::OpenRouter.PublicPricingWebSearch? Type611 { get; set; } /// /// /// - public global::OpenRouter.Model? Type612 { get; set; } + public global::OpenRouter.PublicPricing? Type612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type613 { get; set; } + public global::OpenRouter.Parameter? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type614 { get; set; } + public global::OpenRouter.TopProviderInfo? Type614 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type615 { get; set; } + public global::OpenRouter.Model? Type615 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type616 { get; set; } + public global::System.Collections.Generic.IList? Type616 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudio? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudioOutput? Type618 { get; set; } + public global::OpenRouter.ModelsListResponse? Type618 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingCompletion? Type619 { get; set; } + public global::OpenRouter.PercentileStats? Type619 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImage? Type620 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudio? Type620 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageOutput? Type621 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudioOutput? Type621 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageToken? Type622 { get; set; } + public global::OpenRouter.PublicEndpointPricingCompletion? Type622 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type623 { get; set; } + public global::OpenRouter.PublicEndpointPricingImage? Type623 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type624 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageOutput? Type624 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type625 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageToken? Type625 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type626 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type626 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingPrompt? Type627 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type627 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingRequest? Type628 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type628 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingWebSearch? Type629 { get; set; } + public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type629 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type630 { get; set; } + public global::OpenRouter.PublicEndpointPricingPrompt? Type630 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointQuantization? Type631 { get; set; } + public global::OpenRouter.PublicEndpointPricingRequest? Type631 { get; set; } /// /// /// - public global::OpenRouter.EndpointStatus? Type632 { get; set; } + public global::OpenRouter.PublicEndpointPricingWebSearch? Type632 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointThroughputLast30M? Type633 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type633 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type634 { get; set; } + public global::OpenRouter.PublicEndpointQuantization? Type634 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type635 { get; set; } + public global::OpenRouter.EndpointStatus? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::OpenRouter.PublicEndpointThroughputLast30M? Type636 { get; set; } /// /// /// - public global::OpenRouter.InstructType2? Type637 { get; set; } + public global::OpenRouter.PublicEndpoint? Type637 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type638 { get; set; } + public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type638 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type639 { get; set; } + public global::System.Collections.Generic.IList? Type639 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type640 { get; set; } + public global::OpenRouter.InstructType2? Type640 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsResponse200? Type641 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type641 { get; set; } /// /// /// - public global::OpenRouter.GenerationGetResponsesContentApplicationJsonSchemaDataApiType? Type642 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type642 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type643 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type643 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type644 { get; set; } + public global::OpenRouter.EndpointsListEndpointsResponse200? Type644 { get; set; } /// /// /// - public global::OpenRouter.GenerationGetResponsesContentApplicationJsonSchemaData? Type645 { get; set; } + public global::OpenRouter.GenerationGetResponsesContentApplicationJsonSchemaDataApiType? Type645 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type646 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type647 { get; set; } + public global::OpenRouter.ProviderResponse? Type647 { get; set; } /// /// /// - public global::OpenRouter.GenerationsGetGenerationResponse200? Type648 { get; set; } + public global::OpenRouter.GenerationGetResponsesContentApplicationJsonSchemaData? Type648 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type649 { get; set; } + public global::OpenRouter.OneOf? Type649 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type650 { get; set; } + public global::System.Collections.Generic.IList? Type650 { get; set; } /// /// /// - public global::System.Guid? Type651 { get; set; } + public global::OpenRouter.GenerationsGetGenerationResponse200? Type651 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type652 { get; set; } + public global::OpenRouter.GuardrailInterval? Type652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type653 { get; set; } + public global::OpenRouter.Guardrail? Type653 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type654 { get; set; } + public global::System.Guid? Type654 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponseData? Type655 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type655 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type656 { get; set; } + public global::System.Collections.Generic.IList? Type656 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponseData? Type657 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type657 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type658 { get; set; } + public global::OpenRouter.CreateGuardrailResponseData? Type658 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type659 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type659 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type660 { get; set; } + public global::OpenRouter.GetGuardrailResponseData? Type660 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponseData? Type661 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type661 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type662 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type662 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type663 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type663 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type664 { get; set; } + public global::OpenRouter.UpdateGuardrailResponseData? Type664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type665 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type665 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type666 { get; set; } + public global::OpenRouter.KeyAssignment? Type666 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type667 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type667 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type668 { get; set; } + public global::System.Collections.Generic.IList? Type668 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type669 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type669 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type670 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type670 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type671 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type672 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type673 { get; set; } + public global::OpenRouter.MemberAssignment? Type673 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type674 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type674 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type675 { get; set; } + public global::System.Collections.Generic.IList? Type675 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type676 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type676 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type677 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type677 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type678 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type678 { get; set; } /// /// /// - public global::System.DateTime? Type679 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type679 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type680 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type680 { get; set; } /// /// /// - public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type681 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type681 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysListResponse200? Type682 { get; set; } + public global::System.DateTime? Type682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type683 { get; set; } + public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type683 { get; set; } /// /// /// - public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type684 { get; set; } + public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type684 { get; set; } /// /// /// - public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type685 { get; set; } + public global::OpenRouter.ApiKeysListResponse200? Type685 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysCreateKeysResponse201? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type687 { get; set; } + public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type687 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetKeyResponse200? Type688 { get; set; } + public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type688 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type689 { get; set; } + public global::OpenRouter.ApiKeysCreateKeysResponse201? Type689 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type690 { get; set; } + public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type690 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type691 { get; set; } + public global::OpenRouter.ApiKeysGetKeyResponse200? Type691 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type692 { get; set; } + public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type692 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirective? Type693 { get; set; } + public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type693 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type694 { get; set; } + public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type694 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type695 { get; set; } + public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type695 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type696 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirective? Type696 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type697 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type697 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type698 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type698 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTriggerType? Type699 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type699 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTrigger? Type700 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type700 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTriggerType? Type701 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type701 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTrigger? Type702 { get; set; } + public global::OpenRouter.AnthropicInputTokensTriggerType? Type702 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type703 { get; set; } + public global::OpenRouter.AnthropicInputTokensTrigger? Type703 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type704 { get; set; } + public global::OpenRouter.AnthropicToolUsesTriggerType? Type704 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type705 { get; set; } + public global::OpenRouter.AnthropicToolUsesTrigger? Type705 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type706 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type706 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type707 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type707 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type708 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type708 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type709 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type709 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type710 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type710 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type711 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type711 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type712 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type712 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type713 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type713 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type714 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type714 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type715 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type715 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type716 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type716 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type717 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type717 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type718 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type719 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type719 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParamType? Type720 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type720 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParam? Type721 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type721 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParamType? Type722 { get; set; } + public global::System.Collections.Generic.IList? Type722 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParam? Type723 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParamType? Type723 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type724 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParam? Type724 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type725 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParamType? Type725 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type726 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParam? Type726 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type727 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type727 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type728 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type728 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocation? Type729 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type729 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type730 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type730 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type731 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type731 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type732 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocation? Type732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type733 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type733 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type734 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type734 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSourceType? Type735 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type735 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSource? Type736 { get; set; } + public global::System.Collections.Generic.IList? Type736 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type737 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type737 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSource? Type738 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSourceType? Type738 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSource? Type739 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSource? Type739 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type740 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type740 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type741 { get; set; } + public global::OpenRouter.AnthropicUrlImageSource? Type741 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type742 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSource? Type742 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type743 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type743 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type744 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type744 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type745 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type745 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type746 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type746 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type747 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type747 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type748 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type748 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type749 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type750 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type751 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type751 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type752 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type752 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type753 { get; set; } + public global::System.Collections.Generic.IList? Type753 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type754 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type754 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type755 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type755 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type756 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type756 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type757 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type757 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type758 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type758 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type759 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type759 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type760 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type760 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type761 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type761 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type762 { get; set; } + public global::OpenRouter.OneOf? Type762 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type763 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type763 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type764 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type764 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type765 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type765 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type766 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type767 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type767 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type768 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type769 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type769 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type770 { get; set; } + public global::System.Collections.Generic.IList? Type770 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type771 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type771 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type772 { get; set; } + public global::System.Collections.Generic.IList? Type772 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type773 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type773 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type774 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type774 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type775 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type775 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type776 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type776 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolName? Type777 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type777 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type778 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type778 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type779 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type779 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type780 { get; set; } + public global::OpenRouter.AnthropicServerToolName? Type780 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type781 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type781 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type782 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type782 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type783 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type783 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type784 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type784 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type785 { get; set; } + public global::System.Collections.Generic.IList? Type785 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type786 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type786 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type787 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type787 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type788 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type788 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type789 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type789 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type790 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type790 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type791 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type792 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContent? Type793 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type793 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type794 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type794 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type796 { get; set; } + public global::OpenRouter.MessagesMessageParamContent? Type796 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type797 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type797 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type798 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type798 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type799 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type799 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type800 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type800 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type801 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type801 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type802 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type802 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type803 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type803 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestServiceTier? Type804 { get; set; } + public global::OpenRouter.OneOf? Type804 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSpeed? Type805 { get; set; } + public global::OpenRouter.OneOf? Type805 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type806 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type806 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type807 { get; set; } + public global::OpenRouter.MessagesRequestServiceTier? Type807 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type808 { get; set; } + public global::OpenRouter.MessagesRequestSpeed? Type808 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type809 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type809 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type810 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type810 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type811 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type811 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type812 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type812 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type813 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type813 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type814 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type814 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type815 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type815 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type816 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type816 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type817 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type817 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type818 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type818 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type819 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type819 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type820 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type820 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type821 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type821 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type822 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type822 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type823 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type823 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type824 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type824 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type825 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type825 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type826 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type826 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type827 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type827 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type828 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type828 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type829 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type829 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type830 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type830 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type831 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type831 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type832 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type832 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type833 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type833 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type834 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type834 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type835 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type835 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type836 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type836 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type837 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type837 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type838 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type838 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type839 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type839 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type840 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type841 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type841 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type842 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type842 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type843 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type843 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type844 { get; set; } + public global::System.Collections.Generic.IList? Type844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type845 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type846 { get; set; } + public global::OpenRouter.MessagesRequest? Type846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type847 { get; set; } + public global::OpenRouter.OneOf? Type847 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type848 { get; set; } + public global::System.Collections.Generic.IList? Type848 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type849 { get; set; } + public global::System.Collections.Generic.IList? Type849 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type850 { get; set; } + public global::System.Collections.Generic.IList? Type850 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type851 { get; set; } + public global::OpenRouter.AnthropicContainer? Type851 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type852 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type852 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type853 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type853 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type854 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type854 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type855 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type855 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type856 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type856 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type857 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type858 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type858 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type859 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type859 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type860 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type860 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type861 { get; set; } + public global::System.Collections.Generic.IList? Type861 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type862 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type862 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type863 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type863 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type864 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type864 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type865 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type865 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type866 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type866 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type867 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type867 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type868 { get; set; } + public global::OpenRouter.AnthropicCaller? Type868 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type869 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type869 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type870 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type870 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type871 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type871 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlockType? Type872 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type872 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlock? Type873 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type873 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type874 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type874 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type875 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlockType? Type875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type876 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlock? Type876 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type877 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type877 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type878 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type878 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type879 { get; set; } + public global::System.Collections.Generic.IList? Type879 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultContent? Type880 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type880 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type881 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type881 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type882 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type882 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type883 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultContent? Type883 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type884 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type884 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type885 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type885 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type886 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type886 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type887 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type887 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type888 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type888 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type889 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type889 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type890 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type890 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type891 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type891 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type892 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type892 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type893 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type893 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type894 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type894 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type895 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type895 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type896 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type896 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type897 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type897 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type898 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type898 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type899 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type899 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type900 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type900 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type901 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type901 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type902 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type902 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type903 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type903 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type904 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type904 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type905 { get; set; } + public global::System.Collections.Generic.IList? Type905 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type906 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type906 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type907 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type907 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type908 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type908 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type909 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type909 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type910 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type910 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type911 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type911 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type912 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type912 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type913 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type913 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type914 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type915 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type915 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type916 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type916 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type917 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type917 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type918 { get; set; } + public global::System.Collections.Generic.IList? Type918 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type919 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type919 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type920 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type920 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type921 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type921 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type922 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type922 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type923 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type923 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type924 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type924 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type925 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type925 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type926 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type926 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type927 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type927 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type928 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type928 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type929 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type929 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type930 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type930 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type931 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type931 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type932 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type932 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type933 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type933 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type934 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type934 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type935 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type935 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type936 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type936 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type937 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type937 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type938 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type938 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type939 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type939 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type940 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type940 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type941 { get; set; } + public global::System.Collections.Generic.IList? Type941 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type942 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type942 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type943 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type943 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type944 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type944 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type945 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type945 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type946 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type946 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type947 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type947 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type948 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type948 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type949 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type949 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type950 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type950 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type951 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type951 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type952 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type952 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type953 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type953 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type954 { get; set; } + public global::OpenRouter.OneOf? Type954 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type955 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type955 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type956 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type956 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type957 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type957 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type958 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type958 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type959 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type959 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type960 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type960 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type961 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type961 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type962 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type962 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type963 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type963 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type964 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type964 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type965 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type965 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type966 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type966 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsageCostDetails? Type967 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type967 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type968 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type968 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type969 { get; set; } + public global::System.Collections.Generic.IList? Type969 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type970 { get; set; } + public global::OpenRouter.MessagesResultUsageCostDetails? Type970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type971 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type971 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type972 { get; set; } + public global::OpenRouter.OneOf? Type972 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type973 { get; set; } + public global::OpenRouter.MessagesResult? Type973 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type974 { get; set; } + public global::System.Collections.Generic.IList? Type974 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type975 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type975 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type976 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type976 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type977 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type977 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type978 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type978 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type979 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type979 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type980 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type980 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type981 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type981 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type982 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type982 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type983 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type983 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type984 { get; set; } + public global::System.Collections.Generic.IList? Type984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type985 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type985 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type986 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type986 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type987 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type988 { get; set; } + public global::System.Collections.Generic.IList? Type988 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type989 { get; set; } + public global::OpenRouter.OneOf? Type989 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type990 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type990 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type991 { get; set; } + public global::System.Collections.Generic.IList? Type991 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type992 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type992 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type993 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type993 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type994 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type994 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type995 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type995 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type996 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type996 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type997 { get; set; } + public global::System.Collections.Generic.IList? Type997 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type998 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type998 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type999 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type999 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type1000 { get; set; } + public global::OpenRouter.ContentPartImageType? Type1000 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1001 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1001 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1002 { get; set; } + public global::OpenRouter.FrameImage? Type1002 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1003 { get; set; } + public global::OpenRouter.ContentPartImage? Type1003 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1004 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1005 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1006 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1006 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1007 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1007 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1008 { get; set; } + public global::System.Collections.Generic.IList? Type1008 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1009 { get; set; } + public global::System.Collections.Generic.IList? Type1009 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1010 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1010 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1011 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1011 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1012 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1012 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1013 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1013 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1014 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1016 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1016 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1017 { get; set; } + public global::OpenRouter.VideoModel? Type1017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1018 { get; set; } + public global::System.Collections.Generic.IList? Type1018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1019 { get; set; } + public global::System.Collections.Generic.IList? Type1019 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1020 { get; set; } + public global::System.Collections.Generic.IList? Type1020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1021 { get; set; } + public global::System.Collections.Generic.IList? Type1021 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1022 { get; set; } + public global::System.Collections.Generic.IList? Type1022 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1023 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1023 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1024 { get; set; } + public global::System.Collections.Generic.IList? Type1024 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1025 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1025 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1026 { get; set; } + public global::OpenRouter.OneOf? Type1026 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1027 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1027 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1028 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type1028 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1029 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type1029 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1030 { get; set; } + public global::OpenRouter.OneOf? Type1030 { get; set; } /// /// /// - public byte[]? Type1031 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type1031 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1032 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1033 { get; set; } + /// + /// + /// + public byte[]? Type1034 { get; set; } /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs index de6ef5d..e7c2ade 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs @@ -43,6 +43,23 @@ namespace OpenRouter #endif public bool IsDatetimeServerTool => DatetimeServerTool != null; + /// + /// OpenRouter built-in server tool: searches and filters AI models available on OpenRouter + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; init; } +#else + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChatSearchModelsServerTool))] +#endif + public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -112,6 +129,24 @@ public ChatFunctionTool(global::OpenRouter.DatetimeServerTool? value) DatetimeServerTool = value; } + /// + /// + /// + public static implicit operator ChatFunctionTool(global::OpenRouter.ChatSearchModelsServerTool value) => new ChatFunctionTool((global::OpenRouter.ChatSearchModelsServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ChatSearchModelsServerTool?(ChatFunctionTool @this) => @this.ChatSearchModelsServerTool; + + /// + /// + /// + public ChatFunctionTool(global::OpenRouter.ChatSearchModelsServerTool? value) + { + ChatSearchModelsServerTool = value; + } + /// /// /// @@ -154,12 +189,14 @@ public ChatFunctionTool(global::OpenRouter.ChatWebSearchShorthand? value) public ChatFunctionTool( global::OpenRouter.ChatFunctionTool0? chatFunctionTool0, global::OpenRouter.DatetimeServerTool? datetimeServerTool, + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool, global::OpenRouter.ChatWebSearchShorthand? chatWebSearchShorthand ) { ChatFunctionTool0 = chatFunctionTool0; DatetimeServerTool = datetimeServerTool; + ChatSearchModelsServerTool = chatSearchModelsServerTool; OpenRouterWebSearchServerTool = openRouterWebSearchServerTool; ChatWebSearchShorthand = chatWebSearchShorthand; } @@ -170,6 +207,7 @@ public ChatFunctionTool( public object? Object => ChatWebSearchShorthand as object ?? OpenRouterWebSearchServerTool as object ?? + ChatSearchModelsServerTool as object ?? DatetimeServerTool as object ?? ChatFunctionTool0 as object ; @@ -180,6 +218,7 @@ ChatFunctionTool0 as object public override string? ToString() => ChatFunctionTool0?.ToString() ?? DatetimeServerTool?.ToString() ?? + ChatSearchModelsServerTool?.ToString() ?? OpenRouterWebSearchServerTool?.ToString() ?? ChatWebSearchShorthand?.ToString() ; @@ -189,7 +228,7 @@ ChatFunctionTool0 as object /// public bool Validate() { - return IsChatFunctionTool0 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool && IsChatWebSearchShorthand; + return IsChatFunctionTool0 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && IsChatWebSearchShorthand; } /// @@ -198,6 +237,7 @@ public bool Validate() public TResult? Match( global::System.Func? chatFunctionTool0 = null, global::System.Func? datetimeServerTool = null, + global::System.Func? chatSearchModelsServerTool = null, global::System.Func? openRouterWebSearchServerTool = null, global::System.Func? chatWebSearchShorthand = null, bool validate = true) @@ -215,6 +255,10 @@ public bool Validate() { return datetimeServerTool(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool && chatSearchModelsServerTool != null) + { + return chatSearchModelsServerTool(ChatSearchModelsServerTool!); + } else if (IsOpenRouterWebSearchServerTool && openRouterWebSearchServerTool != null) { return openRouterWebSearchServerTool(OpenRouterWebSearchServerTool!); @@ -233,6 +277,7 @@ public bool Validate() public void Match( global::System.Action? chatFunctionTool0 = null, global::System.Action? datetimeServerTool = null, + global::System.Action? chatSearchModelsServerTool = null, global::System.Action? openRouterWebSearchServerTool = null, global::System.Action? chatWebSearchShorthand = null, bool validate = true) @@ -250,6 +295,10 @@ public void Match( { datetimeServerTool?.Invoke(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool) + { + chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); + } else if (IsOpenRouterWebSearchServerTool) { openRouterWebSearchServerTool?.Invoke(OpenRouterWebSearchServerTool!); @@ -271,6 +320,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ChatFunctionTool0), DatetimeServerTool, typeof(global::OpenRouter.DatetimeServerTool), + ChatSearchModelsServerTool, + typeof(global::OpenRouter.ChatSearchModelsServerTool), OpenRouterWebSearchServerTool, typeof(global::OpenRouter.OpenRouterWebSearchServerTool), ChatWebSearchShorthand, @@ -293,6 +344,7 @@ public bool Equals(ChatFunctionTool other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatFunctionTool0, other.ChatFunctionTool0) && global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenRouterWebSearchServerTool, other.OpenRouterWebSearchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatWebSearchShorthand, other.ChatWebSearchShorthand) ; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerTool.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerTool.Json.g.cs new file mode 100644 index 0000000..cbeeed3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerTool.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ChatSearchModelsServerTool + { + /// + /// 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.ChatSearchModelsServerTool? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ChatSearchModelsServerTool), + jsonSerializerContext) as global::OpenRouter.ChatSearchModelsServerTool; + } + + /// + /// 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.ChatSearchModelsServerTool? 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.ChatSearchModelsServerTool), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ChatSearchModelsServerTool; + } + + /// + /// 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.ChatSearchModelsServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerTool.g.cs new file mode 100644 index 0000000..6b4c469 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerTool.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// OpenRouter built-in server tool: searches and filters AI models available on OpenRouter + /// + public sealed partial class ChatSearchModelsServerTool + { + /// + /// Configuration for the openrouter:experimental__search_models server tool + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] + public global::OpenRouter.SearchModelsServerToolConfig? Parameters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeJsonConverter))] + public global::OpenRouter.ChatSearchModelsServerToolType 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. + /// + /// + /// Configuration for the openrouter:experimental__search_models server tool + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChatSearchModelsServerTool( + global::OpenRouter.SearchModelsServerToolConfig? parameters, + global::OpenRouter.ChatSearchModelsServerToolType type) + { + this.Parameters = parameters; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChatSearchModelsServerTool() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerToolType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerToolType.g.cs new file mode 100644 index 0000000..22244e4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSearchModelsServerToolType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ChatSearchModelsServerToolType + { + /// + /// + /// + Openrouter_experimentalSearchModels, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChatSearchModelsServerToolTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChatSearchModelsServerToolType value) + { + return value switch + { + ChatSearchModelsServerToolType.Openrouter_experimentalSearchModels => "openrouter:experimental__search_models", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChatSearchModelsServerToolType? ToEnum(string value) + { + return value switch + { + "openrouter:experimental__search_models" => ChatSearchModelsServerToolType.Openrouter_experimentalSearchModels, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs index 4d2891d..0597af7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs @@ -111,6 +111,23 @@ namespace OpenRouter #endif public bool IsDatetimeServerTool => DatetimeServerTool != null; + /// + /// OpenRouter built-in server tool: searches and filters AI models available on OpenRouter + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; init; } +#else + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChatSearchModelsServerTool))] +#endif + public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -235,6 +252,24 @@ public MessagesRequestToolsItems(global::OpenRouter.DatetimeServerTool? value) DatetimeServerTool = value; } + /// + /// + /// + public static implicit operator MessagesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool value) => new MessagesRequestToolsItems((global::OpenRouter.ChatSearchModelsServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ChatSearchModelsServerTool?(MessagesRequestToolsItems @this) => @this.ChatSearchModelsServerTool; + + /// + /// + /// + public MessagesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool? value) + { + ChatSearchModelsServerTool = value; + } + /// /// /// @@ -263,6 +298,7 @@ public MessagesRequestToolsItems( global::OpenRouter.MessagesRequestToolsItems3? messagesRequestToolsItems3, global::OpenRouter.MessagesRequestToolsItems4? messagesRequestToolsItems4, global::OpenRouter.DatetimeServerTool? datetimeServerTool, + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool ) { @@ -272,6 +308,7 @@ public MessagesRequestToolsItems( MessagesRequestToolsItems3 = messagesRequestToolsItems3; MessagesRequestToolsItems4 = messagesRequestToolsItems4; DatetimeServerTool = datetimeServerTool; + ChatSearchModelsServerTool = chatSearchModelsServerTool; OpenRouterWebSearchServerTool = openRouterWebSearchServerTool; } @@ -280,6 +317,7 @@ public MessagesRequestToolsItems( /// public object? Object => OpenRouterWebSearchServerTool as object ?? + ChatSearchModelsServerTool as object ?? DatetimeServerTool as object ?? MessagesRequestToolsItems4 as object ?? MessagesRequestToolsItems3 as object ?? @@ -298,6 +336,7 @@ MessagesRequestToolsItems0 as object MessagesRequestToolsItems3?.ToString() ?? MessagesRequestToolsItems4?.ToString() ?? DatetimeServerTool?.ToString() ?? + ChatSearchModelsServerTool?.ToString() ?? OpenRouterWebSearchServerTool?.ToString() ; @@ -306,7 +345,7 @@ MessagesRequestToolsItems0 as object /// public bool Validate() { - return IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && IsDatetimeServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && IsOpenRouterWebSearchServerTool; + return IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && IsOpenRouterWebSearchServerTool; } /// @@ -319,6 +358,7 @@ public bool Validate() global::System.Func? messagesRequestToolsItems3 = null, global::System.Func? messagesRequestToolsItems4 = null, global::System.Func? datetimeServerTool = null, + global::System.Func? chatSearchModelsServerTool = null, global::System.Func? openRouterWebSearchServerTool = null, bool validate = true) { @@ -351,6 +391,10 @@ public bool Validate() { return datetimeServerTool(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool && chatSearchModelsServerTool != null) + { + return chatSearchModelsServerTool(ChatSearchModelsServerTool!); + } else if (IsOpenRouterWebSearchServerTool && openRouterWebSearchServerTool != null) { return openRouterWebSearchServerTool(OpenRouterWebSearchServerTool!); @@ -369,6 +413,7 @@ public void Match( global::System.Action? messagesRequestToolsItems3 = null, global::System.Action? messagesRequestToolsItems4 = null, global::System.Action? datetimeServerTool = null, + global::System.Action? chatSearchModelsServerTool = null, global::System.Action? openRouterWebSearchServerTool = null, bool validate = true) { @@ -401,6 +446,10 @@ public void Match( { datetimeServerTool?.Invoke(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool) + { + chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); + } else if (IsOpenRouterWebSearchServerTool) { openRouterWebSearchServerTool?.Invoke(OpenRouterWebSearchServerTool!); @@ -426,6 +475,8 @@ public override int GetHashCode() typeof(global::OpenRouter.MessagesRequestToolsItems4), DatetimeServerTool, typeof(global::OpenRouter.DatetimeServerTool), + ChatSearchModelsServerTool, + typeof(global::OpenRouter.ChatSearchModelsServerTool), OpenRouterWebSearchServerTool, typeof(global::OpenRouter.OpenRouterWebSearchServerTool), }; @@ -450,6 +501,7 @@ public bool Equals(MessagesRequestToolsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(MessagesRequestToolsItems3, other.MessagesRequestToolsItems3) && global::System.Collections.Generic.EqualityComparer.Default.Equals(MessagesRequestToolsItems4, other.MessagesRequestToolsItems4) && global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenRouterWebSearchServerTool, other.OpenRouterWebSearchServerTool) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs index 89f2f0a..795e309 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs @@ -264,6 +264,23 @@ namespace OpenRouter #endif public bool IsDatetimeServerTool => DatetimeServerTool != null; + /// + /// OpenRouter built-in server tool: searches and filters AI models available on OpenRouter + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; init; } +#else + public global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChatSearchModelsServerTool))] +#endif + public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -550,6 +567,24 @@ public ResponsesRequestToolsItems(global::OpenRouter.DatetimeServerTool? value) DatetimeServerTool = value; } + /// + /// + /// + public static implicit operator ResponsesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool value) => new ResponsesRequestToolsItems((global::OpenRouter.ChatSearchModelsServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ChatSearchModelsServerTool?(ResponsesRequestToolsItems @this) => @this.ChatSearchModelsServerTool; + + /// + /// + /// + public ResponsesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool? value) + { + ChatSearchModelsServerTool = value; + } + /// /// /// @@ -587,6 +622,7 @@ public ResponsesRequestToolsItems( global::OpenRouter.ApplyPatchServerTool? applyPatchServerTool, global::OpenRouter.CustomTool? customTool, global::OpenRouter.DatetimeServerTool? datetimeServerTool, + global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, global::OpenRouter.WebSearchServerToolOpenRouter? webSearchServerToolOpenRouter ) { @@ -605,6 +641,7 @@ public ResponsesRequestToolsItems( ApplyPatchServerTool = applyPatchServerTool; CustomTool = customTool; DatetimeServerTool = datetimeServerTool; + ChatSearchModelsServerTool = chatSearchModelsServerTool; WebSearchServerToolOpenRouter = webSearchServerToolOpenRouter; } @@ -613,6 +650,7 @@ public ResponsesRequestToolsItems( /// public object? Object => WebSearchServerToolOpenRouter as object ?? + ChatSearchModelsServerTool as object ?? DatetimeServerTool as object ?? CustomTool as object ?? ApplyPatchServerTool as object ?? @@ -649,6 +687,7 @@ ResponsesRequestToolsItems0 as object ApplyPatchServerTool?.ToString() ?? CustomTool?.ToString() ?? DatetimeServerTool?.ToString() ?? + ChatSearchModelsServerTool?.ToString() ?? WebSearchServerToolOpenRouter?.ToString() ; @@ -657,7 +696,7 @@ ResponsesRequestToolsItems0 as object /// public bool Validate() { - return IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && IsCustomTool && !IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && IsDatetimeServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && IsWebSearchServerToolOpenRouter; + return IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && IsDatetimeServerTool && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsChatSearchModelsServerTool && IsWebSearchServerToolOpenRouter; } /// @@ -679,6 +718,7 @@ public bool Validate() global::System.Func? applyPatchServerTool = null, global::System.Func? customTool = null, global::System.Func? datetimeServerTool = null, + global::System.Func? chatSearchModelsServerTool = null, global::System.Func? webSearchServerToolOpenRouter = null, bool validate = true) { @@ -747,6 +787,10 @@ public bool Validate() { return datetimeServerTool(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool && chatSearchModelsServerTool != null) + { + return chatSearchModelsServerTool(ChatSearchModelsServerTool!); + } else if (IsWebSearchServerToolOpenRouter && webSearchServerToolOpenRouter != null) { return webSearchServerToolOpenRouter(WebSearchServerToolOpenRouter!); @@ -774,6 +818,7 @@ public void Match( global::System.Action? applyPatchServerTool = null, global::System.Action? customTool = null, global::System.Action? datetimeServerTool = null, + global::System.Action? chatSearchModelsServerTool = null, global::System.Action? webSearchServerToolOpenRouter = null, bool validate = true) { @@ -842,6 +887,10 @@ public void Match( { datetimeServerTool?.Invoke(DatetimeServerTool!); } + else if (IsChatSearchModelsServerTool) + { + chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); + } else if (IsWebSearchServerToolOpenRouter) { webSearchServerToolOpenRouter?.Invoke(WebSearchServerToolOpenRouter!); @@ -885,6 +934,8 @@ public override int GetHashCode() typeof(global::OpenRouter.CustomTool), DatetimeServerTool, typeof(global::OpenRouter.DatetimeServerTool), + ChatSearchModelsServerTool, + typeof(global::OpenRouter.ChatSearchModelsServerTool), WebSearchServerToolOpenRouter, typeof(global::OpenRouter.WebSearchServerToolOpenRouter), }; @@ -918,6 +969,7 @@ public bool Equals(ResponsesRequestToolsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(ApplyPatchServerTool, other.ApplyPatchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomTool, other.CustomTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchServerToolOpenRouter, other.WebSearchServerToolOpenRouter) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchModelsServerToolConfig.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchModelsServerToolConfig.Json.g.cs new file mode 100644 index 0000000..dd6c373 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchModelsServerToolConfig.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SearchModelsServerToolConfig + { + /// + /// 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.SearchModelsServerToolConfig? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SearchModelsServerToolConfig), + jsonSerializerContext) as global::OpenRouter.SearchModelsServerToolConfig; + } + + /// + /// 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.SearchModelsServerToolConfig? 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.SearchModelsServerToolConfig), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SearchModelsServerToolConfig; + } + + /// + /// 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.SearchModelsServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchModelsServerToolConfig.g.cs new file mode 100644 index 0000000..1227f07 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchModelsServerToolConfig.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Configuration for the openrouter:experimental__search_models server tool + /// + public sealed partial class SearchModelsServerToolConfig + { + /// + /// Maximum number of models to return. Defaults to 5, max 20. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_results")] + public int? MaxResults { 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. + /// + /// + /// Maximum number of models to return. Defaults to 5, max 20. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SearchModelsServerToolConfig( + int? maxResults) + { + this.MaxResults = maxResults; + } + + /// + /// Initializes a new instance of the class. + /// + public SearchModelsServerToolConfig() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index b9ff24c..b0fbcd1 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -7150,6 +7150,40 @@ "description": "OpenRouter built-in server tool: returns the current date and time", "title": "DatetimeServerTool" }, + "SearchModelsServerToolConfig": { + "type": "object", + "properties": { + "max_results": { + "type": "integer", + "description": "Maximum number of models to return. Defaults to 5, max 20." + } + }, + "description": "Configuration for the openrouter:experimental__search_models server tool", + "title": "SearchModelsServerToolConfig" + }, + "ChatSearchModelsServerToolType": { + "type": "string", + "enum": [ + "openrouter:experimental__search_models" + ], + "title": "ChatSearchModelsServerToolType" + }, + "ChatSearchModelsServerTool": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/components/schemas/SearchModelsServerToolConfig" + }, + "type": { + "$ref": "#/components/schemas/ChatSearchModelsServerToolType" + } + }, + "required": [ + "type" + ], + "description": "OpenRouter built-in server tool: searches and filters AI models available on OpenRouter", + "title": "ChatSearchModelsServerTool" + }, "WebSearchServerToolOpenRouterParameters": { "type": "object", "properties": { @@ -7234,6 +7268,9 @@ { "$ref": "#/components/schemas/DatetimeServerTool" }, + { + "$ref": "#/components/schemas/ChatSearchModelsServerTool" + }, { "$ref": "#/components/schemas/WebSearchServerTool_OpenRouter" } @@ -11472,6 +11509,9 @@ { "$ref": "#/components/schemas/DatetimeServerTool" }, + { + "$ref": "#/components/schemas/ChatSearchModelsServerTool" + }, { "$ref": "#/components/schemas/OpenRouterWebSearchServerTool" }, @@ -17352,6 +17392,9 @@ { "$ref": "#/components/schemas/DatetimeServerTool" }, + { + "$ref": "#/components/schemas/ChatSearchModelsServerTool" + }, { "$ref": "#/components/schemas/OpenRouterWebSearchServerTool" }