diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs
index fb3e79cd..082f6a31 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs
@@ -597,6 +597,10 @@ partial void ProcessCreateResponseContent(
/// Optional allowlist of user IDs that may use this credential. `null` means no restriction.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
+ ///
+ /// Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, only Azure accepts `europe` or `us`. Defaults to the key's region for OpenAI and Fireworks, otherwise `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
/// Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter's data policy for the provider's endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Defaults to `null`.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
@@ -642,6 +646,7 @@ partial void ProcessCreateResponseContent(
global::System.Collections.Generic.IList? allowedApiKeyHashes = default,
global::System.Collections.Generic.IList? allowedModels = default,
global::System.Collections.Generic.IList? allowedUserIds = default,
+ global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? declaredRegion = default,
bool? declaredZdr = default,
bool? disabled = default,
bool? isByokOnly = default,
@@ -657,6 +662,7 @@ partial void ProcessCreateResponseContent(
AllowedApiKeyHashes = allowedApiKeyHashes,
AllowedModels = allowedModels,
AllowedUserIds = allowedUserIds,
+ DeclaredRegion = declaredRegion,
DeclaredZdr = declaredZdr,
Disabled = disabled,
IsByokOnly = isByokOnly,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs
index e353af5e..6eaef1b7 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs
@@ -500,6 +500,43 @@ partial void ProcessUpdateResponseContent(
h => h.Key,
h => h.Value));
}
+ // Conflict - Resource conflict or concurrent modification
+ if ((int)__response.StatusCode == 409)
+ {
+ string? __content_409 = null;
+ global::System.Exception? __exception_409 = null;
+ global::OpenRouter.ConflictResponse? __value_409 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext);
+ }
+ else
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_409 = __ex;
+ }
+
+
+ throw global::OpenRouter.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_409 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_409,
+ responseBody: __content_409,
+ responseObject: __value_409,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
// Internal Server Error - Unexpected server error
if ((int)__response.StatusCode == 500)
{
@@ -653,6 +690,10 @@ partial void ProcessUpdateResponseContent(
/// Optional allowlist of user IDs that may use this credential. `null` means no restriction.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
+ ///
+ /// Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, only Azure accepts `europe` or `us`. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
/// Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter's data policy for the provider's endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Omit to leave the stored value unchanged; `null` clears the declaration.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
@@ -689,6 +730,7 @@ partial void ProcessUpdateResponseContent(
global::System.Collections.Generic.IList? allowedApiKeyHashes = default,
global::System.Collections.Generic.IList? allowedModels = default,
global::System.Collections.Generic.IList? allowedUserIds = default,
+ global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? declaredRegion = default,
bool? declaredZdr = default,
bool? disabled = default,
bool? isByokOnly = default,
@@ -704,6 +746,7 @@ partial void ProcessUpdateResponseContent(
AllowedApiKeyHashes = allowedApiKeyHashes,
AllowedModels = allowedModels,
AllowedUserIds = allowedUserIds,
+ DeclaredRegion = declaredRegion,
DeclaredZdr = declaredZdr,
Disabled = disabled,
IsByokOnly = isByokOnly,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs
index 18941d6e..93bb54e3 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs
@@ -46,6 +46,10 @@ public partial interface IByokClient
/// Optional allowlist of user IDs that may use this credential. `null` means no restriction.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
+ ///
+ /// Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, only Azure accepts `europe` or `us`. Defaults to the key's region for OpenAI and Fireworks, otherwise `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
/// Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter's data policy for the provider's endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Defaults to `null`.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
@@ -91,6 +95,7 @@ public partial interface IByokClient
global::System.Collections.Generic.IList? allowedApiKeyHashes = default,
global::System.Collections.Generic.IList? allowedModels = default,
global::System.Collections.Generic.IList? allowedUserIds = default,
+ global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? declaredRegion = default,
bool? declaredZdr = default,
bool? disabled = default,
bool? isByokOnly = default,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs
index 87ec69e3..a0317c77 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs
@@ -60,6 +60,10 @@ public partial interface IByokClient
/// Optional allowlist of user IDs that may use this credential. `null` means no restriction.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
+ ///
+ /// Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, only Azure accepts `europe` or `us`. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
/// Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter's data policy for the provider's endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Omit to leave the stored value unchanged; `null` clears the declaration.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
@@ -96,6 +100,7 @@ public partial interface IByokClient
global::System.Collections.Generic.IList? allowedApiKeyHashes = default,
global::System.Collections.Generic.IList? allowedModels = default,
global::System.Collections.Generic.IList? allowedUserIds = default,
+ global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? declaredRegion = default,
bool? declaredZdr = default,
bool? disabled = default,
bool? isByokOnly = default,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs
index 25838377..a2dc3f7a 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs
@@ -48,13 +48,17 @@ public partial interface ITtsClient
/// Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).
///
///
- /// Text to synthesize
+ /// Text to synthesize, or a list of turns for multi-speaker input. Each turn has its own text, voice, and instructions. Multi-speaker input is currently supported by Gemini TTS models only.
/// Example: Hello world
///
///
/// Reference content for stateless voice cloning or voice design. Audio mode: one to three `input_audio` parts, each optionally paired with a `text` part carrying its transcript (a single clip accepts its transcript before or after it; with multiple clips each transcript immediately follows its clip); only routed to endpoints that support voice cloning (and multiple references when more than one part is sent). Image mode: exactly one `image_url` part; only routed to endpoints that support image references. The two modes cannot be mixed. An empty array is treated as no reference.
/// Example: [{"input_audio":{"data":"data:audio/wav;base64,UklGRuQXDABXQVZF..."},"type":"input_audio"}, {"text":"I used to rule the world.","type":"text"}]
///
+ ///
+ /// Delivery instructions for the whole request, such as tone, pacing, or emotion. Supported by OpenAI gpt-4o-mini-tts and Gemini TTS models. Ignored by other providers.
+ /// Example: Speak in a warm and friendly tone.
+ ///
///
/// TTS model identifier
/// Example: mistralai/voxtral-mini-tts-2603
@@ -91,9 +95,10 @@ public partial interface ITtsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CreateSpeechAsync(
- string input,
+ global::OpenRouter.SpeechInput input,
string model,
global::System.Collections.Generic.IList? inputReferences = default,
+ string? instructions = default,
global::OpenRouter.SpeechRequestProvider? provider = default,
global::OpenRouter.SpeechRequestResponseFormat? responseFormat = default,
string? sessionId = default,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegion.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegion.g.cs
new file mode 100644
index 00000000..363dfc87
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegion.g.cs
@@ -0,0 +1,48 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class BYOKKeyDeclaredRegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.BYOKKeyDeclaredRegion 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.BYOKKeyDeclaredRegionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.BYOKKeyDeclaredRegion);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.BYOKKeyDeclaredRegion value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::OpenRouter.BYOKKeyDeclaredRegionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegionNullable.g.cs
new file mode 100644
index 00000000..6896abd7
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BYOKKeyDeclaredRegionNullable.g.cs
@@ -0,0 +1,55 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class BYOKKeyDeclaredRegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.BYOKKeyDeclaredRegion? 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.BYOKKeyDeclaredRegionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.BYOKKeyDeclaredRegion?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.BYOKKeyDeclaredRegion? 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.BYOKKeyDeclaredRegionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegion.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegion.g.cs
new file mode 100644
index 00000000..4e6ee2be
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegion.g.cs
@@ -0,0 +1,48 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class CreateBYOKKeyRequestDeclaredRegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion 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.CreateBYOKKeyRequestDeclaredRegionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegionNullable.g.cs
new file mode 100644
index 00000000..e9dbfa75
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegionNullable.g.cs
@@ -0,0 +1,55 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class CreateBYOKKeyRequestDeclaredRegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? 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.CreateBYOKKeyRequestDeclaredRegionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? 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.CreateBYOKKeyRequestDeclaredRegionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechInput.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechInput.g.cs
new file mode 100644
index 00000000..fc3796d7
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechInput.g.cs
@@ -0,0 +1,162 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public class SpeechInputJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.SpeechInput Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+ }
+ }
+
+ var __score0 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score0++;
+ }
+ }
+ }
+ var __score1 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score1++;
+ }
+ }
+ }
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ string? speechInputVariant1 = default;
+ global::System.Collections.Generic.IList? speechInputVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ speechInputVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}");
+ speechInputVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (speechInputVariant1 == null && speechInputVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ speechInputVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (speechInputVariant1 == null && speechInputVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}");
+ speechInputVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::OpenRouter.SpeechInput(
+ speechInputVariant1,
+
+ speechInputVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.SpeechInput value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsSpeechInputVariant1)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSpeechInputVariant1(), typeInfo);
+ }
+ else if (value.IsSpeechInputVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSpeechInputVariant2(), typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegion.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegion.g.cs
new file mode 100644
index 00000000..48ffe3c3
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegion.g.cs
@@ -0,0 +1,48 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class UpdateBYOKKeyRequestDeclaredRegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion 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.UpdateBYOKKeyRequestDeclaredRegionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegionNullable.g.cs
new file mode 100644
index 00000000..abfe4dea
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegionNullable.g.cs
@@ -0,0 +1,55 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class UpdateBYOKKeyRequestDeclaredRegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? 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.UpdateBYOKKeyRequestDeclaredRegionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? 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.UpdateBYOKKeyRequestDeclaredRegionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs
index 6bd33006..65d85a62 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs
@@ -813,6 +813,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BulkUnassignMembersRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BulkUnassignMembersResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKKey))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKKeyDeclaredRegion), TypeInfoPropertyName = "BYOKKeyDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Guid))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKProviderSlug), TypeInfoPropertyName = "BYOKProviderSlug2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CapabilityDescriptor), TypeInfoPropertyName = "CapabilityDescriptor2")]
@@ -1024,7 +1025,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject), TypeInfoPropertyName = "ContainerFileListResponseObject2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1))]
internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1113,6 +1113,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1Type), TypeInfoPropertyName = "ContainerNetworkPolicyVariant1Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2Type), TypeInfoPropertyName = "ContainerNetworkPolicyVariant2Type2")]
@@ -1151,6 +1152,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionEngine), TypeInfoPropertyName = "ContextCompressionEngine2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPluginId), TypeInfoPropertyName = "ContextCompressionPluginId2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateBYOKKeyRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion), TypeInfoPropertyName = "CreateBYOKKeyRequestDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateBYOKKeyResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfBYOKKeyObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatedEvent))]
@@ -1533,8 +1535,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItem))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItem))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItem))]
internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1623,6 +1623,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItem))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputAdvisorServerToolItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFilesServerToolItem))]
@@ -2049,8 +2051,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleOperator2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType), TypeInfoPropertyName = "ObservabilityGrafanaDestinationType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationConfig))]
internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -2139,6 +2139,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType), TypeInfoPropertyName = "ObservabilityGrafanaDestinationType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationType), TypeInfoPropertyName = "ObservabilityLangfuseDestinationType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestinationConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestinationType), TypeInfoPropertyName = "ObservabilityLangsmithDestinationType2")]
@@ -2559,8 +2561,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFile))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFileType), TypeInfoPropertyName = "ShellCallOutputItemFileType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemType), TypeInfoPropertyName = "ShellCallOutputItemType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolType), TypeInfoPropertyName = "ShellServerToolType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolConfig))]
internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -2649,11 +2649,16 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolType), TypeInfoPropertyName = "ShellServerToolType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolOpenRouterType), TypeInfoPropertyName = "ShellServerToolOpenRouterType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEngine), TypeInfoPropertyName = "ShellServerToolEngine2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironment), TypeInfoPropertyName = "ShellServerToolEnvironment2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironmentDiscriminator))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType), TypeInfoPropertyName = "ShellServerToolEnvironmentDiscriminatorType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInput), TypeInfoPropertyName = "SpeechInput2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechTurn))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReference), TypeInfoPropertyName = "SpeechInputReference2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceAudio))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceText))]
@@ -2792,6 +2797,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnprocessableEntityResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnprocessableEntityResponseErrorData))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateBYOKKeyRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion), TypeInfoPropertyName = "UpdateBYOKKeyRequestDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateBYOKKeyResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateEndUserRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailRequest))]
@@ -3067,12 +3073,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20250825CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20250825CallerType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecution20260120CallerType?), TypeInfoPropertyName = "NullableAnthropicCodeExecution20260120CallerType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContent2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContentDiscriminatorType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionOutputType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionResultType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicServerToolErrorCode?), TypeInfoPropertyName = "NullableAnthropicServerToolErrorCode2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultErrorType2")]
internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -3161,6 +3161,12 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionContentDiscriminatorType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionOutputType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionResultType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicServerToolErrorCode?), TypeInfoPropertyName = "NullableAnthropicServerToolErrorCode2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCompactionBlockType?), TypeInfoPropertyName = "NullableAnthropicCompactionBlockType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCompactionUsageIteration?), TypeInfoPropertyName = "NullableAnthropicCompactionUsageIteration2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCompactionUsageIterationVariant2Type?), TypeInfoPropertyName = "NullableAnthropicCompactionUsageIterationVariant2Type2")]
@@ -3365,6 +3371,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BatchSubmitBodyCompletionWindow?), TypeInfoPropertyName = "NullableBatchSubmitBodyCompletionWindow2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BatchSubmitBodyEndpoint?), TypeInfoPropertyName = "NullableBatchSubmitBodyEndpoint2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BooleanCapabilityType?), TypeInfoPropertyName = "NullableBooleanCapabilityType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKKeyDeclaredRegion?), TypeInfoPropertyName = "NullableBYOKKeyDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Guid?))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKProviderSlug?), TypeInfoPropertyName = "NullableBYOKProviderSlug2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CapabilityDescriptor?), TypeInfoPropertyName = "NullableCapabilityDescriptor2")]
@@ -3473,6 +3480,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompactionItemType?), TypeInfoPropertyName = "NullableContextCompactionItemType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionEngine?), TypeInfoPropertyName = "NullableContextCompressionEngine2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPluginId?), TypeInfoPropertyName = "NullableContextCompressionPluginId2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion?), TypeInfoPropertyName = "NullableCreateBYOKKeyRequestDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfBYOKKeyObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatedEventType?), TypeInfoPropertyName = "NullableCreatedEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GuardrailDataRegion?), TypeInfoPropertyName = "NullableGuardrailDataRegion2")]
@@ -3579,14 +3587,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleIListObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf, object>?), TypeInfoPropertyName = "NullableAllOfDictionaryStringCapabilityDescriptorObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallCompletedEvent?), TypeInfoPropertyName = "NullableImageGenCallCompletedEvent2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallGeneratingEvent?), TypeInfoPropertyName = "NullableImageGenCallGeneratingEvent2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallInProgressEvent?), TypeInfoPropertyName = "NullableImageGenCallInProgressEvent2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallPartialImageEvent?), TypeInfoPropertyName = "NullableImageGenCallPartialImageEvent2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCompletedEventType?), TypeInfoPropertyName = "NullableImageGenCompletedEventType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfProviderOptionsObject2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfProviderSortProviderSortConfig2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSort?), TypeInfoPropertyName = "NullableProviderSort2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestAspectRatio?), TypeInfoPropertyName = "NullableImageGenerationRequestAspectRatio2")]
internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -3675,6 +3675,14 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallGeneratingEvent?), TypeInfoPropertyName = "NullableImageGenCallGeneratingEvent2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallInProgressEvent?), TypeInfoPropertyName = "NullableImageGenCallInProgressEvent2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallPartialImageEvent?), TypeInfoPropertyName = "NullableImageGenCallPartialImageEvent2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCompletedEventType?), TypeInfoPropertyName = "NullableImageGenCompletedEventType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfProviderOptionsObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfProviderSortProviderSortConfig2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSort?), TypeInfoPropertyName = "NullableProviderSort2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestAspectRatio?), TypeInfoPropertyName = "NullableImageGenerationRequestAspectRatio2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestBackground?), TypeInfoPropertyName = "NullableImageGenerationRequestBackground2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestOutputFormat?), TypeInfoPropertyName = "NullableImageGenerationRequestOutputFormat2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestQuality?), TypeInfoPropertyName = "NullableImageGenerationRequestQuality2")]
@@ -4093,14 +4101,6 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDoneEvent?), TypeInfoPropertyName = "NullableRefusalDoneEvent2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseHealingPluginId?), TypeInfoPropertyName = "NullableResponseHealingPluginId2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseIncludesEnum?), TypeInfoPropertyName = "NullableResponseIncludesEnum2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseOutputTextType?), TypeInfoPropertyName = "NullableResponseOutputTextType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableResponsesErrorFieldCode2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem3?), TypeInfoPropertyName = "NullablePluginsItem32")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableResponsesRequestPluginDiscriminatorId2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier?), TypeInfoPropertyName = "NullableResponsesRequestServiceTier2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolResponsesRequestToolVariant12")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents?), TypeInfoPropertyName = "NullableStreamEvents2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimGroupMappingRole?), TypeInfoPropertyName = "NullableScimGroupMappingRole2")]
internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -4189,6 +4189,14 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseOutputTextType?), TypeInfoPropertyName = "NullableResponseOutputTextType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableResponsesErrorFieldCode2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem3?), TypeInfoPropertyName = "NullablePluginsItem32")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableResponsesRequestPluginDiscriminatorId2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier?), TypeInfoPropertyName = "NullableResponsesRequestServiceTier2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolResponsesRequestToolVariant12")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents?), TypeInfoPropertyName = "NullableStreamEvents2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimGroupMappingRole?), TypeInfoPropertyName = "NullableScimGroupMappingRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimSyncJobStatus?), TypeInfoPropertyName = "NullableScimSyncJobStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchModelsServerToolOpenRouterType?), TypeInfoPropertyName = "NullableSearchModelsServerToolOpenRouterType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolStatus?), TypeInfoPropertyName = "NullableServerToolStatus2")]
@@ -4213,6 +4221,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEngine?), TypeInfoPropertyName = "NullableShellServerToolEngine2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironment?), TypeInfoPropertyName = "NullableShellServerToolEnvironment2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType?), TypeInfoPropertyName = "NullableShellServerToolEnvironmentDiscriminatorType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInput?), TypeInfoPropertyName = "NullableSpeechInput2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReference?), TypeInfoPropertyName = "NullableSpeechInputReference2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceDiscriminatorType?), TypeInfoPropertyName = "NullableSpeechInputReferenceDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceAudioType?), TypeInfoPropertyName = "NullableSpeechInputReferenceAudioType2")]
@@ -4275,6 +4284,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric?), TypeInfoPropertyName = "NullableUnifiedBenchmarksSearchItemPrimaryMetric2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface?), TypeInfoPropertyName = "NullableUnifiedBenchmarksSearchItemSearchSurface2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksSearchItemSource?), TypeInfoPropertyName = "NullableUnifiedBenchmarksSearchItemSource2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion?), TypeInfoPropertyName = "NullableUpdateBYOKKeyRequestDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfObservabilityFilterRulesConfigNullableObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion?), TypeInfoPropertyName = "NullableUpdatePrivateEndpointRequestDeclaredRegion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole?), TypeInfoPropertyName = "NullableUpdateScimGroupMappingRequestRole2")]
@@ -4561,6 +4571,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
@@ -4600,11 +4611,99 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext
+ {
+ }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonSourceGenerationOptions(
+ DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull
+ )]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext
+ internal sealed partial class SourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
///
@@ -4752,6 +4851,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption
options.Converters.Add(new global::OpenRouter.JsonConverters.PluginsItem3JsonConverter());
options.Converters.Add(new global::OpenRouter.JsonConverters.ServerToolDetailsJsonConverter());
options.Converters.Add(new global::OpenRouter.JsonConverters.ShellServerToolEnvironmentJsonConverter());
+ options.Converters.Add(new global::OpenRouter.JsonConverters.SpeechInputJsonConverter());
options.Converters.Add(new global::OpenRouter.JsonConverters.SpeechInputReferenceJsonConverter());
options.Converters.Add(new global::OpenRouter.JsonConverters.StopServerToolsWhenConditionJsonConverter());
options.Converters.Add(new global::OpenRouter.JsonConverters.StreamEventsJsonConverter());
@@ -5806,6 +5906,10 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::OpenRouter.BooleanCapabilityType?)
+ || typeToConvert == typeof(global::OpenRouter.BYOKKeyDeclaredRegion)
+
+ || typeToConvert == typeof(global::OpenRouter.BYOKKeyDeclaredRegion?)
+
|| typeToConvert == typeof(global::OpenRouter.BYOKProviderSlug)
|| typeToConvert == typeof(global::OpenRouter.BYOKProviderSlug?)
@@ -6102,6 +6206,10 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::OpenRouter.ContextCompressionPluginId?)
+ || typeToConvert == typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion)
+
+ || typeToConvert == typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion?)
+
|| typeToConvert == typeof(global::OpenRouter.CreatedEventType)
|| typeToConvert == typeof(global::OpenRouter.CreatedEventType?)
@@ -8102,6 +8210,10 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::OpenRouter.UnifiedBenchmarksSearchItemSource?)
+ || typeToConvert == typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion)
+
+ || typeToConvert == typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion?)
+
|| typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion)
|| typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion?)
@@ -10491,6 +10603,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::OpenRouter.JsonConverters.BooleanCapabilityTypeNullableJsonConverter();
}
+ if (typeToConvert == typeof(global::OpenRouter.BYOKKeyDeclaredRegion))
+ {
+ return new global::OpenRouter.JsonConverters.BYOKKeyDeclaredRegionJsonConverter();
+ }
+
+ if (typeToConvert == typeof(global::OpenRouter.BYOKKeyDeclaredRegion?))
+ {
+ return new global::OpenRouter.JsonConverters.BYOKKeyDeclaredRegionNullableJsonConverter();
+ }
+
if (typeToConvert == typeof(global::OpenRouter.BYOKProviderSlug))
{
return new global::OpenRouter.JsonConverters.BYOKProviderSlugJsonConverter();
@@ -11231,6 +11353,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::OpenRouter.JsonConverters.ContextCompressionPluginIdNullableJsonConverter();
}
+ if (typeToConvert == typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion))
+ {
+ return new global::OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegionJsonConverter();
+ }
+
+ if (typeToConvert == typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion?))
+ {
+ return new global::OpenRouter.JsonConverters.CreateBYOKKeyRequestDeclaredRegionNullableJsonConverter();
+ }
+
if (typeToConvert == typeof(global::OpenRouter.CreatedEventType))
{
return new global::OpenRouter.JsonConverters.CreatedEventTypeJsonConverter();
@@ -16231,6 +16363,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::OpenRouter.JsonConverters.UnifiedBenchmarksSearchItemSourceNullableJsonConverter();
}
+ if (typeToConvert == typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion))
+ {
+ return new global::OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegionJsonConverter();
+ }
+
+ if (typeToConvert == typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion?))
+ {
+ return new global::OpenRouter.JsonConverters.UpdateBYOKKeyRequestDeclaredRegionNullableJsonConverter();
+ }
+
if (typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion))
{
return new global::OpenRouter.JsonConverters.UpdatePrivateEndpointRequestDeclaredRegionJsonConverter();
@@ -16997,7 +17139,7 @@ public override bool CanConvert(global::System.Type typeToConvert)
private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
{
private readonly object _gate = new();
- private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[9];
+ private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[10];
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(
global::System.Type type,
@@ -17050,6 +17192,8 @@ private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.
7 => new SourceGenerationContextChunk7(new global::System.Text.Json.JsonSerializerOptions()),
8 => new SourceGenerationContextChunk8(new global::System.Text.Json.JsonSerializerOptions()),
+
+ 9 => new SourceGenerationContextChunk9(new global::System.Text.Json.JsonSerializerOptions()),
_ => throw new global::System.ArgumentOutOfRangeException(nameof(index)),
};
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs
index 0eedb000..a07e3fef 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs
@@ -2565,7303 +2565,7327 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Guid? Type633 { get; set; }
+ public global::OpenRouter.BYOKKeyDeclaredRegion? Type633 { get; set; }
///
///
///
- public global::OpenRouter.BYOKProviderSlug? Type634 { get; set; }
+ public global::System.Guid? Type634 { get; set; }
///
///
///
- public global::OpenRouter.CapabilityDescriptor? Type635 { get; set; }
+ public global::OpenRouter.BYOKProviderSlug? Type635 { get; set; }
///
///
///
- public global::OpenRouter.EnumCapability? Type636 { get; set; }
+ public global::OpenRouter.CapabilityDescriptor? Type636 { get; set; }
///
///
///
- public global::OpenRouter.RangeCapability? Type637 { get; set; }
+ public global::OpenRouter.EnumCapability? Type637 { get; set; }
///
///
///
- public global::OpenRouter.CapabilityDescriptorDiscriminator? Type638 { get; set; }
+ public global::OpenRouter.RangeCapability? Type638 { get; set; }
///
///
///
- public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type639 { get; set; }
+ public global::OpenRouter.CapabilityDescriptorDiscriminator? Type639 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type640 { get; set; }
+ public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type640 { get; set; }
///
///
///
- public global::OpenRouter.ChatAssistantImage? Type641 { get; set; }
+ public global::System.Collections.Generic.IList? Type641 { get; set; }
///
///
///
- public global::OpenRouter.ChatAssistantImageImageUrl? Type642 { get; set; }
+ public global::OpenRouter.ChatAssistantImage? Type642 { get; set; }
///
///
///
- public global::OpenRouter.ChatAssistantMessage? Type643 { get; set; }
+ public global::OpenRouter.ChatAssistantImageImageUrl? Type643 { get; set; }
///
///
///
- public global::OpenRouter.ChatAudioOutput? Type644 { get; set; }
+ public global::OpenRouter.ChatAssistantMessage? Type644 { get; set; }
///
///
///
- public global::OpenRouter.AnyOf>? Type645 { get; set; }
+ public global::OpenRouter.ChatAudioOutput? Type645 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type646 { get; set; }
+ public global::OpenRouter.AnyOf>? Type646 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentItems? Type647 { get; set; }
+ public global::System.Collections.Generic.IList? Type647 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type648 { get; set; }
+ public global::OpenRouter.ChatContentItems? Type648 { get; set; }
///
///
///
- public global::OpenRouter.ChatAssistantMessageRole? Type649 { get; set; }
+ public global::System.Collections.Generic.IList? Type649 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type650 { get; set; }
+ public global::OpenRouter.ChatAssistantMessageRole? Type650 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolCall? Type651 { get; set; }
+ public global::System.Collections.Generic.IList? Type651 { get; set; }
///
///
///
- public global::OpenRouter.ChatChoice? Type652 { get; set; }
+ public global::OpenRouter.ChatToolCall? Type652 { get; set; }
///
///
///
- public global::OpenRouter.ChatFinishReasonEnum? Type653 { get; set; }
+ public global::OpenRouter.ChatChoice? Type653 { get; set; }
///
///
///
- public global::OpenRouter.ChatTokenLogprobs? Type654 { get; set; }
+ public global::OpenRouter.ChatFinishReasonEnum? Type654 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentAudio? Type655 { get; set; }
+ public global::OpenRouter.ChatTokenLogprobs? Type655 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentAudioInputAudio? Type656 { get; set; }
+ public global::OpenRouter.ChatContentAudio? Type656 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentAudioType? Type657 { get; set; }
+ public global::OpenRouter.ChatContentAudioInputAudio? Type657 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentCacheControl? Type658 { get; set; }
+ public global::OpenRouter.ChatContentAudioType? Type658 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentFile? Type659 { get; set; }
+ public global::OpenRouter.ChatContentCacheControl? Type659 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentFileFile? Type660 { get; set; }
+ public global::OpenRouter.ChatContentFile? Type660 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentFileType? Type661 { get; set; }
+ public global::OpenRouter.ChatContentFileFile? Type661 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentImage? Type662 { get; set; }
+ public global::OpenRouter.ChatContentFileType? Type662 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentImageImageUrl? Type663 { get; set; }
+ public global::OpenRouter.ChatContentImage? Type663 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentImageImageUrlDetail? Type664 { get; set; }
+ public global::OpenRouter.ChatContentImageImageUrl? Type664 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentImageType? Type665 { get; set; }
+ public global::OpenRouter.ChatContentImageImageUrlDetail? Type665 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentText? Type666 { get; set; }
+ public global::OpenRouter.ChatContentImageType? Type666 { get; set; }
///
///
///
- public global::OpenRouter.LegacyChatContentVideo? Type667 { get; set; }
+ public global::OpenRouter.ChatContentText? Type667 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentVideo? Type668 { get; set; }
+ public global::OpenRouter.LegacyChatContentVideo? Type668 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentItemsDiscriminator? Type669 { get; set; }
+ public global::OpenRouter.ChatContentVideo? Type669 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentItemsDiscriminatorType? Type670 { get; set; }
+ public global::OpenRouter.ChatContentItemsDiscriminator? Type670 { get; set; }
///
///
///
- public global::OpenRouter.PromptCacheBreakpoint? Type671 { get; set; }
+ public global::OpenRouter.ChatContentItemsDiscriminatorType? Type671 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentTextType? Type672 { get; set; }
+ public global::OpenRouter.PromptCacheBreakpoint? Type672 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentVideoType? Type673 { get; set; }
+ public global::OpenRouter.ChatContentTextType? Type673 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentVideoInput? Type674 { get; set; }
+ public global::OpenRouter.ChatContentVideoType? Type674 { get; set; }
///
///
///
- public global::OpenRouter.ChatContentVideoInputProcessing? Type675 { get; set; }
+ public global::OpenRouter.ChatContentVideoInput? Type675 { get; set; }
///
///
///
- public global::OpenRouter.ChatDebugOptions? Type676 { get; set; }
+ public global::OpenRouter.ChatContentVideoInputProcessing? Type676 { get; set; }
///
///
///
- public global::OpenRouter.ChatDeveloperMessage? Type677 { get; set; }
+ public global::OpenRouter.ChatDebugOptions? Type677 { get; set; }
///
///
///
- public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type678 { get; set; }
+ public global::OpenRouter.ChatDeveloperMessage? Type678 { get; set; }
///
///
///
- public global::OpenRouter.ConfigurationUpdateReasoning? Type679 { get; set; }
+ public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type679 { get; set; }
///
///
///
- public global::OpenRouter.AnyOf>? Type680 { get; set; }
+ public global::OpenRouter.ConfigurationUpdateReasoning? Type680 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type681 { get; set; }
+ public global::OpenRouter.AnyOf>? Type681 { get; set; }
///
///
///
- public global::OpenRouter.ChatDeveloperMessageRole? Type682 { get; set; }
+ public global::System.Collections.Generic.IList? Type682 { get; set; }
///
///
///
- public global::OpenRouter.ChatDynamicServerTool? Type683 { get; set; }
+ public global::OpenRouter.ChatDeveloperMessageRole? Type683 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatGrammarConfig? Type684 { get; set; }
+ public global::OpenRouter.ChatDynamicServerTool? Type684 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatGrammarConfigType? Type685 { get; set; }
+ public global::OpenRouter.ChatFormatGrammarConfig? Type685 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatJsonObjectConfig? Type686 { get; set; }
+ public global::OpenRouter.ChatFormatGrammarConfigType? Type686 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatJsonObjectConfigType? Type687 { get; set; }
+ public global::OpenRouter.ChatFormatJsonObjectConfig? Type687 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatJsonSchemaConfig? Type688 { get; set; }
+ public global::OpenRouter.ChatFormatJsonObjectConfigType? Type688 { get; set; }
///
///
///
- public global::OpenRouter.ChatJsonSchemaConfig? Type689 { get; set; }
+ public global::OpenRouter.ChatFormatJsonSchemaConfig? Type689 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type690 { get; set; }
+ public global::OpenRouter.ChatJsonSchemaConfig? Type690 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatPythonConfig? Type691 { get; set; }
+ public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type691 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatPythonConfigType? Type692 { get; set; }
+ public global::OpenRouter.ChatFormatPythonConfig? Type692 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatTextConfig? Type693 { get; set; }
+ public global::OpenRouter.ChatFormatPythonConfigType? Type693 { get; set; }
///
///
///
- public global::OpenRouter.ChatFormatTextConfigType? Type694 { get; set; }
+ public global::OpenRouter.ChatFormatTextConfig? Type694 { get; set; }
///
///
///
- public global::OpenRouter.ChatFunctionTool? Type695 { get; set; }
+ public global::OpenRouter.ChatFormatTextConfigType? Type695 { get; set; }
///
///
///
- public global::OpenRouter.ChatFunctionToolVariant1? Type696 { get; set; }
+ public global::OpenRouter.ChatFunctionTool? Type696 { get; set; }
///
///
///
- public global::OpenRouter.ChatFunctionToolVariant1Function? Type697 { get; set; }
+ public global::OpenRouter.ChatFunctionToolVariant1? Type697 { get; set; }
///
///
///
- public global::OpenRouter.ChatFunctionToolVariant1Type? Type698 { get; set; }
+ public global::OpenRouter.ChatFunctionToolVariant1Function? Type698 { get; set; }
///
///
///
- public global::OpenRouter.ChatSearchModelsServerTool? Type699 { get; set; }
+ public global::OpenRouter.ChatFunctionToolVariant1Type? Type699 { get; set; }
///
///
///
- public global::OpenRouter.OpenRouterWebSearchServerTool? Type700 { get; set; }
+ public global::OpenRouter.ChatSearchModelsServerTool? Type700 { get; set; }
///
///
///
- public global::OpenRouter.ChatWebSearchShorthand? Type701 { get; set; }
+ public global::OpenRouter.OpenRouterWebSearchServerTool? Type701 { get; set; }
///
///
///
- public global::OpenRouter.ChatMessages? Type702 { get; set; }
+ public global::OpenRouter.ChatWebSearchShorthand? Type702 { get; set; }
///
///
///
- public global::OpenRouter.ChatSystemMessage? Type703 { get; set; }
+ public global::OpenRouter.ChatMessages? Type703 { get; set; }
///
///
///
- public global::OpenRouter.ChatUserMessage? Type704 { get; set; }
+ public global::OpenRouter.ChatSystemMessage? Type704 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolMessage? Type705 { get; set; }
+ public global::OpenRouter.ChatUserMessage? Type705 { get; set; }
///
///
///
- public global::OpenRouter.ChatMessagesDiscriminator? Type706 { get; set; }
+ public global::OpenRouter.ChatToolMessage? Type706 { get; set; }
///
///
///
- public global::OpenRouter.ChatMessagesDiscriminatorRole? Type707 { get; set; }
+ public global::OpenRouter.ChatMessagesDiscriminator? Type707 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type708 { get; set; }
+ public global::OpenRouter.ChatMessagesDiscriminatorRole? Type708 { get; set; }
///
///
///
- public global::OpenRouter.AllOf? Type709 { get; set; }
+ public global::System.Collections.Generic.IList>? Type709 { get; set; }
///
///
///
- public global::OpenRouter.ChatNamedToolChoice? Type710 { get; set; }
+ public global::OpenRouter.AllOf? Type710 { get; set; }
///
///
///
- public global::OpenRouter.ChatNamedToolChoiceFunction? Type711 { get; set; }
+ public global::OpenRouter.ChatNamedToolChoice? Type711 { get; set; }
///
///
///
- public global::OpenRouter.ChatNamedToolChoiceType? Type712 { get; set; }
+ public global::OpenRouter.ChatNamedToolChoiceFunction? Type712 { get; set; }
///
///
///
- public global::OpenRouter.ReasoningDetailUnion? Type713 { get; set; }
+ public global::OpenRouter.ChatNamedToolChoiceType? Type713 { get; set; }
///
///
///
- public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type714 { get; set; }
+ public global::OpenRouter.ReasoningDetailUnion? Type714 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequest? Type715 { get; set; }
+ public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type715 { get; set; }
///
///
///
- public global::OpenRouter.ImageConfig? Type716 { get; set; }
+ public global::OpenRouter.ChatRequest? Type716 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type717 { get; set; }
+ public global::OpenRouter.ImageConfig? Type717 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type718 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type718 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type719 { get; set; }
+ public global::System.Collections.Generic.IList? Type719 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestModalitie? Type720 { get; set; }
+ public global::System.Collections.Generic.IList? Type720 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type721 { get; set; }
+ public global::OpenRouter.ChatRequestModalitie? Type721 { get; set; }
///
///
///
- public global::OpenRouter.PluginsItem? Type722 { get; set; }
+ public global::System.Collections.Generic.IList? Type722 { get; set; }
///
///
///
- public global::OpenRouter.ModerationPlugin? Type723 { get; set; }
+ public global::OpenRouter.PluginsItem? Type723 { get; set; }
///
///
///
- public global::OpenRouter.WebSearchPlugin? Type724 { get; set; }
+ public global::OpenRouter.ModerationPlugin? Type724 { get; set; }
///
///
///
- public global::OpenRouter.WebFetchPlugin? Type725 { get; set; }
+ public global::OpenRouter.WebSearchPlugin? Type725 { get; set; }
///
///
///
- public global::OpenRouter.FileParserPlugin? Type726 { get; set; }
+ public global::OpenRouter.WebFetchPlugin? Type726 { get; set; }
///
///
///
- public global::OpenRouter.ResponseHealingPlugin? Type727 { get; set; }
+ public global::OpenRouter.FileParserPlugin? Type727 { get; set; }
///
///
///
- public global::OpenRouter.ContextCompressionPlugin? Type728 { get; set; }
+ public global::OpenRouter.ResponseHealingPlugin? Type728 { get; set; }
///
///
///
- public global::OpenRouter.ParetoRouterPlugin? Type729 { get; set; }
+ public global::OpenRouter.ContextCompressionPlugin? Type729 { get; set; }
///
///
///
- public global::OpenRouter.FusionPlugin? Type730 { get; set; }
+ public global::OpenRouter.ParetoRouterPlugin? Type730 { get; set; }
///
///
///
- public global::OpenRouter.SwitchyardRouterPlugin? Type731 { get; set; }
+ public global::OpenRouter.FusionPlugin? Type731 { get; set; }
///
///
///
- public global::OpenRouter.JevRouterPlugin? Type732 { get; set; }
+ public global::OpenRouter.SwitchyardRouterPlugin? Type732 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestPluginDiscriminator? Type733 { get; set; }
+ public global::OpenRouter.JevRouterPlugin? Type733 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type734 { get; set; }
+ public global::OpenRouter.ChatRequestPluginDiscriminator? Type734 { get; set; }
///
///
///
- public global::OpenRouter.Prediction? Type735 { get; set; }
+ public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type735 { get; set; }
///
///
///
- public global::OpenRouter.ProviderPreferences? Type736 { get; set; }
+ public global::OpenRouter.Prediction? Type736 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestReasoning? Type737 { get; set; }
+ public global::OpenRouter.ProviderPreferences? Type737 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestReasoningEffort? Type738 { get; set; }
+ public global::OpenRouter.ChatRequestReasoning? Type738 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestReasoningEffort2? Type739 { get; set; }
+ public global::OpenRouter.ChatRequestReasoningEffort? Type739 { get; set; }
///
///
///
- public global::OpenRouter.ResponseFormat? Type740 { get; set; }
+ public global::OpenRouter.ChatRequestReasoningEffort2? Type740 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type741 { get; set; }
+ public global::OpenRouter.ResponseFormat? Type741 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type742 { get; set; }
+ public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type742 { get; set; }
///
///
///
- public global::OpenRouter.DeprecatedRoute? Type743 { get; set; }
+ public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type743 { get; set; }
///
///
///
- public global::OpenRouter.ChatRequestServiceTier? Type744 { get; set; }
+ public global::OpenRouter.DeprecatedRoute? Type744 { get; set; }
///
///
///
- public global::OpenRouter.AnyOf>? Type745 { get; set; }
+ public global::OpenRouter.ChatRequestServiceTier? Type745 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type746 { get; set; }
+ public global::OpenRouter.AnyOf>? Type746 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamOptions? Type747 { get; set; }
+ public global::System.Collections.Generic.IList? Type747 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolChoice? Type748 { get; set; }
+ public global::OpenRouter.ChatStreamOptions? Type748 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type749 { get; set; }
+ public global::OpenRouter.ChatToolChoice? Type749 { get; set; }
///
///
///
- public global::OpenRouter.TraceConfig? Type750 { get; set; }
+ public global::System.Collections.Generic.IList? Type750 { get; set; }
///
///
///
- public global::OpenRouter.ChatResult? Type751 { get; set; }
+ public global::OpenRouter.TraceConfig? Type751 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type752 { get; set; }
+ public global::OpenRouter.ChatResult? Type752 { get; set; }
///
///
///
- public global::System.DateTimeOffset? Type753 { get; set; }
+ public global::System.Collections.Generic.IList? Type753 { get; set; }
///
///
///
- public global::OpenRouter.ChatResultObject? Type754 { get; set; }
+ public global::System.DateTimeOffset? Type754 { get; set; }
///
///
///
- public global::OpenRouter.ChatUsage? Type755 { get; set; }
+ public global::OpenRouter.ChatResultObject? Type755 { get; set; }
///
///
///
- public global::OpenRouter.SearchModelsServerToolConfig? Type756 { get; set; }
+ public global::OpenRouter.ChatUsage? Type756 { get; set; }
///
///
///
- public global::OpenRouter.ChatSearchModelsServerToolType? Type757 { get; set; }
+ public global::OpenRouter.SearchModelsServerToolConfig? Type757 { get; set; }
///
///
///
- public global::OpenRouter.ChatServerToolChoice? Type758 { get; set; }
+ public global::OpenRouter.ChatSearchModelsServerToolType? Type758 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamChoice? Type759 { get; set; }
+ public global::OpenRouter.ChatServerToolChoice? Type759 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamDelta? Type760 { get; set; }
+ public global::OpenRouter.ChatStreamChoice? Type760 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamChunk? Type761 { get; set; }
+ public global::OpenRouter.ChatStreamDelta? Type761 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type762 { get; set; }
+ public global::OpenRouter.ChatStreamChunk? Type762 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamChunkError? Type763 { get; set; }
+ public global::System.Collections.Generic.IList? Type763 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamChunkErrorMetadata? Type764 { get; set; }
+ public global::OpenRouter.ChatStreamChunkError? Type764 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamChunkObject? Type765 { get; set; }
+ public global::OpenRouter.ChatStreamChunkErrorMetadata? Type765 { get; set; }
///
///
///
- public global::OpenRouter.AllOf? Type766 { get; set; }
+ public global::OpenRouter.ChatStreamChunkObject? Type766 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamDeltaRole? Type767 { get; set; }
+ public global::OpenRouter.AllOf? Type767 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type768 { get; set; }
+ public global::OpenRouter.ChatStreamDeltaRole? Type768 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamToolCall? Type769 { get; set; }
+ public global::System.Collections.Generic.IList? Type769 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamingResponse? Type770 { get; set; }
+ public global::OpenRouter.ChatStreamToolCall? Type770 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamToolCallFunction? Type771 { get; set; }
+ public global::OpenRouter.ChatStreamingResponse? Type771 { get; set; }
///
///
///
- public global::OpenRouter.ChatStreamToolCallType? Type772 { get; set; }
+ public global::OpenRouter.ChatStreamToolCallFunction? Type772 { get; set; }
///
///
///
- public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type773 { get; set; }
+ public global::OpenRouter.ChatStreamToolCallType? Type773 { get; set; }
///
///
///
- public global::OpenRouter.ChatSystemMessageRole? Type774 { get; set; }
+ public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type774 { get; set; }
///
///
///
- public global::OpenRouter.ChatTokenLogprob? Type775 { get; set; }
+ public global::OpenRouter.ChatSystemMessageRole? Type775 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type776 { get; set; }
+ public global::OpenRouter.ChatTokenLogprob? Type776 { get; set; }
///
///
///
- public global::OpenRouter.ChatTokenLogprobTopLogprob? Type777 { get; set; }
+ public global::System.Collections.Generic.IList? Type777 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type778 { get; set; }
+ public global::OpenRouter.ChatTokenLogprobTopLogprob? Type778 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolCallFunction? Type779 { get; set; }
+ public global::System.Collections.Generic.IList? Type779 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolCallType? Type780 { get; set; }
+ public global::OpenRouter.ChatToolCallFunction? Type780 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolChoiceVariant1? Type781 { get; set; }
+ public global::OpenRouter.ChatToolCallType? Type781 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolChoiceVariant2? Type782 { get; set; }
+ public global::OpenRouter.ChatToolChoiceVariant1? Type782 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolChoiceVariant3? Type783 { get; set; }
+ public global::OpenRouter.ChatToolChoiceVariant2? Type783 { get; set; }
///
///
///
- public global::OpenRouter.ChatToolMessageRole? Type784 { get; set; }
+ public global::OpenRouter.ChatToolChoiceVariant3? Type784 { get; set; }
///
///
///
- public global::OpenRouter.ChatUsageCompletionTokensDetails? Type785 { get; set; }
+ public global::OpenRouter.ChatToolMessageRole? Type785 { get; set; }
///
///
///
- public global::OpenRouter.ChatUsagePromptTokensDetails? Type786 { get; set; }
+ public global::OpenRouter.ChatUsageCompletionTokensDetails? Type786 { get; set; }
///
///
///
- public global::OpenRouter.ServerToolUseDetails? Type787 { get; set; }
+ public global::OpenRouter.ChatUsagePromptTokensDetails? Type787 { get; set; }
///
///
///
- public global::OpenRouter.ChatUserMessageRole? Type788 { get; set; }
+ public global::OpenRouter.ServerToolUseDetails? Type788 { get; set; }
///
///
///
- public global::OpenRouter.WebSearchEngineEnum? Type789 { get; set; }
+ public global::OpenRouter.ChatUserMessageRole? Type789 { get; set; }
///
///
///
- public global::OpenRouter.WebSearchMode? Type790 { get; set; }
+ public global::OpenRouter.WebSearchEngineEnum? Type790 { get; set; }
///
///
///
- public global::OpenRouter.WebSearchConfig? Type791 { get; set; }
+ public global::OpenRouter.WebSearchMode? Type791 { get; set; }
///
///
///
- public global::OpenRouter.SearchQualityLevel? Type792 { get; set; }
+ public global::OpenRouter.WebSearchConfig? Type792 { get; set; }
///
///
///
- public global::OpenRouter.ChatWebSearchShorthandType? Type793 { get; set; }
+ public global::OpenRouter.SearchQualityLevel? Type793 { get; set; }
///
///
///
- public global::OpenRouter.WebSearchUserLocationServerTool? Type794 { get; set; }
+ public global::OpenRouter.ChatWebSearchShorthandType? Type794 { get; set; }
///
///
///
- public global::OpenRouter.XSearchOptions? Type795 { get; set; }
+ public global::OpenRouter.WebSearchUserLocationServerTool? Type795 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type796 { get; set; }
+ public global::OpenRouter.XSearchOptions? Type796 { get; set; }
///
///
///
- public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type797 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type797 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type798 { get; set; }
+ public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type798 { get; set; }
///
///
///
- public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type799 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type799 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type800 { get; set; }
+ public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type800 { get; set; }
///
///
///
- public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type801 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type801 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type802 { get; set; }
+ public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type802 { get; set; }
///
///
///
- public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type803 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type803 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type804 { get; set; }
+ public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type804 { get; set; }
///
///
///
- public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type805 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type805 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterCallItem? Type806 { get; set; }
+ public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type806 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterFileOutput? Type807 { get; set; }
+ public global::OpenRouter.CodeInterpreterCallItem? Type807 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterFileOutputType? Type808 { get; set; }
+ public global::OpenRouter.CodeInterpreterFileOutput? Type808 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterImageOutput? Type809 { get; set; }
+ public global::OpenRouter.CodeInterpreterFileOutputType? Type809 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterImageOutputType? Type810 { get; set; }
+ public global::OpenRouter.CodeInterpreterImageOutput? Type810 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterLogsOutput? Type811 { get; set; }
+ public global::OpenRouter.CodeInterpreterImageOutputType? Type811 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterLogsOutputType? Type812 { get; set; }
+ public global::OpenRouter.CodeInterpreterLogsOutput? Type812 { get; set; }
///
///
///
- public global::OpenRouter.AnyOf? Type813 { get; set; }
+ public global::OpenRouter.CodeInterpreterLogsOutputType? Type813 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterServerToolContainer? Type814 { get; set; }
+ public global::OpenRouter.AnyOf? Type814 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type815 { get; set; }
+ public global::OpenRouter.CodeInterpreterServerToolContainer? Type815 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterServerToolContainerType? Type816 { get; set; }
+ public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type816 { get; set; }
///
///
///
- public global::OpenRouter.CodeInterpreterServerToolType? Type817 { get; set; }
+ public global::OpenRouter.CodeInterpreterServerToolContainerType? Type817 { get; set; }
///
///
///
- public global::OpenRouter.CodexLocalShellToolType? Type818 { get; set; }
+ public global::OpenRouter.CodeInterpreterServerToolType? Type818 { get; set; }
///
///
///
- public global::OpenRouter.CompactionItem? Type819 { get; set; }
+ public global::OpenRouter.CodexLocalShellToolType? Type819 { get; set; }
///
///
///
- public global::OpenRouter.CompactionItemType? Type820 { get; set; }
+ public global::OpenRouter.CompactionItem? Type820 { get; set; }
///
///
///
- public global::OpenRouter.CompletedEvent? Type821 { get; set; }
+ public global::OpenRouter.CompactionItemType? Type821 { get; set; }
///
///
///
- public global::OpenRouter.CompletedEventType? Type822 { get; set; }
+ public global::OpenRouter.CompletedEvent? Type822 { get; set; }
///
///
///
- public global::OpenRouter.CompoundFilter? Type823 { get; set; }
+ public global::OpenRouter.CompletedEventType? Type823 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList