diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0Type.g.cs
deleted file mode 100644
index a24ba652..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0Type.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf0TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type 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.ApplyPatchCallItemOperationOneOf0TypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemOperationOneOf0TypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0TypeNullable.g.cs
deleted file mode 100644
index 90f74e8e..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf0TypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf0TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type? 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.ApplyPatchCallItemOperationOneOf0TypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf0Type? 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.ApplyPatchCallItemOperationOneOf0TypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1Type.g.cs
deleted file mode 100644
index 5d9d7fbc..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1Type.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type 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.ApplyPatchCallItemOperationOneOf1TypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemOperationOneOf1TypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1TypeNullable.g.cs
deleted file mode 100644
index 3605e3f1..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf1TypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type? 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.ApplyPatchCallItemOperationOneOf1TypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf1Type? 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.ApplyPatchCallItemOperationOneOf1TypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2Type.g.cs
deleted file mode 100644
index 8f59110e..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2Type.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type 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.ApplyPatchCallItemOperationOneOf2TypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemOperationOneOf2TypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2TypeNullable.g.cs
deleted file mode 100644
index ee790f67..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperationOneOf2TypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public sealed class ApplyPatchCallItemOperationOneOf2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type? 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.ApplyPatchCallItemOperationOneOf2TypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperationOneOf2Type? 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.ApplyPatchCallItemOperationOneOf2TypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus.g.cs
deleted file mode 100644
index 99929a06..00000000
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus.g.cs
+++ /dev/null
@@ -1,162 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace OpenRouter.JsonConverters
-{
- ///
- public class ApplyPatchCallItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::OpenRouter.ApplyPatchCallItemStatus 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(global::OpenRouter.ApplyPatchCallItemStatus0), 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::OpenRouter.ApplyPatchCallItemStatus1), 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; }
-
- global::OpenRouter.ApplyPatchCallItemStatus0? applyPatchCallItemStatus0 = default;
- global::OpenRouter.ApplyPatchCallItemStatus1? applyPatchCallItemStatus1 = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus0).Name}");
- applyPatchCallItemStatus0 = 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::OpenRouter.ApplyPatchCallItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus1).Name}");
- applyPatchCallItemStatus1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (applyPatchCallItemStatus0 == null && applyPatchCallItemStatus1 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus0).Name}");
- applyPatchCallItemStatus0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- if (applyPatchCallItemStatus0 == null && applyPatchCallItemStatus1 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus1).Name}");
- applyPatchCallItemStatus1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::OpenRouter.ApplyPatchCallItemStatus(
- applyPatchCallItemStatus0,
-
- applyPatchCallItemStatus1
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemStatus 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.IsApplyPatchCallItemStatus0)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus0).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItemStatus0!.Value, typeInfo);
- }
- else if (value.IsApplyPatchCallItemStatus1)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemStatus1).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItemStatus1!.Value, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperation.g.cs
similarity index 64%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperation.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperation.g.cs
index b9e8260e..6f62cb5f 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemOperation.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperation.g.cs
@@ -4,10 +4,10 @@
namespace OpenRouter.JsonConverters
{
///
- public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public class ApplyPatchCallOperationJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallItemOperation Read(
+ public override global::OpenRouter.ApplyPatchCallOperation Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -32,10 +32,10 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
if (__jsonProps.Contains("path")) __score0++;
if (__jsonProps.Contains("type")) __score0++;
var __score1 = 0;
+ if (__jsonProps.Contains("diff")) __score1++;
if (__jsonProps.Contains("path")) __score1++;
if (__jsonProps.Contains("type")) __score1++;
var __score2 = 0;
- if (__jsonProps.Contains("diff")) __score2++;
if (__jsonProps.Contains("path")) __score2++;
if (__jsonProps.Contains("type")) __score2++;
var __bestScore = 0;
@@ -44,18 +44,18 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
- global::OpenRouter.ApplyPatchCallItemOperation0? applyPatchCallItemOperation0 = default;
- global::OpenRouter.ApplyPatchCallItemOperation1? applyPatchCallItemOperation1 = default;
- global::OpenRouter.ApplyPatchCallItemOperation2? applyPatchCallItemOperation2 = default;
+ global::OpenRouter.ApplyPatchCallOperation0? applyPatchCallOperation0 = default;
+ global::OpenRouter.ApplyPatchCallOperation1? applyPatchCallOperation1 = default;
+ global::OpenRouter.ApplyPatchCallOperation2? applyPatchCallOperation2 = default;
if (__bestIndex >= 0)
{
if (__bestIndex == 0)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation0).Name}");
- applyPatchCallItemOperation0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation0).Name}");
+ applyPatchCallOperation0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -68,9 +68,9 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation1).Name}");
- applyPatchCallItemOperation1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation1).Name}");
+ applyPatchCallOperation1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -83,9 +83,9 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation2).Name}");
- applyPatchCallItemOperation2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation2).Name}");
+ applyPatchCallOperation2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -96,14 +96,14 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
}
}
- if (applyPatchCallItemOperation0 == null && applyPatchCallItemOperation1 == null && applyPatchCallItemOperation2 == null)
+ if (applyPatchCallOperation0 == null && applyPatchCallOperation1 == null && applyPatchCallOperation2 == null)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation0).Name}");
- applyPatchCallItemOperation0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation0).Name}");
+ applyPatchCallOperation0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -113,14 +113,14 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
}
}
- if (applyPatchCallItemOperation0 == null && applyPatchCallItemOperation1 == null && applyPatchCallItemOperation2 == null)
+ if (applyPatchCallOperation0 == null && applyPatchCallOperation1 == null && applyPatchCallOperation2 == null)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation1).Name}");
- applyPatchCallItemOperation1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation1).Name}");
+ applyPatchCallOperation1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -130,14 +130,14 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
}
}
- if (applyPatchCallItemOperation0 == null && applyPatchCallItemOperation1 == null && applyPatchCallItemOperation2 == null)
+ if (applyPatchCallOperation0 == null && applyPatchCallOperation1 == null && applyPatchCallOperation2 == null)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation2).Name}");
- applyPatchCallItemOperation2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation2).Name}");
+ applyPatchCallOperation2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -147,12 +147,12 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
}
}
- var __value = new global::OpenRouter.ApplyPatchCallItemOperation(
- applyPatchCallItemOperation0,
+ var __value = new global::OpenRouter.ApplyPatchCallOperation(
+ applyPatchCallOperation0,
- applyPatchCallItemOperation1,
+ applyPatchCallOperation1,
- applyPatchCallItemOperation2
+ applyPatchCallOperation2
);
return __value;
@@ -161,29 +161,29 @@ public class ApplyPatchCallItemOperationJsonConverter : global::System.Text.Json
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemOperation value,
+ global::OpenRouter.ApplyPatchCallOperation 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.IsApplyPatchCallItemOperation0)
+ if (value.IsApplyPatchCallOperation0)
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation0).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItemOperation0!, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation0).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOperation0!, typeInfo);
}
- else if (value.IsApplyPatchCallItemOperation1)
+ else if (value.IsApplyPatchCallOperation1)
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation1).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItemOperation1!, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation1).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOperation1!, typeInfo);
}
- else if (value.IsApplyPatchCallItemOperation2)
+ else if (value.IsApplyPatchCallOperation2)
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItemOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItemOperation2).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItemOperation2!, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOperation2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOperation2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOperation2!, typeInfo);
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0Type.g.cs
similarity index 73%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0Type.g.cs
index ada57a17..1210c795 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0Type.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallOutputItemStatus0JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOperationOneOf0TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallOutputItemStatus0 Read(
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf0Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallOutputItemStatus0JsonConverter : global::Syste
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallOutputItemStatus0Extensions.ToEnum(stringValue) ?? default;
+ return global::OpenRouter.ApplyPatchCallOperationOneOf0TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallOutputItemStatus0JsonConverter : global::Syste
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallOutputItemStatus0)numValue;
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf0Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallOutputItemStatus0);
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf0Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ApplyPatchCallOutputItemStatus0JsonConverter : global::Syste
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallOutputItemStatus0 value,
+ global::OpenRouter.ApplyPatchCallOperationOneOf0Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatus0Extensions.ToValueString(value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOperationOneOf0TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0TypeNullable.g.cs
similarity index 74%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1Nullable.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0TypeNullable.g.cs
index b457f0a1..b3aaa991 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1Nullable.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf0TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallOutputItemStatus1NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOperationOneOf0TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallOutputItemStatus1? Read(
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf0Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallOutputItemStatus1NullableJsonConverter : globa
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallOutputItemStatus1Extensions.ToEnum(stringValue);
+ return global::OpenRouter.ApplyPatchCallOperationOneOf0TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallOutputItemStatus1NullableJsonConverter : globa
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallOutputItemStatus1)numValue;
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf0Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallOutputItemStatus1?);
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf0Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ApplyPatchCallOutputItemStatus1NullableJsonConverter : globa
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallOutputItemStatus1? value,
+ global::OpenRouter.ApplyPatchCallOperationOneOf0Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatus1Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOperationOneOf0TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1Type.g.cs
similarity index 73%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1Type.g.cs
index 799b8a82..d231b42d 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1Type.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallItemStatus0JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOperationOneOf1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallItemStatus0 Read(
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf1Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallItemStatus0JsonConverter : global::System.Text
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallItemStatus0Extensions.ToEnum(stringValue) ?? default;
+ return global::OpenRouter.ApplyPatchCallOperationOneOf1TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallItemStatus0JsonConverter : global::System.Text
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemStatus0)numValue;
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallItemStatus0);
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf1Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ApplyPatchCallItemStatus0JsonConverter : global::System.Text
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemStatus0 value,
+ global::OpenRouter.ApplyPatchCallOperationOneOf1Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemStatus0Extensions.ToValueString(value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOperationOneOf1TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1TypeNullable.g.cs
similarity index 74%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0Nullable.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1TypeNullable.g.cs
index 037e63c1..e769589d 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus0Nullable.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf1TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallItemStatus0NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOperationOneOf1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallItemStatus0? Read(
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf1Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallItemStatus0NullableJsonConverter : global::Sys
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallItemStatus0Extensions.ToEnum(stringValue);
+ return global::OpenRouter.ApplyPatchCallOperationOneOf1TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallItemStatus0NullableJsonConverter : global::Sys
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemStatus0)numValue;
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallItemStatus0?);
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf1Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ApplyPatchCallItemStatus0NullableJsonConverter : global::Sys
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemStatus0? value,
+ global::OpenRouter.ApplyPatchCallOperationOneOf1Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemStatus0Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOperationOneOf1TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2Type.g.cs
similarity index 73%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2Type.g.cs
index eaffe19a..faab061a 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus1.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2Type.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallOutputItemStatus1JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOperationOneOf2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallOutputItemStatus1 Read(
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf2Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallOutputItemStatus1JsonConverter : global::Syste
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallOutputItemStatus1Extensions.ToEnum(stringValue) ?? default;
+ return global::OpenRouter.ApplyPatchCallOperationOneOf2TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallOutputItemStatus1JsonConverter : global::Syste
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallOutputItemStatus1)numValue;
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf2Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallOutputItemStatus1);
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf2Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ApplyPatchCallOutputItemStatus1JsonConverter : global::Syste
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallOutputItemStatus1 value,
+ global::OpenRouter.ApplyPatchCallOperationOneOf2Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatus1Extensions.ToValueString(value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOperationOneOf2TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2TypeNullable.g.cs
new file mode 100644
index 00000000..ea8e88ac
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOperationOneOf2TypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class ApplyPatchCallOperationOneOf2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.ApplyPatchCallOperationOneOf2Type? 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.ApplyPatchCallOperationOneOf2TypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::OpenRouter.ApplyPatchCallOperationOneOf2Type)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.ApplyPatchCallOperationOneOf2Type?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.ApplyPatchCallOperationOneOf2Type? 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.ApplyPatchCallOperationOneOf2TypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus.g.cs
index 02801d6b..f893463c 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus.g.cs
@@ -1,10 +1,9 @@
#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
namespace OpenRouter.JsonConverters
{
///
- public class ApplyPatchCallOutputItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOutputItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
public override global::OpenRouter.ApplyPatchCallOutputItemStatus Read(
@@ -12,128 +11,32 @@ public class ApplyPatchCallOutputItemStatusJsonConverter : global::System.Text.J
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;
+ switch (reader.TokenType)
{
- var __ti = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ case global::System.Text.Json.JsonTokenType.String:
{
- foreach (var __prop in __ti.Properties)
+ var stringValue = reader.GetString();
+ if (stringValue != null)
{
- if (__jsonProps.Contains(__prop.Name)) __score0++;
+ return global::OpenRouter.ApplyPatchCallOutputItemStatusExtensions.ToEnum(stringValue) ?? default;
}
+
+ break;
}
- }
- var __score1 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ case global::System.Text.Json.JsonTokenType.Number:
{
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score1++;
- }
+ var numValue = reader.GetInt32();
+ return (global::OpenRouter.ApplyPatchCallOutputItemStatus)numValue;
}
- }
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
-
- global::OpenRouter.ApplyPatchCallOutputItemStatus0? applyPatchCallOutputItemStatus0 = default;
- global::OpenRouter.ApplyPatchCallOutputItemStatus1? applyPatchCallOutputItemStatus1 = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0).Name}");
- applyPatchCallOutputItemStatus0 = 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::OpenRouter.ApplyPatchCallOutputItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1).Name}");
- applyPatchCallOutputItemStatus1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (applyPatchCallOutputItemStatus0 == null && applyPatchCallOutputItemStatus1 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0).Name}");
- applyPatchCallOutputItemStatus0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- if (applyPatchCallOutputItemStatus0 == null && applyPatchCallOutputItemStatus1 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1).Name}");
- applyPatchCallOutputItemStatus1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
+ case global::System.Text.Json.JsonTokenType.Null:
{
+ return default(global::OpenRouter.ApplyPatchCallOutputItemStatus);
}
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
- var __value = new global::OpenRouter.ApplyPatchCallOutputItemStatus(
- applyPatchCallOutputItemStatus0,
-
- applyPatchCallOutputItemStatus1
- );
-
- return __value;
+ return default;
}
///
@@ -142,21 +45,9 @@ public override void Write(
global::OpenRouter.ApplyPatchCallOutputItemStatus 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.");
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- if (value.IsApplyPatchCallOutputItemStatus0)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus0).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOutputItemStatus0!.Value, typeInfo);
- }
- else if (value.IsApplyPatchCallOutputItemStatus1)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItemStatus1).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOutputItemStatus1!.Value, typeInfo);
- }
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatusExtensions.ToValueString(value));
}
}
-}
\ No newline at end of file
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatusNullable.g.cs
similarity index 80%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0Nullable.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatusNullable.g.cs
index f816ba51..85596661 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatus0Nullable.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallOutputItemStatusNullable.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallOutputItemStatus0NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallOutputItemStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallOutputItemStatus0? Read(
+ public override global::OpenRouter.ApplyPatchCallOutputItemStatus? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallOutputItemStatus0NullableJsonConverter : globa
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallOutputItemStatus0Extensions.ToEnum(stringValue);
+ return global::OpenRouter.ApplyPatchCallOutputItemStatusExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallOutputItemStatus0NullableJsonConverter : globa
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallOutputItemStatus0)numValue;
+ return (global::OpenRouter.ApplyPatchCallOutputItemStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallOutputItemStatus0?);
+ return default(global::OpenRouter.ApplyPatchCallOutputItemStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ApplyPatchCallOutputItemStatus0NullableJsonConverter : globa
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallOutputItemStatus0? value,
+ global::OpenRouter.ApplyPatchCallOutputItemStatus? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatus0Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallOutputItemStatusExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatus.g.cs
similarity index 75%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatus.g.cs
index 8e4b0b65..4ea77c60 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatus.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallItemStatus1JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallItemStatus1 Read(
+ public override global::OpenRouter.ApplyPatchCallStatus Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallItemStatus1JsonConverter : global::System.Text
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallItemStatus1Extensions.ToEnum(stringValue) ?? default;
+ return global::OpenRouter.ApplyPatchCallStatusExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallItemStatus1JsonConverter : global::System.Text
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemStatus1)numValue;
+ return (global::OpenRouter.ApplyPatchCallStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallItemStatus1);
+ return default(global::OpenRouter.ApplyPatchCallStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ApplyPatchCallItemStatus1JsonConverter : global::System.Text
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemStatus1 value,
+ global::OpenRouter.ApplyPatchCallStatus value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemStatus1Extensions.ToValueString(value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallStatusExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatusNullable.g.cs
similarity index 76%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1Nullable.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatusNullable.g.cs
index 689e7fad..a8b76141 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallItemStatus1Nullable.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchCallStatusNullable.g.cs
@@ -3,10 +3,10 @@
namespace OpenRouter.JsonConverters
{
///
- public sealed class ApplyPatchCallItemStatus1NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ApplyPatchCallStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.ApplyPatchCallItemStatus1? Read(
+ public override global::OpenRouter.ApplyPatchCallStatus? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ApplyPatchCallItemStatus1NullableJsonConverter : global::Sys
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::OpenRouter.ApplyPatchCallItemStatus1Extensions.ToEnum(stringValue);
+ return global::OpenRouter.ApplyPatchCallStatusExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ApplyPatchCallItemStatus1NullableJsonConverter : global::Sys
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::OpenRouter.ApplyPatchCallItemStatus1)numValue;
+ return (global::OpenRouter.ApplyPatchCallStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::OpenRouter.ApplyPatchCallItemStatus1?);
+ return default(global::OpenRouter.ApplyPatchCallStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ApplyPatchCallItemStatus1NullableJsonConverter : global::Sys
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::OpenRouter.ApplyPatchCallItemStatus1? value,
+ global::OpenRouter.ApplyPatchCallStatus? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::OpenRouter.ApplyPatchCallItemStatus1Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchCallStatusExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterType.g.cs
new file mode 100644
index 00000000..323c041f
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class ApplyPatchServerToolOpenRouterTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.ApplyPatchServerToolOpenRouterType 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.ApplyPatchServerToolOpenRouterTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::OpenRouter.ApplyPatchServerToolOpenRouterType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.ApplyPatchServerToolOpenRouterType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.ApplyPatchServerToolOpenRouterType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::OpenRouter.ApplyPatchServerToolOpenRouterTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterTypeNullable.g.cs
new file mode 100644
index 00000000..a610fa1e
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ApplyPatchServerToolOpenRouterTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace OpenRouter.JsonConverters
+{
+ ///
+ public sealed class ApplyPatchServerToolOpenRouterTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::OpenRouter.ApplyPatchServerToolOpenRouterType? 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.ApplyPatchServerToolOpenRouterTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::OpenRouter.ApplyPatchServerToolOpenRouterType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::OpenRouter.ApplyPatchServerToolOpenRouterType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::OpenRouter.ApplyPatchServerToolOpenRouterType? 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.ApplyPatchServerToolOpenRouterTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseInputsOneOf1Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseInputsOneOf1Items.g.cs
index 6dfde8e1..803cc2d5 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseInputsOneOf1Items.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseInputsOneOf1Items.g.cs
@@ -75,6 +75,18 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
if (__jsonProps.Contains("id")) __score7++;
if (__jsonProps.Contains("output")) __score7++;
if (__jsonProps.Contains("type")) __score7++;
+ var __score8 = 0;
+ if (__jsonProps.Contains("call_id")) __score8++;
+ if (__jsonProps.Contains("id")) __score8++;
+ if (__jsonProps.Contains("operation")) __score8++;
+ if (__jsonProps.Contains("status")) __score8++;
+ if (__jsonProps.Contains("type")) __score8++;
+ var __score9 = 0;
+ if (__jsonProps.Contains("call_id")) __score9++;
+ if (__jsonProps.Contains("id")) __score9++;
+ if (__jsonProps.Contains("output")) __score9++;
+ if (__jsonProps.Contains("status")) __score9++;
+ if (__jsonProps.Contains("type")) __score9++;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -85,6 +97,8 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; }
if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; }
if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; }
+ if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; }
+ if (__score9 > __bestScore) { __bestScore = __score9; __bestIndex = 9; }
global::OpenRouter.BaseInputsOneOf1Items0? baseInputsOneOf1Items0 = default;
global::OpenRouter.OpenAIResponseInputMessageItem? openAIResponseInputMessageItem = default;
@@ -94,6 +108,8 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
global::OpenRouter.OutputMessage? outputMessage = default;
global::OpenRouter.OpenAIResponseCustomToolCall? openAIResponseCustomToolCall = default;
global::OpenRouter.OpenAIResponseCustomToolCallOutput? openAIResponseCustomToolCallOutput = default;
+ global::OpenRouter.ApplyPatchCallItem? applyPatchCallItem = default;
+ global::OpenRouter.ApplyPatchCallOutputItem? applyPatchCallOutputItem = default;
if (__bestIndex >= 0)
{
if (__bestIndex == 0)
@@ -216,9 +232,39 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
{
}
}
+ else if (__bestIndex == 8)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 9)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -235,7 +281,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -252,7 +298,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -269,7 +315,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -286,7 +332,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -303,7 +349,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -320,7 +366,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -337,7 +383,7 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
- if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null)
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
{
try
{
@@ -354,6 +400,40 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
}
}
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (baseInputsOneOf1Items0 == null && openAIResponseInputMessageItem == null && openAIResponseFunctionToolCallOutput == null && openAIResponseFunctionToolCall == null && outputItemImageGenerationCall == null && outputMessage == null && openAIResponseCustomToolCall == null && openAIResponseCustomToolCallOutput == null && applyPatchCallItem == null && applyPatchCallOutputItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
var __value = new global::OpenRouter.BaseInputsOneOf1Items(
baseInputsOneOf1Items0,
@@ -369,7 +449,11 @@ public class BaseInputsOneOf1ItemsJsonConverter : global::System.Text.Json.Seria
openAIResponseCustomToolCall,
- openAIResponseCustomToolCallOutput
+ openAIResponseCustomToolCallOutput,
+
+ applyPatchCallItem,
+
+ applyPatchCallOutputItem
);
return __value;
@@ -432,6 +516,18 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OpenAIResponseCustomToolCallOutput).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAIResponseCustomToolCallOutput!, typeInfo);
}
+ else if (value.IsApplyPatchCallItem)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItem!, typeInfo);
+ }
+ else if (value.IsApplyPatchCallOutputItem)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOutputItem!, typeInfo);
+ }
}
}
}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1Items.g.cs
index 9a6e7c19..ad507819 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1Items.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1Items.g.cs
@@ -68,185 +68,185 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
if (__jsonProps.Contains("status")) __score4++;
if (__jsonProps.Contains("type")) __score4++;
var __score5 = 0;
- if (__jsonProps.Contains("content")) __score5++;
+ if (__jsonProps.Contains("call_id")) __score5++;
+ if (__jsonProps.Contains("id")) __score5++;
+ if (__jsonProps.Contains("operation")) __score5++;
+ if (__jsonProps.Contains("status")) __score5++;
+ if (__jsonProps.Contains("type")) __score5++;
var __score6 = 0;
- if (__jsonProps.Contains("content")) __score6++;
- if (__jsonProps.Contains("format")) __score6++;
- if (__jsonProps.Contains("signature")) __score6++;
- if (__jsonProps.Contains("summary")) __score6++;
+ if (__jsonProps.Contains("call_id")) __score6++;
+ if (__jsonProps.Contains("id")) __score6++;
+ if (__jsonProps.Contains("output")) __score6++;
+ if (__jsonProps.Contains("status")) __score6++;
+ if (__jsonProps.Contains("type")) __score6++;
var __score7 = 0;
- if (__jsonProps.Contains("arguments")) __score7++;
- if (__jsonProps.Contains("call_id")) __score7++;
- if (__jsonProps.Contains("id")) __score7++;
- if (__jsonProps.Contains("name")) __score7++;
- if (__jsonProps.Contains("namespace")) __score7++;
- if (__jsonProps.Contains("status")) __score7++;
- if (__jsonProps.Contains("type")) __score7++;
+ if (__jsonProps.Contains("content")) __score7++;
var __score8 = 0;
- if (__jsonProps.Contains("call_id")) __score8++;
- if (__jsonProps.Contains("id")) __score8++;
- if (__jsonProps.Contains("input")) __score8++;
- if (__jsonProps.Contains("name")) __score8++;
- if (__jsonProps.Contains("namespace")) __score8++;
+ if (__jsonProps.Contains("content")) __score8++;
+ if (__jsonProps.Contains("format")) __score8++;
+ if (__jsonProps.Contains("signature")) __score8++;
+ if (__jsonProps.Contains("summary")) __score8++;
var __score9 = 0;
- if (__jsonProps.Contains("action")) __score9++;
+ if (__jsonProps.Contains("arguments")) __score9++;
+ if (__jsonProps.Contains("call_id")) __score9++;
if (__jsonProps.Contains("id")) __score9++;
+ if (__jsonProps.Contains("name")) __score9++;
+ if (__jsonProps.Contains("namespace")) __score9++;
if (__jsonProps.Contains("status")) __score9++;
if (__jsonProps.Contains("type")) __score9++;
var __score10 = 0;
+ if (__jsonProps.Contains("call_id")) __score10++;
if (__jsonProps.Contains("id")) __score10++;
- if (__jsonProps.Contains("queries")) __score10++;
- if (__jsonProps.Contains("status")) __score10++;
- if (__jsonProps.Contains("type")) __score10++;
+ if (__jsonProps.Contains("input")) __score10++;
+ if (__jsonProps.Contains("name")) __score10++;
+ if (__jsonProps.Contains("namespace")) __score10++;
var __score11 = 0;
+ if (__jsonProps.Contains("action")) __score11++;
if (__jsonProps.Contains("id")) __score11++;
- if (__jsonProps.Contains("result")) __score11++;
if (__jsonProps.Contains("status")) __score11++;
if (__jsonProps.Contains("type")) __score11++;
var __score12 = 0;
- if (__jsonProps.Contains("code")) __score12++;
- if (__jsonProps.Contains("container_id")) __score12++;
if (__jsonProps.Contains("id")) __score12++;
- if (__jsonProps.Contains("outputs")) __score12++;
+ if (__jsonProps.Contains("queries")) __score12++;
if (__jsonProps.Contains("status")) __score12++;
if (__jsonProps.Contains("type")) __score12++;
var __score13 = 0;
- if (__jsonProps.Contains("action")) __score13++;
- if (__jsonProps.Contains("call_id")) __score13++;
if (__jsonProps.Contains("id")) __score13++;
- if (__jsonProps.Contains("pending_safety_checks")) __score13++;
+ if (__jsonProps.Contains("result")) __score13++;
if (__jsonProps.Contains("status")) __score13++;
+ if (__jsonProps.Contains("type")) __score13++;
var __score14 = 0;
- if (__jsonProps.Contains("datetime")) __score14++;
+ if (__jsonProps.Contains("code")) __score14++;
+ if (__jsonProps.Contains("container_id")) __score14++;
if (__jsonProps.Contains("id")) __score14++;
+ if (__jsonProps.Contains("outputs")) __score14++;
if (__jsonProps.Contains("status")) __score14++;
- if (__jsonProps.Contains("timezone")) __score14++;
+ if (__jsonProps.Contains("type")) __score14++;
var __score15 = 0;
if (__jsonProps.Contains("action")) __score15++;
- if (__jsonProps.Contains("action.query")) __score15++;
- if (__jsonProps.Contains("action.sources")) __score15++;
- if (__jsonProps.Contains("action.type")) __score15++;
+ if (__jsonProps.Contains("call_id")) __score15++;
if (__jsonProps.Contains("id")) __score15++;
+ if (__jsonProps.Contains("pending_safety_checks")) __score15++;
if (__jsonProps.Contains("status")) __score15++;
- if (__jsonProps.Contains("type")) __score15++;
var __score16 = 0;
- if (__jsonProps.Contains("code")) __score16++;
- if (__jsonProps.Contains("exitCode")) __score16++;
+ if (__jsonProps.Contains("datetime")) __score16++;
if (__jsonProps.Contains("id")) __score16++;
- if (__jsonProps.Contains("language")) __score16++;
if (__jsonProps.Contains("status")) __score16++;
- if (__jsonProps.Contains("stderr")) __score16++;
- if (__jsonProps.Contains("stdout")) __score16++;
+ if (__jsonProps.Contains("timezone")) __score16++;
var __score17 = 0;
+ if (__jsonProps.Contains("action")) __score17++;
+ if (__jsonProps.Contains("action.query")) __score17++;
+ if (__jsonProps.Contains("action.sources")) __score17++;
+ if (__jsonProps.Contains("action.type")) __score17++;
if (__jsonProps.Contains("id")) __score17++;
- if (__jsonProps.Contains("queries")) __score17++;
if (__jsonProps.Contains("status")) __score17++;
+ if (__jsonProps.Contains("type")) __score17++;
var __score18 = 0;
+ if (__jsonProps.Contains("code")) __score18++;
+ if (__jsonProps.Contains("exitCode")) __score18++;
if (__jsonProps.Contains("id")) __score18++;
- if (__jsonProps.Contains("imageB64")) __score18++;
- if (__jsonProps.Contains("imageUrl")) __score18++;
- if (__jsonProps.Contains("result")) __score18++;
- if (__jsonProps.Contains("revisedPrompt")) __score18++;
+ if (__jsonProps.Contains("language")) __score18++;
if (__jsonProps.Contains("status")) __score18++;
+ if (__jsonProps.Contains("stderr")) __score18++;
+ if (__jsonProps.Contains("stdout")) __score18++;
var __score19 = 0;
- if (__jsonProps.Contains("action")) __score19++;
if (__jsonProps.Contains("id")) __score19++;
- if (__jsonProps.Contains("screenshotB64")) __score19++;
+ if (__jsonProps.Contains("queries")) __score19++;
if (__jsonProps.Contains("status")) __score19++;
var __score20 = 0;
- if (__jsonProps.Contains("command")) __score20++;
- if (__jsonProps.Contains("exitCode")) __score20++;
if (__jsonProps.Contains("id")) __score20++;
+ if (__jsonProps.Contains("imageB64")) __score20++;
+ if (__jsonProps.Contains("imageUrl")) __score20++;
+ if (__jsonProps.Contains("result")) __score20++;
+ if (__jsonProps.Contains("revisedPrompt")) __score20++;
if (__jsonProps.Contains("status")) __score20++;
- if (__jsonProps.Contains("stderr")) __score20++;
- if (__jsonProps.Contains("stdout")) __score20++;
var __score21 = 0;
- if (__jsonProps.Contains("command")) __score21++;
- if (__jsonProps.Contains("filePath")) __score21++;
+ if (__jsonProps.Contains("action")) __score21++;
if (__jsonProps.Contains("id")) __score21++;
+ if (__jsonProps.Contains("screenshotB64")) __score21++;
if (__jsonProps.Contains("status")) __score21++;
- if (__jsonProps.Contains("type")) __score21++;
var __score22 = 0;
- if (__jsonProps.Contains("filePath")) __score22++;
+ if (__jsonProps.Contains("command")) __score22++;
+ if (__jsonProps.Contains("exitCode")) __score22++;
if (__jsonProps.Contains("id")) __score22++;
- if (__jsonProps.Contains("patch")) __score22++;
if (__jsonProps.Contains("status")) __score22++;
+ if (__jsonProps.Contains("stderr")) __score22++;
+ if (__jsonProps.Contains("stdout")) __score22++;
var __score23 = 0;
- if (__jsonProps.Contains("content")) __score23++;
- if (__jsonProps.Contains("error")) __score23++;
- if (__jsonProps.Contains("httpStatus")) __score23++;
+ if (__jsonProps.Contains("command")) __score23++;
+ if (__jsonProps.Contains("filePath")) __score23++;
if (__jsonProps.Contains("id")) __score23++;
if (__jsonProps.Contains("status")) __score23++;
- if (__jsonProps.Contains("title")) __score23++;
if (__jsonProps.Contains("type")) __score23++;
- if (__jsonProps.Contains("url")) __score23++;
var __score24 = 0;
+ if (__jsonProps.Contains("call_id")) __score24++;
if (__jsonProps.Contains("id")) __score24++;
- if (__jsonProps.Contains("query")) __score24++;
+ if (__jsonProps.Contains("operation")) __score24++;
if (__jsonProps.Contains("status")) __score24++;
- if (__jsonProps.Contains("type")) __score24++;
var __score25 = 0;
- if (__jsonProps.Contains("action")) __score25++;
+ if (__jsonProps.Contains("content")) __score25++;
+ if (__jsonProps.Contains("error")) __score25++;
+ if (__jsonProps.Contains("httpStatus")) __score25++;
if (__jsonProps.Contains("id")) __score25++;
- if (__jsonProps.Contains("key")) __score25++;
if (__jsonProps.Contains("status")) __score25++;
+ if (__jsonProps.Contains("title")) __score25++;
if (__jsonProps.Contains("type")) __score25++;
- if (__jsonProps.Contains("value")) __score25++;
+ if (__jsonProps.Contains("url")) __score25++;
var __score26 = 0;
if (__jsonProps.Contains("id")) __score26++;
- if (__jsonProps.Contains("serverLabel")) __score26++;
+ if (__jsonProps.Contains("query")) __score26++;
if (__jsonProps.Contains("status")) __score26++;
- if (__jsonProps.Contains("toolName")) __score26++;
if (__jsonProps.Contains("type")) __score26++;
var __score27 = 0;
- if (__jsonProps.Contains("arguments")) __score27++;
+ if (__jsonProps.Contains("action")) __score27++;
if (__jsonProps.Contains("id")) __score27++;
- if (__jsonProps.Contains("query")) __score27++;
+ if (__jsonProps.Contains("key")) __score27++;
if (__jsonProps.Contains("status")) __score27++;
if (__jsonProps.Contains("type")) __score27++;
+ if (__jsonProps.Contains("value")) __score27++;
var __score28 = 0;
- if (__jsonProps.Contains("action")) __score28++;
- if (__jsonProps.Contains("action.command")) __score28++;
- if (__jsonProps.Contains("action.env")) __score28++;
- if (__jsonProps.Contains("action.timeout_ms")) __score28++;
- if (__jsonProps.Contains("action.type")) __score28++;
- if (__jsonProps.Contains("action.user")) __score28++;
- if (__jsonProps.Contains("action.working_directory")) __score28++;
- if (__jsonProps.Contains("call_id")) __score28++;
if (__jsonProps.Contains("id")) __score28++;
+ if (__jsonProps.Contains("serverLabel")) __score28++;
if (__jsonProps.Contains("status")) __score28++;
+ if (__jsonProps.Contains("toolName")) __score28++;
if (__jsonProps.Contains("type")) __score28++;
var __score29 = 0;
+ if (__jsonProps.Contains("arguments")) __score29++;
if (__jsonProps.Contains("id")) __score29++;
- if (__jsonProps.Contains("output")) __score29++;
+ if (__jsonProps.Contains("query")) __score29++;
if (__jsonProps.Contains("status")) __score29++;
if (__jsonProps.Contains("type")) __score29++;
var __score30 = 0;
if (__jsonProps.Contains("action")) __score30++;
- if (__jsonProps.Contains("action.commands")) __score30++;
- if (__jsonProps.Contains("action.max_output_length")) __score30++;
+ if (__jsonProps.Contains("action.command")) __score30++;
+ if (__jsonProps.Contains("action.env")) __score30++;
if (__jsonProps.Contains("action.timeout_ms")) __score30++;
+ if (__jsonProps.Contains("action.type")) __score30++;
+ if (__jsonProps.Contains("action.user")) __score30++;
+ if (__jsonProps.Contains("action.working_directory")) __score30++;
if (__jsonProps.Contains("call_id")) __score30++;
- if (__jsonProps.Contains("environment")) __score30++;
if (__jsonProps.Contains("id")) __score30++;
if (__jsonProps.Contains("status")) __score30++;
if (__jsonProps.Contains("type")) __score30++;
var __score31 = 0;
- if (__jsonProps.Contains("call_id")) __score31++;
if (__jsonProps.Contains("id")) __score31++;
- if (__jsonProps.Contains("max_output_length")) __score31++;
if (__jsonProps.Contains("output")) __score31++;
if (__jsonProps.Contains("status")) __score31++;
if (__jsonProps.Contains("type")) __score31++;
var __score32 = 0;
+ if (__jsonProps.Contains("action")) __score32++;
+ if (__jsonProps.Contains("action.commands")) __score32++;
+ if (__jsonProps.Contains("action.max_output_length")) __score32++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score32++;
if (__jsonProps.Contains("call_id")) __score32++;
+ if (__jsonProps.Contains("environment")) __score32++;
if (__jsonProps.Contains("id")) __score32++;
- if (__jsonProps.Contains("operation")) __score32++;
if (__jsonProps.Contains("status")) __score32++;
if (__jsonProps.Contains("type")) __score32++;
var __score33 = 0;
if (__jsonProps.Contains("call_id")) __score33++;
if (__jsonProps.Contains("id")) __score33++;
+ if (__jsonProps.Contains("max_output_length")) __score33++;
if (__jsonProps.Contains("output")) __score33++;
if (__jsonProps.Contains("status")) __score33++;
if (__jsonProps.Contains("type")) __score33++;
@@ -345,8 +345,10 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
global::OpenRouter.InputMessageItem? inputMessageItem = default;
global::OpenRouter.FunctionCallItem? functionCallItem = default;
global::OpenRouter.FunctionCallOutputItem? functionCallOutputItem = default;
- global::OpenRouter.InputsOneOf1Items5? inputsOneOf1Items5 = default;
- global::OpenRouter.InputsOneOf1Items6? inputsOneOf1Items6 = default;
+ global::OpenRouter.ApplyPatchCallItem? applyPatchCallItem = default;
+ global::OpenRouter.ApplyPatchCallOutputItem? applyPatchCallOutputItem = default;
+ global::OpenRouter.InputsOneOf1Items7? inputsOneOf1Items7 = default;
+ global::OpenRouter.InputsOneOf1Items8? inputsOneOf1Items8 = default;
global::OpenRouter.OutputFunctionCallItem? outputFunctionCallItem = default;
global::OpenRouter.OutputCustomToolCallItem? outputCustomToolCallItem = default;
global::OpenRouter.OutputWebSearchCallItem? outputWebSearchCallItem = default;
@@ -372,8 +374,6 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
global::OpenRouter.LocalShellCallOutputItem? localShellCallOutputItem = default;
global::OpenRouter.ShellCallItem? shellCallItem = default;
global::OpenRouter.ShellCallOutputItem? shellCallOutputItem = default;
- global::OpenRouter.ApplyPatchCallItem? applyPatchCallItem = default;
- global::OpenRouter.ApplyPatchCallOutputItem? applyPatchCallOutputItem = default;
global::OpenRouter.McpListToolsItem? mcpListToolsItem = default;
global::OpenRouter.McpApprovalRequestItem? mcpApprovalRequestItem = default;
global::OpenRouter.McpApprovalResponseItem? mcpApprovalResponseItem = default;
@@ -463,9 +463,9 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items5).Name}");
- inputsOneOf1Items5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -478,9 +478,9 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items6).Name}");
- inputsOneOf1Items6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -490,6 +490,36 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
else if (__bestIndex == 7)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items7).Name}");
+ inputsOneOf1Items7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 8)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items8).Name}");
+ inputsOneOf1Items8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 9)
{
try
{
@@ -504,7 +534,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 8)
+ else if (__bestIndex == 10)
{
try
{
@@ -519,7 +549,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 9)
+ else if (__bestIndex == 11)
{
try
{
@@ -534,7 +564,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 10)
+ else if (__bestIndex == 12)
{
try
{
@@ -549,7 +579,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 11)
+ else if (__bestIndex == 13)
{
try
{
@@ -564,7 +594,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 12)
+ else if (__bestIndex == 14)
{
try
{
@@ -579,7 +609,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 13)
+ else if (__bestIndex == 15)
{
try
{
@@ -594,7 +624,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 14)
+ else if (__bestIndex == 16)
{
try
{
@@ -609,7 +639,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 15)
+ else if (__bestIndex == 17)
{
try
{
@@ -624,7 +654,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 16)
+ else if (__bestIndex == 18)
{
try
{
@@ -639,7 +669,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 17)
+ else if (__bestIndex == 19)
{
try
{
@@ -654,7 +684,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 18)
+ else if (__bestIndex == 20)
{
try
{
@@ -669,7 +699,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 19)
+ else if (__bestIndex == 21)
{
try
{
@@ -684,7 +714,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 20)
+ else if (__bestIndex == 22)
{
try
{
@@ -699,7 +729,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 21)
+ else if (__bestIndex == 23)
{
try
{
@@ -714,7 +744,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 22)
+ else if (__bestIndex == 24)
{
try
{
@@ -729,7 +759,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 23)
+ else if (__bestIndex == 25)
{
try
{
@@ -744,7 +774,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 24)
+ else if (__bestIndex == 26)
{
try
{
@@ -759,7 +789,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 25)
+ else if (__bestIndex == 27)
{
try
{
@@ -774,7 +804,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 26)
+ else if (__bestIndex == 28)
{
try
{
@@ -789,7 +819,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 27)
+ else if (__bestIndex == 29)
{
try
{
@@ -804,7 +834,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 28)
+ else if (__bestIndex == 30)
{
try
{
@@ -819,7 +849,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 29)
+ else if (__bestIndex == 31)
{
try
{
@@ -834,7 +864,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 30)
+ else if (__bestIndex == 32)
{
try
{
@@ -849,7 +879,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 31)
+ else if (__bestIndex == 33)
{
try
{
@@ -864,36 +894,6 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
{
}
}
- else if (__bestIndex == 32)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
- applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 33)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
- applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
else if (__bestIndex == 34)
{
try
@@ -1016,7 +1016,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1033,7 +1033,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1050,7 +1050,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1067,7 +1067,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1084,7 +1084,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1101,14 +1101,48 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items5).Name}");
- inputsOneOf1Items5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items7).Name}");
+ inputsOneOf1Items7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -1118,14 +1152,14 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items6).Name}");
- inputsOneOf1Items6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items8).Name}");
+ inputsOneOf1Items8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -1135,7 +1169,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1152,7 +1186,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1169,7 +1203,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1186,7 +1220,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1203,7 +1237,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1220,7 +1254,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1237,7 +1271,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1254,7 +1288,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1271,7 +1305,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1288,7 +1322,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1305,7 +1339,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1322,7 +1356,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1339,7 +1373,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1356,7 +1390,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1373,7 +1407,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1390,7 +1424,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1407,7 +1441,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1424,7 +1458,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1441,7 +1475,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1458,7 +1492,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1475,7 +1509,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1492,7 +1526,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1509,7 +1543,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1526,7 +1560,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1543,7 +1577,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1560,41 +1594,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
- applyPatchCallItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
- applyPatchCallOutputItem = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1611,7 +1611,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1628,7 +1628,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1645,7 +1645,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1662,7 +1662,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1679,7 +1679,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1696,7 +1696,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1713,7 +1713,7 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
}
}
- if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && inputsOneOf1Items5 == null && inputsOneOf1Items6 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
+ if (reasoningItem == null && easyInputMessage == null && inputMessageItem == null && functionCallItem == null && functionCallOutputItem == null && applyPatchCallItem == null && applyPatchCallOutputItem == null && inputsOneOf1Items7 == null && inputsOneOf1Items8 == null && outputFunctionCallItem == null && outputCustomToolCallItem == null && outputWebSearchCallItem == null && outputFileSearchCallItem == null && outputImageGenerationCallItem == null && outputCodeInterpreterCallItem == null && outputComputerCallItem == null && outputDatetimeItem == null && outputWebSearchServerToolItem == null && outputCodeInterpreterServerToolItem == null && outputFileSearchServerToolItem == null && outputImageGenerationServerToolItem == null && outputBrowserUseServerToolItem == null && outputBashServerToolItem == null && outputTextEditorServerToolItem == null && outputApplyPatchServerToolItem == null && outputWebFetchServerToolItem == null && outputToolSearchServerToolItem == null && outputMemoryServerToolItem == null && outputMcpServerToolItem == null && outputSearchModelsServerToolItem == null && localShellCallItem == null && localShellCallOutputItem == null && shellCallItem == null && shellCallOutputItem == null && mcpListToolsItem == null && mcpApprovalRequestItem == null && mcpApprovalResponseItem == null && mcpCallItem == null && customToolCallItem == null && customToolCallOutputItem == null && compactionItem == null && itemReferenceItem == null)
{
try
{
@@ -1741,9 +1741,13 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
functionCallOutputItem,
- inputsOneOf1Items5,
+ applyPatchCallItem,
+
+ applyPatchCallOutputItem,
- inputsOneOf1Items6,
+ inputsOneOf1Items7,
+
+ inputsOneOf1Items8,
outputFunctionCallItem,
@@ -1795,10 +1799,6 @@ public class InputsOneOf1ItemsJsonConverter : global::System.Text.Json.Serializa
shellCallOutputItem,
- applyPatchCallItem,
-
- applyPatchCallOutputItem,
-
mcpListToolsItem,
mcpApprovalRequestItem,
@@ -1858,17 +1858,29 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.FunctionCallOutputItem).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.FunctionCallOutputItem!, typeInfo);
}
- else if (value.IsInputsOneOf1Items5)
+ else if (value.IsApplyPatchCallItem)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItem!, typeInfo);
+ }
+ else if (value.IsApplyPatchCallOutputItem)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOutputItem!, typeInfo);
+ }
+ else if (value.IsInputsOneOf1Items7)
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items5).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.InputsOneOf1Items5!, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items7).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.InputsOneOf1Items7!, typeInfo);
}
- else if (value.IsInputsOneOf1Items6)
+ else if (value.IsInputsOneOf1Items8)
{
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items6).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.InputsOneOf1Items6!, typeInfo);
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputsOneOf1Items8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputsOneOf1Items8).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.InputsOneOf1Items8!, typeInfo);
}
else if (value.IsOutputFunctionCallItem)
{
@@ -2020,18 +2032,6 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ShellCallOutputItem).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ShellCallOutputItem!, typeInfo);
}
- else if (value.IsApplyPatchCallItem)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallItem).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallItem!, typeInfo);
- }
- else if (value.IsApplyPatchCallOutputItem)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ApplyPatchCallOutputItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ApplyPatchCallOutputItem).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApplyPatchCallOutputItem!, typeInfo);
- }
else if (value.IsMcpListToolsItem)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.McpListToolsItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf5Content.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf7Content.g.cs
similarity index 80%
rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf5Content.g.cs
rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf7Content.g.cs
index f35bcafb..95567796 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf5Content.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputsOneOf1ItemsOneOf7Content.g.cs
@@ -4,10 +4,10 @@
namespace OpenRouter.JsonConverters
{
///
- public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public class InputsOneOf1ItemsOneOf7ContentJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::OpenRouter.InputsOneOf1ItemsOneOf5Content Read(
+ public override global::OpenRouter.InputsOneOf1ItemsOneOf7Content Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -29,7 +29,7 @@ public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.J
var __score0 = 0;
{
- var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options);
+ 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)
@@ -66,9 +66,9 @@ public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.J
if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
- global::System.Collections.Generic.IList? inputsOneOf1ItemsOneOf5Content0 = default;
- string? inputsOneOf1ItemsOneOf5ContentVariant2 = default;
- object? inputsOneOf1ItemsOneOf5ContentVariant3 = default;
+ global::System.Collections.Generic.IList? inputsOneOf1ItemsOneOf7Content0 = default;
+ string? inputsOneOf1ItemsOneOf7ContentVariant2 = default;
+ object? inputsOneOf1ItemsOneOf7ContentVariant3 = default;
if (__bestIndex >= 0)
{
if (__bestIndex == 0)
@@ -76,9 +76,9 @@ public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.J
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}");
- inputsOneOf1ItemsOneOf5Content0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ 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}");
+ inputsOneOf1ItemsOneOf7Content0 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -95,7 +95,7 @@ public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.J
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}");
- inputsOneOf1ItemsOneOf5ContentVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ inputsOneOf1ItemsOneOf7ContentVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
}
catch (global::System.Text.Json.JsonException)
{
@@ -112,7 +112,7 @@ public class InputsOneOf1ItemsOneOf5ContentJsonConverter : global::System.Text.J
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo