diff --git a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json
index 9547d1f1..d22bd2e6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json
+++ b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json
@@ -39,7 +39,7 @@
"Slug": "getinputtokencounts",
"Description": "Generated from OpenAPI examples.",
"Language": "http",
- "Code": "### Returns input token counts of the request.\n\nReturns an object with \u0060object\u0060 set to \u0060response.input_tokens\u0060 and an \u0060input_tokens\u0060 count.\n# @name Getinputtokencounts\nPOST {{host}}/responses/input_tokens\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022string\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022tools\u0022: [\n {\n \u0022type\u0022: \u0022function\u0022,\n \u0022name\u0022: \u0022string\u0022,\n \u0022description\u0022: \u0022string\u0022,\n \u0022parameters\u0022: {},\n \u0022strict\u0022: true,\n \u0022defer_loading\u0022: true\n }\n ],\n \u0022text\u0022: {\n \u0022format\u0022: {\n \u0022type\u0022: \u0022text\u0022\n },\n \u0022verbosity\u0022: \u0022medium\u0022\n },\n \u0022reasoning\u0022: {\n \u0022effort\u0022: \u0022medium\u0022,\n \u0022summary\u0022: \u0022auto\u0022,\n \u0022generate_summary\u0022: \u0022auto\u0022\n },\n \u0022truncation\u0022: \u0022auto\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022conversation\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n \u0022tool_choice\u0022: \u0022none\u0022,\n \u0022parallel_tool_calls\u0022: true\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json",
+ "Code": "### Returns input token counts of the request.\n\nReturns an object with \u0060object\u0060 set to \u0060response.input_tokens\u0060 and an \u0060input_tokens\u0060 count.\n# @name Getinputtokencounts\nPOST {{host}}/responses/input_tokens\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022string\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022tools\u0022: [\n {\n \u0022type\u0022: \u0022function\u0022,\n \u0022name\u0022: \u0022string\u0022,\n \u0022description\u0022: \u0022string\u0022,\n \u0022parameters\u0022: {},\n \u0022strict\u0022: true,\n \u0022defer_loading\u0022: true\n }\n ],\n \u0022text\u0022: {\n \u0022format\u0022: {\n \u0022type\u0022: \u0022text\u0022\n },\n \u0022verbosity\u0022: \u0022medium\u0022\n },\n \u0022reasoning\u0022: {\n \u0022effort\u0022: \u0022medium\u0022,\n \u0022summary\u0022: \u0022auto\u0022,\n \u0022generate_summary\u0022: \u0022auto\u0022\n },\n \u0022truncation\u0022: \u0022auto\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022personality\u0022: \u0022string\u0022,\n \u0022conversation\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n \u0022tool_choice\u0022: \u0022none\u0022,\n \u0022parallel_tool_calls\u0022: true\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json",
"Format": "http",
"OperationId": "Getinputtokencounts",
"Setup": null
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.GetInputTokenCounts.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.GetInputTokenCounts.g.cs
index 206baad7..9a0b03b9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.GetInputTokenCounts.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.GetInputTokenCounts.g.cs
@@ -44,6 +44,9 @@ public partial interface IOpenAiClient
/// The truncation strategy to use for the model response. - `auto`: If the input to this Response exceeds the model's context window size, the model will truncate the response to fit the context window by dropping items from the beginning of the conversation. - `disabled` (default): If the input size will exceed the context window size for a model, the request will fail with a 400 error.
///
///
+ ///
+ /// A model-owned style preset to apply to this request. Omit this parameter to use the model's default style. Supported values may expand over time. Values must be at most 64 characters.
+ ///
///
///
///
@@ -59,6 +62,7 @@ public partial interface IOpenAiClient
global::tryAGI.OpenAI.Reasoning? reasoning = default,
global::tryAGI.OpenAI.TruncationEnum? truncation = default,
string? instructions = default,
+ global::tryAGI.OpenAI.PersonalityEnum? personality = default,
global::tryAGI.OpenAI.ConversationParam? conversation = default,
global::tryAGI.OpenAI.ToolChoiceParam? toolChoice = default,
bool? parallelToolCalls = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRole.g.cs
new file mode 100644
index 00000000..de030f50
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRole.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsItemParamRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsItemParamRole 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::tryAGI.OpenAI.AdditionalToolsItemParamRoleExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsItemParamRole)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsItemParamRole);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsItemParamRole value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.AdditionalToolsItemParamRoleExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullable.g.cs
new file mode 100644
index 00000000..8b3230a0
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsItemParamRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsItemParamRole? 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::tryAGI.OpenAI.AdditionalToolsItemParamRoleExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsItemParamRole)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsItemParamRole?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsItemParamRole? 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::tryAGI.OpenAI.AdditionalToolsItemParamRoleExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamType.g.cs
new file mode 100644
index 00000000..1ba02d6a
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsItemParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsItemParamType 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::tryAGI.OpenAI.AdditionalToolsItemParamTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsItemParamType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsItemParamType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsItemParamType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.AdditionalToolsItemParamTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullable.g.cs
new file mode 100644
index 00000000..c06e83de
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsItemParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsItemParamType? 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::tryAGI.OpenAI.AdditionalToolsItemParamTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsItemParamType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsItemParamType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsItemParamType? 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::tryAGI.OpenAI.AdditionalToolsItemParamTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsType.g.cs
new file mode 100644
index 00000000..ed051523
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsType 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::tryAGI.OpenAI.AdditionalToolsTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.AdditionalToolsTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullable.g.cs
new file mode 100644
index 00000000..c3f0b7fa
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdditionalToolsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdditionalToolsType? 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::tryAGI.OpenAI.AdditionalToolsTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdditionalToolsType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdditionalToolsType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdditionalToolsType? 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::tryAGI.OpenAI.AdditionalToolsTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs
index e72375ad..03b5bd4e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs
@@ -85,114 +85,119 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
if (__jsonProps.Contains("tools")) __score9++;
if (__jsonProps.Contains("type")) __score9++;
var __score10 = 0;
- if (__jsonProps.Contains("content")) __score10++;
- if (__jsonProps.Contains("encrypted_content")) __score10++;
if (__jsonProps.Contains("id")) __score10++;
- if (__jsonProps.Contains("status")) __score10++;
- if (__jsonProps.Contains("summary")) __score10++;
+ if (__jsonProps.Contains("role")) __score10++;
+ if (__jsonProps.Contains("tools")) __score10++;
if (__jsonProps.Contains("type")) __score10++;
var __score11 = 0;
- if (__jsonProps.Contains("created_by")) __score11++;
+ if (__jsonProps.Contains("content")) __score11++;
if (__jsonProps.Contains("encrypted_content")) __score11++;
if (__jsonProps.Contains("id")) __score11++;
+ if (__jsonProps.Contains("status")) __score11++;
+ if (__jsonProps.Contains("summary")) __score11++;
if (__jsonProps.Contains("type")) __score11++;
var __score12 = 0;
- if (__jsonProps.Contains("code")) __score12++;
- if (__jsonProps.Contains("container_id")) __score12++;
+ if (__jsonProps.Contains("created_by")) __score12++;
+ if (__jsonProps.Contains("encrypted_content")) __score12++;
if (__jsonProps.Contains("id")) __score12++;
- if (__jsonProps.Contains("outputs")) __score12++;
- if (__jsonProps.Contains("status")) __score12++;
if (__jsonProps.Contains("type")) __score12++;
var __score13 = 0;
- if (__jsonProps.Contains("action")) __score13++;
- if (__jsonProps.Contains("action.command")) __score13++;
- if (__jsonProps.Contains("action.env")) __score13++;
- if (__jsonProps.Contains("action.timeout_ms")) __score13++;
- if (__jsonProps.Contains("action.type")) __score13++;
- if (__jsonProps.Contains("action.user")) __score13++;
- if (__jsonProps.Contains("action.working_directory")) __score13++;
- if (__jsonProps.Contains("call_id")) __score13++;
+ if (__jsonProps.Contains("code")) __score13++;
+ if (__jsonProps.Contains("container_id")) __score13++;
if (__jsonProps.Contains("id")) __score13++;
+ if (__jsonProps.Contains("outputs")) __score13++;
if (__jsonProps.Contains("status")) __score13++;
if (__jsonProps.Contains("type")) __score13++;
var __score14 = 0;
+ if (__jsonProps.Contains("action")) __score14++;
+ if (__jsonProps.Contains("action.command")) __score14++;
+ if (__jsonProps.Contains("action.env")) __score14++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score14++;
+ if (__jsonProps.Contains("action.type")) __score14++;
+ if (__jsonProps.Contains("action.user")) __score14++;
+ if (__jsonProps.Contains("action.working_directory")) __score14++;
+ if (__jsonProps.Contains("call_id")) __score14++;
if (__jsonProps.Contains("id")) __score14++;
- if (__jsonProps.Contains("output")) __score14++;
if (__jsonProps.Contains("status")) __score14++;
if (__jsonProps.Contains("type")) __score14++;
var __score15 = 0;
- if (__jsonProps.Contains("action")) __score15++;
- if (__jsonProps.Contains("action.commands")) __score15++;
- if (__jsonProps.Contains("action.max_output_length")) __score15++;
- if (__jsonProps.Contains("action.timeout_ms")) __score15++;
- if (__jsonProps.Contains("call_id")) __score15++;
- if (__jsonProps.Contains("created_by")) __score15++;
- if (__jsonProps.Contains("environment")) __score15++;
if (__jsonProps.Contains("id")) __score15++;
+ if (__jsonProps.Contains("output")) __score15++;
if (__jsonProps.Contains("status")) __score15++;
if (__jsonProps.Contains("type")) __score15++;
var __score16 = 0;
+ if (__jsonProps.Contains("action")) __score16++;
+ if (__jsonProps.Contains("action.commands")) __score16++;
+ if (__jsonProps.Contains("action.max_output_length")) __score16++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score16++;
if (__jsonProps.Contains("call_id")) __score16++;
if (__jsonProps.Contains("created_by")) __score16++;
+ if (__jsonProps.Contains("environment")) __score16++;
if (__jsonProps.Contains("id")) __score16++;
- if (__jsonProps.Contains("max_output_length")) __score16++;
- if (__jsonProps.Contains("output")) __score16++;
if (__jsonProps.Contains("status")) __score16++;
if (__jsonProps.Contains("type")) __score16++;
var __score17 = 0;
if (__jsonProps.Contains("call_id")) __score17++;
if (__jsonProps.Contains("created_by")) __score17++;
if (__jsonProps.Contains("id")) __score17++;
- if (__jsonProps.Contains("operation")) __score17++;
+ if (__jsonProps.Contains("max_output_length")) __score17++;
+ if (__jsonProps.Contains("output")) __score17++;
if (__jsonProps.Contains("status")) __score17++;
if (__jsonProps.Contains("type")) __score17++;
var __score18 = 0;
if (__jsonProps.Contains("call_id")) __score18++;
if (__jsonProps.Contains("created_by")) __score18++;
if (__jsonProps.Contains("id")) __score18++;
- if (__jsonProps.Contains("output")) __score18++;
+ if (__jsonProps.Contains("operation")) __score18++;
if (__jsonProps.Contains("status")) __score18++;
if (__jsonProps.Contains("type")) __score18++;
var __score19 = 0;
- if (__jsonProps.Contains("error")) __score19++;
+ if (__jsonProps.Contains("call_id")) __score19++;
+ if (__jsonProps.Contains("created_by")) __score19++;
if (__jsonProps.Contains("id")) __score19++;
- if (__jsonProps.Contains("server_label")) __score19++;
- if (__jsonProps.Contains("tools")) __score19++;
+ if (__jsonProps.Contains("output")) __score19++;
+ if (__jsonProps.Contains("status")) __score19++;
if (__jsonProps.Contains("type")) __score19++;
var __score20 = 0;
- if (__jsonProps.Contains("arguments")) __score20++;
+ if (__jsonProps.Contains("error")) __score20++;
if (__jsonProps.Contains("id")) __score20++;
- if (__jsonProps.Contains("name")) __score20++;
if (__jsonProps.Contains("server_label")) __score20++;
+ if (__jsonProps.Contains("tools")) __score20++;
if (__jsonProps.Contains("type")) __score20++;
var __score21 = 0;
- if (__jsonProps.Contains("approval_request_id")) __score21++;
- if (__jsonProps.Contains("approve")) __score21++;
+ if (__jsonProps.Contains("arguments")) __score21++;
if (__jsonProps.Contains("id")) __score21++;
- if (__jsonProps.Contains("reason")) __score21++;
+ if (__jsonProps.Contains("name")) __score21++;
+ if (__jsonProps.Contains("server_label")) __score21++;
if (__jsonProps.Contains("type")) __score21++;
var __score22 = 0;
if (__jsonProps.Contains("approval_request_id")) __score22++;
- if (__jsonProps.Contains("arguments")) __score22++;
- if (__jsonProps.Contains("error")) __score22++;
+ if (__jsonProps.Contains("approve")) __score22++;
if (__jsonProps.Contains("id")) __score22++;
- if (__jsonProps.Contains("name")) __score22++;
- if (__jsonProps.Contains("output")) __score22++;
- if (__jsonProps.Contains("server_label")) __score22++;
- if (__jsonProps.Contains("status")) __score22++;
+ if (__jsonProps.Contains("reason")) __score22++;
if (__jsonProps.Contains("type")) __score22++;
var __score23 = 0;
- if (__jsonProps.Contains("call_id")) __score23++;
+ if (__jsonProps.Contains("approval_request_id")) __score23++;
+ if (__jsonProps.Contains("arguments")) __score23++;
+ if (__jsonProps.Contains("error")) __score23++;
if (__jsonProps.Contains("id")) __score23++;
- if (__jsonProps.Contains("input")) __score23++;
if (__jsonProps.Contains("name")) __score23++;
- if (__jsonProps.Contains("namespace")) __score23++;
+ if (__jsonProps.Contains("output")) __score23++;
+ if (__jsonProps.Contains("server_label")) __score23++;
+ if (__jsonProps.Contains("status")) __score23++;
if (__jsonProps.Contains("type")) __score23++;
var __score24 = 0;
if (__jsonProps.Contains("call_id")) __score24++;
if (__jsonProps.Contains("id")) __score24++;
- if (__jsonProps.Contains("output")) __score24++;
+ if (__jsonProps.Contains("input")) __score24++;
+ if (__jsonProps.Contains("name")) __score24++;
+ if (__jsonProps.Contains("namespace")) __score24++;
if (__jsonProps.Contains("type")) __score24++;
+ var __score25 = 0;
+ if (__jsonProps.Contains("call_id")) __score25++;
+ if (__jsonProps.Contains("id")) __score25++;
+ if (__jsonProps.Contains("output")) __score25++;
+ if (__jsonProps.Contains("type")) __score25++;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -220,6 +225,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
if (__score22 > __bestScore) { __bestScore = __score22; __bestIndex = 22; }
if (__score23 > __bestScore) { __bestScore = __score23; __bestIndex = 23; }
if (__score24 > __bestScore) { __bestScore = __score24; __bestIndex = 24; }
+ if (__score25 > __bestScore) { __bestScore = __score25; __bestIndex = 25; }
global::tryAGI.OpenAI.Message? message = default;
global::tryAGI.OpenAI.FunctionToolCallResource? functionToolCallResource = default;
@@ -231,6 +237,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
global::tryAGI.OpenAI.ComputerToolCallOutputResource? computerToolCallOutputResource = default;
global::tryAGI.OpenAI.ToolSearchCall? toolSearchCall = default;
global::tryAGI.OpenAI.ToolSearchOutput? toolSearchOutput = default;
+ global::tryAGI.OpenAI.AdditionalTools? additionalTools = default;
global::tryAGI.OpenAI.ReasoningItem? reasoning = default;
global::tryAGI.OpenAI.CompactionBody? compaction = default;
global::tryAGI.OpenAI.CodeInterpreterToolCall? codeInterpreterCall = default;
@@ -399,6 +406,21 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
else if (__bestIndex == 10)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 11)
{
try
{
@@ -413,7 +435,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 11)
+ else if (__bestIndex == 12)
{
try
{
@@ -428,7 +450,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 12)
+ else if (__bestIndex == 13)
{
try
{
@@ -443,7 +465,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 13)
+ else if (__bestIndex == 14)
{
try
{
@@ -458,7 +480,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 14)
+ else if (__bestIndex == 15)
{
try
{
@@ -473,7 +495,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 15)
+ else if (__bestIndex == 16)
{
try
{
@@ -488,7 +510,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 16)
+ else if (__bestIndex == 17)
{
try
{
@@ -503,7 +525,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 17)
+ else if (__bestIndex == 18)
{
try
{
@@ -518,7 +540,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 18)
+ else if (__bestIndex == 19)
{
try
{
@@ -533,7 +555,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 19)
+ else if (__bestIndex == 20)
{
try
{
@@ -548,7 +570,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 20)
+ else if (__bestIndex == 21)
{
try
{
@@ -563,7 +585,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 21)
+ else if (__bestIndex == 22)
{
try
{
@@ -578,7 +600,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 22)
+ else if (__bestIndex == 23)
{
try
{
@@ -593,7 +615,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 23)
+ else if (__bestIndex == 24)
{
try
{
@@ -608,7 +630,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
{
}
}
- else if (__bestIndex == 24)
+ else if (__bestIndex == 25)
{
try
{
@@ -625,7 +647,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -642,7 +664,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -659,7 +681,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -676,7 +698,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -693,7 +715,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -710,7 +732,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -727,7 +749,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -744,7 +766,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -761,7 +783,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -778,7 +800,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -795,7 +817,24 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -812,7 +851,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -829,7 +868,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -846,7 +885,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -863,7 +902,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -880,7 +919,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -897,7 +936,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -914,7 +953,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -931,7 +970,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -948,7 +987,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -965,7 +1004,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -982,7 +1021,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -999,7 +1038,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1016,7 +1055,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1033,7 +1072,7 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
}
}
- if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionToolCallResource == null && functionToolCallOutputResource == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1071,6 +1110,8 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat
toolSearchOutput,
+ additionalTools,
+
reasoning,
compaction,
@@ -1174,6 +1215,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.ToolSearchOutput).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolSearchOutput!, typeInfo);
}
+ else if (value.IsAdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdditionalTools!, typeInfo);
+ }
else if (value.IsReasoning)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.ReasoningItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs
index 2b62309b..2fa2519e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs
@@ -91,6 +91,13 @@ public class ItemJsonConverter : global::System.Text.Json.Serialization.JsonConv
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.ToolSearchOutputItemParam)}");
toolSearchOutput = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
+ global::tryAGI.OpenAI.AdditionalToolsItemParam? additionalTools = default;
+ if (discriminator?.Type == global::tryAGI.OpenAI.ItemDiscriminatorType.AdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.AdditionalToolsItemParam)}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
global::tryAGI.OpenAI.ReasoningItem? reasoning = default;
if (discriminator?.Type == global::tryAGI.OpenAI.ItemDiscriminatorType.Reasoning)
{
@@ -226,6 +233,8 @@ public class ItemJsonConverter : global::System.Text.Json.Serialization.JsonConv
toolSearchOutput,
+ additionalTools,
+
reasoning,
compaction,
@@ -331,6 +340,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.ToolSearchOutputItemParam).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolSearchOutput!, typeInfo);
}
+ else if (value.IsAdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalToolsItemParam).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdditionalTools!, typeInfo);
+ }
else if (value.IsReasoning)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.ReasoningItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs
index 85adb09a..58c8d255 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs
@@ -66,145 +66,150 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
if (__jsonProps.Contains("tools")) __score3++;
if (__jsonProps.Contains("type")) __score3++;
var __score4 = 0;
- if (__jsonProps.Contains("call_id")) __score4++;
if (__jsonProps.Contains("id")) __score4++;
- if (__jsonProps.Contains("output")) __score4++;
- if (__jsonProps.Contains("status")) __score4++;
+ if (__jsonProps.Contains("role")) __score4++;
+ if (__jsonProps.Contains("tools")) __score4++;
if (__jsonProps.Contains("type")) __score4++;
var __score5 = 0;
+ if (__jsonProps.Contains("call_id")) __score5++;
if (__jsonProps.Contains("id")) __score5++;
- if (__jsonProps.Contains("queries")) __score5++;
- if (__jsonProps.Contains("results")) __score5++;
+ if (__jsonProps.Contains("output")) __score5++;
if (__jsonProps.Contains("status")) __score5++;
if (__jsonProps.Contains("type")) __score5++;
var __score6 = 0;
- if (__jsonProps.Contains("action")) __score6++;
if (__jsonProps.Contains("id")) __score6++;
+ if (__jsonProps.Contains("queries")) __score6++;
+ if (__jsonProps.Contains("results")) __score6++;
if (__jsonProps.Contains("status")) __score6++;
if (__jsonProps.Contains("type")) __score6++;
var __score7 = 0;
+ if (__jsonProps.Contains("action")) __score7++;
if (__jsonProps.Contains("id")) __score7++;
- if (__jsonProps.Contains("result")) __score7++;
if (__jsonProps.Contains("status")) __score7++;
if (__jsonProps.Contains("type")) __score7++;
var __score8 = 0;
- if (__jsonProps.Contains("action")) __score8++;
- if (__jsonProps.Contains("actions")) __score8++;
- if (__jsonProps.Contains("call_id")) __score8++;
if (__jsonProps.Contains("id")) __score8++;
- if (__jsonProps.Contains("pending_safety_checks")) __score8++;
+ if (__jsonProps.Contains("result")) __score8++;
if (__jsonProps.Contains("status")) __score8++;
if (__jsonProps.Contains("type")) __score8++;
var __score9 = 0;
+ if (__jsonProps.Contains("action")) __score9++;
+ if (__jsonProps.Contains("actions")) __score9++;
+ if (__jsonProps.Contains("call_id")) __score9++;
+ if (__jsonProps.Contains("id")) __score9++;
+ if (__jsonProps.Contains("pending_safety_checks")) __score9++;
+ if (__jsonProps.Contains("status")) __score9++;
+ if (__jsonProps.Contains("type")) __score9++;
var __score10 = 0;
- if (__jsonProps.Contains("content")) __score10++;
- if (__jsonProps.Contains("encrypted_content")) __score10++;
- if (__jsonProps.Contains("id")) __score10++;
- if (__jsonProps.Contains("status")) __score10++;
- if (__jsonProps.Contains("summary")) __score10++;
- if (__jsonProps.Contains("type")) __score10++;
var __score11 = 0;
- if (__jsonProps.Contains("created_by")) __score11++;
+ if (__jsonProps.Contains("content")) __score11++;
if (__jsonProps.Contains("encrypted_content")) __score11++;
if (__jsonProps.Contains("id")) __score11++;
+ if (__jsonProps.Contains("status")) __score11++;
+ if (__jsonProps.Contains("summary")) __score11++;
if (__jsonProps.Contains("type")) __score11++;
var __score12 = 0;
- if (__jsonProps.Contains("code")) __score12++;
- if (__jsonProps.Contains("container_id")) __score12++;
+ if (__jsonProps.Contains("created_by")) __score12++;
+ if (__jsonProps.Contains("encrypted_content")) __score12++;
if (__jsonProps.Contains("id")) __score12++;
- if (__jsonProps.Contains("outputs")) __score12++;
- if (__jsonProps.Contains("status")) __score12++;
if (__jsonProps.Contains("type")) __score12++;
var __score13 = 0;
- if (__jsonProps.Contains("action")) __score13++;
- if (__jsonProps.Contains("action.command")) __score13++;
- if (__jsonProps.Contains("action.env")) __score13++;
- if (__jsonProps.Contains("action.timeout_ms")) __score13++;
- if (__jsonProps.Contains("action.type")) __score13++;
- if (__jsonProps.Contains("action.user")) __score13++;
- if (__jsonProps.Contains("action.working_directory")) __score13++;
- if (__jsonProps.Contains("call_id")) __score13++;
+ if (__jsonProps.Contains("code")) __score13++;
+ if (__jsonProps.Contains("container_id")) __score13++;
if (__jsonProps.Contains("id")) __score13++;
+ if (__jsonProps.Contains("outputs")) __score13++;
if (__jsonProps.Contains("status")) __score13++;
if (__jsonProps.Contains("type")) __score13++;
var __score14 = 0;
+ if (__jsonProps.Contains("action")) __score14++;
+ if (__jsonProps.Contains("action.command")) __score14++;
+ if (__jsonProps.Contains("action.env")) __score14++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score14++;
+ if (__jsonProps.Contains("action.type")) __score14++;
+ if (__jsonProps.Contains("action.user")) __score14++;
+ if (__jsonProps.Contains("action.working_directory")) __score14++;
+ if (__jsonProps.Contains("call_id")) __score14++;
if (__jsonProps.Contains("id")) __score14++;
- if (__jsonProps.Contains("output")) __score14++;
if (__jsonProps.Contains("status")) __score14++;
if (__jsonProps.Contains("type")) __score14++;
var __score15 = 0;
- if (__jsonProps.Contains("action")) __score15++;
- if (__jsonProps.Contains("action.commands")) __score15++;
- if (__jsonProps.Contains("action.max_output_length")) __score15++;
- if (__jsonProps.Contains("action.timeout_ms")) __score15++;
- if (__jsonProps.Contains("call_id")) __score15++;
- if (__jsonProps.Contains("created_by")) __score15++;
- if (__jsonProps.Contains("environment")) __score15++;
if (__jsonProps.Contains("id")) __score15++;
+ if (__jsonProps.Contains("output")) __score15++;
if (__jsonProps.Contains("status")) __score15++;
if (__jsonProps.Contains("type")) __score15++;
var __score16 = 0;
+ if (__jsonProps.Contains("action")) __score16++;
+ if (__jsonProps.Contains("action.commands")) __score16++;
+ if (__jsonProps.Contains("action.max_output_length")) __score16++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score16++;
if (__jsonProps.Contains("call_id")) __score16++;
if (__jsonProps.Contains("created_by")) __score16++;
+ if (__jsonProps.Contains("environment")) __score16++;
if (__jsonProps.Contains("id")) __score16++;
- if (__jsonProps.Contains("max_output_length")) __score16++;
- if (__jsonProps.Contains("output")) __score16++;
if (__jsonProps.Contains("status")) __score16++;
if (__jsonProps.Contains("type")) __score16++;
var __score17 = 0;
if (__jsonProps.Contains("call_id")) __score17++;
if (__jsonProps.Contains("created_by")) __score17++;
if (__jsonProps.Contains("id")) __score17++;
- if (__jsonProps.Contains("operation")) __score17++;
+ if (__jsonProps.Contains("max_output_length")) __score17++;
+ if (__jsonProps.Contains("output")) __score17++;
if (__jsonProps.Contains("status")) __score17++;
if (__jsonProps.Contains("type")) __score17++;
var __score18 = 0;
if (__jsonProps.Contains("call_id")) __score18++;
if (__jsonProps.Contains("created_by")) __score18++;
if (__jsonProps.Contains("id")) __score18++;
- if (__jsonProps.Contains("output")) __score18++;
+ if (__jsonProps.Contains("operation")) __score18++;
if (__jsonProps.Contains("status")) __score18++;
if (__jsonProps.Contains("type")) __score18++;
var __score19 = 0;
- if (__jsonProps.Contains("error")) __score19++;
+ if (__jsonProps.Contains("call_id")) __score19++;
+ if (__jsonProps.Contains("created_by")) __score19++;
if (__jsonProps.Contains("id")) __score19++;
- if (__jsonProps.Contains("server_label")) __score19++;
- if (__jsonProps.Contains("tools")) __score19++;
+ if (__jsonProps.Contains("output")) __score19++;
+ if (__jsonProps.Contains("status")) __score19++;
if (__jsonProps.Contains("type")) __score19++;
var __score20 = 0;
- if (__jsonProps.Contains("arguments")) __score20++;
+ if (__jsonProps.Contains("error")) __score20++;
if (__jsonProps.Contains("id")) __score20++;
- if (__jsonProps.Contains("name")) __score20++;
if (__jsonProps.Contains("server_label")) __score20++;
+ if (__jsonProps.Contains("tools")) __score20++;
if (__jsonProps.Contains("type")) __score20++;
var __score21 = 0;
- if (__jsonProps.Contains("approval_request_id")) __score21++;
- if (__jsonProps.Contains("approve")) __score21++;
+ if (__jsonProps.Contains("arguments")) __score21++;
if (__jsonProps.Contains("id")) __score21++;
- if (__jsonProps.Contains("reason")) __score21++;
+ if (__jsonProps.Contains("name")) __score21++;
+ if (__jsonProps.Contains("server_label")) __score21++;
if (__jsonProps.Contains("type")) __score21++;
var __score22 = 0;
if (__jsonProps.Contains("approval_request_id")) __score22++;
- if (__jsonProps.Contains("arguments")) __score22++;
- if (__jsonProps.Contains("error")) __score22++;
+ if (__jsonProps.Contains("approve")) __score22++;
if (__jsonProps.Contains("id")) __score22++;
- if (__jsonProps.Contains("name")) __score22++;
- if (__jsonProps.Contains("output")) __score22++;
- if (__jsonProps.Contains("server_label")) __score22++;
- if (__jsonProps.Contains("status")) __score22++;
+ if (__jsonProps.Contains("reason")) __score22++;
if (__jsonProps.Contains("type")) __score22++;
var __score23 = 0;
- if (__jsonProps.Contains("call_id")) __score23++;
+ if (__jsonProps.Contains("approval_request_id")) __score23++;
+ if (__jsonProps.Contains("arguments")) __score23++;
+ if (__jsonProps.Contains("error")) __score23++;
if (__jsonProps.Contains("id")) __score23++;
- if (__jsonProps.Contains("input")) __score23++;
if (__jsonProps.Contains("name")) __score23++;
- if (__jsonProps.Contains("namespace")) __score23++;
+ if (__jsonProps.Contains("output")) __score23++;
+ if (__jsonProps.Contains("server_label")) __score23++;
+ if (__jsonProps.Contains("status")) __score23++;
if (__jsonProps.Contains("type")) __score23++;
var __score24 = 0;
if (__jsonProps.Contains("call_id")) __score24++;
if (__jsonProps.Contains("id")) __score24++;
- if (__jsonProps.Contains("output")) __score24++;
+ if (__jsonProps.Contains("input")) __score24++;
+ if (__jsonProps.Contains("name")) __score24++;
+ if (__jsonProps.Contains("namespace")) __score24++;
if (__jsonProps.Contains("type")) __score24++;
+ var __score25 = 0;
+ if (__jsonProps.Contains("call_id")) __score25++;
+ if (__jsonProps.Contains("id")) __score25++;
+ if (__jsonProps.Contains("output")) __score25++;
+ if (__jsonProps.Contains("type")) __score25++;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -232,11 +237,13 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
if (__score22 > __bestScore) { __bestScore = __score22; __bestIndex = 22; }
if (__score23 > __bestScore) { __bestScore = __score23; __bestIndex = 23; }
if (__score24 > __bestScore) { __bestScore = __score24; __bestIndex = 24; }
+ if (__score25 > __bestScore) { __bestScore = __score25; __bestIndex = 25; }
global::tryAGI.OpenAI.Message? message = default;
global::tryAGI.OpenAI.FunctionToolCall? functionCall = default;
global::tryAGI.OpenAI.ToolSearchCall? toolSearchCall = default;
global::tryAGI.OpenAI.ToolSearchOutput? toolSearchOutput = default;
+ global::tryAGI.OpenAI.AdditionalTools? additionalTools = default;
global::tryAGI.OpenAI.FunctionToolCallOutput? functionCallOutput = default;
global::tryAGI.OpenAI.FileSearchToolCall? fileSearchCall = default;
global::tryAGI.OpenAI.WebSearchToolCall? webSearchCall = default;
@@ -321,6 +328,21 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
else if (__bestIndex == 4)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 5)
{
try
{
@@ -335,7 +357,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 5)
+ else if (__bestIndex == 6)
{
try
{
@@ -350,7 +372,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 6)
+ else if (__bestIndex == 7)
{
try
{
@@ -365,7 +387,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 7)
+ else if (__bestIndex == 8)
{
try
{
@@ -380,7 +402,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 8)
+ else if (__bestIndex == 9)
{
try
{
@@ -395,7 +417,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 9)
+ else if (__bestIndex == 10)
{
try
{
@@ -410,7 +432,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 10)
+ else if (__bestIndex == 11)
{
try
{
@@ -425,7 +447,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 11)
+ else if (__bestIndex == 12)
{
try
{
@@ -440,7 +462,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 12)
+ else if (__bestIndex == 13)
{
try
{
@@ -455,7 +477,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 13)
+ else if (__bestIndex == 14)
{
try
{
@@ -470,7 +492,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 14)
+ else if (__bestIndex == 15)
{
try
{
@@ -485,7 +507,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 15)
+ else if (__bestIndex == 16)
{
try
{
@@ -500,7 +522,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 16)
+ else if (__bestIndex == 17)
{
try
{
@@ -515,7 +537,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 17)
+ else if (__bestIndex == 18)
{
try
{
@@ -530,7 +552,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 18)
+ else if (__bestIndex == 19)
{
try
{
@@ -545,7 +567,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 19)
+ else if (__bestIndex == 20)
{
try
{
@@ -560,7 +582,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 20)
+ else if (__bestIndex == 21)
{
try
{
@@ -575,7 +597,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 21)
+ else if (__bestIndex == 22)
{
try
{
@@ -590,7 +612,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 22)
+ else if (__bestIndex == 23)
{
try
{
@@ -605,7 +627,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 23)
+ else if (__bestIndex == 24)
{
try
{
@@ -620,7 +642,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
{
}
}
- else if (__bestIndex == 24)
+ else if (__bestIndex == 25)
{
try
{
@@ -637,7 +659,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -654,7 +676,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -671,7 +693,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -688,7 +710,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -705,7 +727,24 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -722,7 +761,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -739,7 +778,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -756,7 +795,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -773,7 +812,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -790,7 +829,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -807,7 +846,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -824,7 +863,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -841,7 +880,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -858,7 +897,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -875,7 +914,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -892,7 +931,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -909,7 +948,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -926,7 +965,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -943,7 +982,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -960,7 +999,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -977,7 +1016,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -994,7 +1033,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1011,7 +1050,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1028,7 +1067,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1045,7 +1084,7 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
}
}
- if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
+ if (message == null && functionCall == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && functionCallOutput == null && fileSearchCall == null && webSearchCall == null && imageGenerationCall == null && computerCall == null && computerToolCallOutputResource == null && reasoning == null && compaction == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && customToolCall == null && customToolCallOutput == null)
{
try
{
@@ -1071,6 +1110,8 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
toolSearchOutput,
+ additionalTools,
+
functionCallOutput,
fileSearchCall,
@@ -1150,6 +1191,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.ToolSearchOutput).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolSearchOutput!, typeInfo);
}
+ else if (value.IsAdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdditionalTools!, typeInfo);
+ }
else if (value.IsFunctionCallOutput)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.FunctionToolCallOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs
index 333d4c2e..30c48830 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs
@@ -81,109 +81,114 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
if (__jsonProps.Contains("tools")) __score9++;
if (__jsonProps.Contains("type")) __score9++;
var __score10 = 0;
- if (__jsonProps.Contains("content")) __score10++;
- if (__jsonProps.Contains("encrypted_content")) __score10++;
if (__jsonProps.Contains("id")) __score10++;
- if (__jsonProps.Contains("status")) __score10++;
- if (__jsonProps.Contains("summary")) __score10++;
+ if (__jsonProps.Contains("role")) __score10++;
+ if (__jsonProps.Contains("tools")) __score10++;
if (__jsonProps.Contains("type")) __score10++;
var __score11 = 0;
- if (__jsonProps.Contains("created_by")) __score11++;
+ if (__jsonProps.Contains("content")) __score11++;
if (__jsonProps.Contains("encrypted_content")) __score11++;
if (__jsonProps.Contains("id")) __score11++;
+ if (__jsonProps.Contains("status")) __score11++;
+ if (__jsonProps.Contains("summary")) __score11++;
if (__jsonProps.Contains("type")) __score11++;
var __score12 = 0;
+ if (__jsonProps.Contains("created_by")) __score12++;
+ if (__jsonProps.Contains("encrypted_content")) __score12++;
if (__jsonProps.Contains("id")) __score12++;
- if (__jsonProps.Contains("result")) __score12++;
- if (__jsonProps.Contains("status")) __score12++;
if (__jsonProps.Contains("type")) __score12++;
var __score13 = 0;
- if (__jsonProps.Contains("code")) __score13++;
- if (__jsonProps.Contains("container_id")) __score13++;
if (__jsonProps.Contains("id")) __score13++;
- if (__jsonProps.Contains("outputs")) __score13++;
+ if (__jsonProps.Contains("result")) __score13++;
if (__jsonProps.Contains("status")) __score13++;
if (__jsonProps.Contains("type")) __score13++;
var __score14 = 0;
- if (__jsonProps.Contains("action")) __score14++;
- if (__jsonProps.Contains("action.command")) __score14++;
- if (__jsonProps.Contains("action.env")) __score14++;
- if (__jsonProps.Contains("action.timeout_ms")) __score14++;
- if (__jsonProps.Contains("action.type")) __score14++;
- if (__jsonProps.Contains("action.user")) __score14++;
- if (__jsonProps.Contains("action.working_directory")) __score14++;
- if (__jsonProps.Contains("call_id")) __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("type")) __score14++;
var __score15 = 0;
+ if (__jsonProps.Contains("action")) __score15++;
+ if (__jsonProps.Contains("action.command")) __score15++;
+ if (__jsonProps.Contains("action.env")) __score15++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score15++;
+ if (__jsonProps.Contains("action.type")) __score15++;
+ if (__jsonProps.Contains("action.user")) __score15++;
+ if (__jsonProps.Contains("action.working_directory")) __score15++;
+ if (__jsonProps.Contains("call_id")) __score15++;
if (__jsonProps.Contains("id")) __score15++;
- if (__jsonProps.Contains("output")) __score15++;
if (__jsonProps.Contains("status")) __score15++;
if (__jsonProps.Contains("type")) __score15++;
var __score16 = 0;
- if (__jsonProps.Contains("action")) __score16++;
- if (__jsonProps.Contains("action.commands")) __score16++;
- if (__jsonProps.Contains("action.max_output_length")) __score16++;
- if (__jsonProps.Contains("action.timeout_ms")) __score16++;
- if (__jsonProps.Contains("call_id")) __score16++;
- if (__jsonProps.Contains("created_by")) __score16++;
- if (__jsonProps.Contains("environment")) __score16++;
if (__jsonProps.Contains("id")) __score16++;
+ if (__jsonProps.Contains("output")) __score16++;
if (__jsonProps.Contains("status")) __score16++;
if (__jsonProps.Contains("type")) __score16++;
var __score17 = 0;
+ if (__jsonProps.Contains("action")) __score17++;
+ if (__jsonProps.Contains("action.commands")) __score17++;
+ if (__jsonProps.Contains("action.max_output_length")) __score17++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score17++;
if (__jsonProps.Contains("call_id")) __score17++;
if (__jsonProps.Contains("created_by")) __score17++;
+ if (__jsonProps.Contains("environment")) __score17++;
if (__jsonProps.Contains("id")) __score17++;
- if (__jsonProps.Contains("max_output_length")) __score17++;
- if (__jsonProps.Contains("output")) __score17++;
if (__jsonProps.Contains("status")) __score17++;
if (__jsonProps.Contains("type")) __score17++;
var __score18 = 0;
if (__jsonProps.Contains("call_id")) __score18++;
if (__jsonProps.Contains("created_by")) __score18++;
if (__jsonProps.Contains("id")) __score18++;
- if (__jsonProps.Contains("operation")) __score18++;
+ if (__jsonProps.Contains("max_output_length")) __score18++;
+ if (__jsonProps.Contains("output")) __score18++;
if (__jsonProps.Contains("status")) __score18++;
if (__jsonProps.Contains("type")) __score18++;
var __score19 = 0;
if (__jsonProps.Contains("call_id")) __score19++;
if (__jsonProps.Contains("created_by")) __score19++;
if (__jsonProps.Contains("id")) __score19++;
- if (__jsonProps.Contains("output")) __score19++;
+ if (__jsonProps.Contains("operation")) __score19++;
if (__jsonProps.Contains("status")) __score19++;
if (__jsonProps.Contains("type")) __score19++;
var __score20 = 0;
- if (__jsonProps.Contains("error")) __score20++;
+ if (__jsonProps.Contains("call_id")) __score20++;
+ if (__jsonProps.Contains("created_by")) __score20++;
if (__jsonProps.Contains("id")) __score20++;
- if (__jsonProps.Contains("server_label")) __score20++;
- if (__jsonProps.Contains("tools")) __score20++;
+ if (__jsonProps.Contains("output")) __score20++;
+ if (__jsonProps.Contains("status")) __score20++;
if (__jsonProps.Contains("type")) __score20++;
var __score21 = 0;
- if (__jsonProps.Contains("arguments")) __score21++;
+ if (__jsonProps.Contains("error")) __score21++;
if (__jsonProps.Contains("id")) __score21++;
- if (__jsonProps.Contains("name")) __score21++;
if (__jsonProps.Contains("server_label")) __score21++;
+ if (__jsonProps.Contains("tools")) __score21++;
if (__jsonProps.Contains("type")) __score21++;
var __score22 = 0;
- if (__jsonProps.Contains("approval_request_id")) __score22++;
- if (__jsonProps.Contains("approve")) __score22++;
+ if (__jsonProps.Contains("arguments")) __score22++;
if (__jsonProps.Contains("id")) __score22++;
- if (__jsonProps.Contains("reason")) __score22++;
+ if (__jsonProps.Contains("name")) __score22++;
+ if (__jsonProps.Contains("server_label")) __score22++;
if (__jsonProps.Contains("type")) __score22++;
var __score23 = 0;
if (__jsonProps.Contains("approval_request_id")) __score23++;
- if (__jsonProps.Contains("arguments")) __score23++;
- if (__jsonProps.Contains("error")) __score23++;
+ if (__jsonProps.Contains("approve")) __score23++;
if (__jsonProps.Contains("id")) __score23++;
- if (__jsonProps.Contains("name")) __score23++;
- if (__jsonProps.Contains("output")) __score23++;
- if (__jsonProps.Contains("server_label")) __score23++;
- if (__jsonProps.Contains("status")) __score23++;
+ if (__jsonProps.Contains("reason")) __score23++;
if (__jsonProps.Contains("type")) __score23++;
var __score24 = 0;
+ if (__jsonProps.Contains("approval_request_id")) __score24++;
+ if (__jsonProps.Contains("arguments")) __score24++;
+ if (__jsonProps.Contains("error")) __score24++;
+ if (__jsonProps.Contains("id")) __score24++;
+ if (__jsonProps.Contains("name")) __score24++;
+ if (__jsonProps.Contains("output")) __score24++;
+ if (__jsonProps.Contains("server_label")) __score24++;
+ if (__jsonProps.Contains("status")) __score24++;
+ if (__jsonProps.Contains("type")) __score24++;
var __score25 = 0;
+ var __score26 = 0;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -212,6 +217,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
if (__score23 > __bestScore) { __bestScore = __score23; __bestIndex = 23; }
if (__score24 > __bestScore) { __bestScore = __score24; __bestIndex = 24; }
if (__score25 > __bestScore) { __bestScore = __score25; __bestIndex = 25; }
+ if (__score26 > __bestScore) { __bestScore = __score26; __bestIndex = 26; }
global::tryAGI.OpenAI.InputMessageResource? inputMessage = default;
global::tryAGI.OpenAI.OutputMessage? message = default;
@@ -223,6 +229,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
global::tryAGI.OpenAI.FunctionToolCallOutputResource? functionToolCallOutput = default;
global::tryAGI.OpenAI.ToolSearchCall? toolSearchCall = default;
global::tryAGI.OpenAI.ToolSearchOutput? toolSearchOutput = default;
+ global::tryAGI.OpenAI.AdditionalTools? additionalTools = default;
global::tryAGI.OpenAI.ReasoningItem? reasoning = default;
global::tryAGI.OpenAI.CompactionBody? compaction = default;
global::tryAGI.OpenAI.ImageGenToolCall? imageGenerationCall = default;
@@ -392,6 +399,21 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
else if (__bestIndex == 10)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 11)
{
try
{
@@ -406,7 +428,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 11)
+ else if (__bestIndex == 12)
{
try
{
@@ -421,7 +443,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 12)
+ else if (__bestIndex == 13)
{
try
{
@@ -436,7 +458,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 13)
+ else if (__bestIndex == 14)
{
try
{
@@ -451,7 +473,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 14)
+ else if (__bestIndex == 15)
{
try
{
@@ -466,7 +488,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 15)
+ else if (__bestIndex == 16)
{
try
{
@@ -481,7 +503,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 16)
+ else if (__bestIndex == 17)
{
try
{
@@ -496,7 +518,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 17)
+ else if (__bestIndex == 18)
{
try
{
@@ -511,7 +533,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 18)
+ else if (__bestIndex == 19)
{
try
{
@@ -526,7 +548,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 19)
+ else if (__bestIndex == 20)
{
try
{
@@ -541,7 +563,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 20)
+ else if (__bestIndex == 21)
{
try
{
@@ -556,7 +578,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 21)
+ else if (__bestIndex == 22)
{
try
{
@@ -571,7 +593,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 22)
+ else if (__bestIndex == 23)
{
try
{
@@ -586,7 +608,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 23)
+ else if (__bestIndex == 24)
{
try
{
@@ -601,7 +623,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 24)
+ else if (__bestIndex == 25)
{
try
{
@@ -616,7 +638,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
{
}
}
- else if (__bestIndex == 25)
+ else if (__bestIndex == 26)
{
try
{
@@ -633,7 +655,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -650,7 +672,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -667,7 +689,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -684,7 +706,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -701,7 +723,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -718,7 +740,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -735,7 +757,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -752,7 +774,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -769,7 +791,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -786,7 +808,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -803,7 +825,24 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -820,7 +859,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -837,7 +876,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -854,7 +893,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -871,7 +910,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -888,7 +927,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -905,7 +944,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -922,7 +961,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -939,7 +978,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -956,7 +995,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -973,7 +1012,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -990,7 +1029,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1007,7 +1046,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1024,7 +1063,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1041,7 +1080,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1058,7 +1097,7 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
}
}
- if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
+ if (inputMessage == null && message == null && fileSearchCall == null && computerCall == null && computerToolCallOutput == null && webSearchCall == null && functionToolCall == null && functionToolCallOutput == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && reasoning == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && mcpCall == null && responseCustomToolCallItem == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1096,6 +1135,8 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization.
toolSearchOutput,
+ additionalTools,
+
reasoning,
compaction,
@@ -1201,6 +1242,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.ToolSearchOutput).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolSearchOutput!, typeInfo);
}
+ else if (value.IsAdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdditionalTools!, typeInfo);
+ }
else if (value.IsReasoning)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.ReasoningItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs
index c8640de8..a75f83ff 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs
@@ -94,108 +94,113 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
if (__jsonProps.Contains("tools")) __score9++;
if (__jsonProps.Contains("type")) __score9++;
var __score10 = 0;
- if (__jsonProps.Contains("created_by")) __score10++;
- if (__jsonProps.Contains("encrypted_content")) __score10++;
if (__jsonProps.Contains("id")) __score10++;
+ if (__jsonProps.Contains("role")) __score10++;
+ if (__jsonProps.Contains("tools")) __score10++;
if (__jsonProps.Contains("type")) __score10++;
var __score11 = 0;
+ if (__jsonProps.Contains("created_by")) __score11++;
+ if (__jsonProps.Contains("encrypted_content")) __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("result")) __score12++;
if (__jsonProps.Contains("status")) __score12++;
if (__jsonProps.Contains("type")) __score12++;
var __score13 = 0;
- if (__jsonProps.Contains("action")) __score13++;
- if (__jsonProps.Contains("action.command")) __score13++;
- if (__jsonProps.Contains("action.env")) __score13++;
- if (__jsonProps.Contains("action.timeout_ms")) __score13++;
- if (__jsonProps.Contains("action.type")) __score13++;
- if (__jsonProps.Contains("action.user")) __score13++;
- if (__jsonProps.Contains("action.working_directory")) __score13++;
- if (__jsonProps.Contains("call_id")) __score13++;
+ if (__jsonProps.Contains("code")) __score13++;
+ if (__jsonProps.Contains("container_id")) __score13++;
if (__jsonProps.Contains("id")) __score13++;
+ if (__jsonProps.Contains("outputs")) __score13++;
if (__jsonProps.Contains("status")) __score13++;
if (__jsonProps.Contains("type")) __score13++;
var __score14 = 0;
+ if (__jsonProps.Contains("action")) __score14++;
+ if (__jsonProps.Contains("action.command")) __score14++;
+ if (__jsonProps.Contains("action.env")) __score14++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score14++;
+ if (__jsonProps.Contains("action.type")) __score14++;
+ if (__jsonProps.Contains("action.user")) __score14++;
+ if (__jsonProps.Contains("action.working_directory")) __score14++;
+ if (__jsonProps.Contains("call_id")) __score14++;
if (__jsonProps.Contains("id")) __score14++;
- if (__jsonProps.Contains("output")) __score14++;
if (__jsonProps.Contains("status")) __score14++;
if (__jsonProps.Contains("type")) __score14++;
var __score15 = 0;
- if (__jsonProps.Contains("action")) __score15++;
- if (__jsonProps.Contains("action.commands")) __score15++;
- if (__jsonProps.Contains("action.max_output_length")) __score15++;
- if (__jsonProps.Contains("action.timeout_ms")) __score15++;
- if (__jsonProps.Contains("call_id")) __score15++;
- if (__jsonProps.Contains("created_by")) __score15++;
- if (__jsonProps.Contains("environment")) __score15++;
if (__jsonProps.Contains("id")) __score15++;
+ if (__jsonProps.Contains("output")) __score15++;
if (__jsonProps.Contains("status")) __score15++;
if (__jsonProps.Contains("type")) __score15++;
var __score16 = 0;
+ if (__jsonProps.Contains("action")) __score16++;
+ if (__jsonProps.Contains("action.commands")) __score16++;
+ if (__jsonProps.Contains("action.max_output_length")) __score16++;
+ if (__jsonProps.Contains("action.timeout_ms")) __score16++;
if (__jsonProps.Contains("call_id")) __score16++;
if (__jsonProps.Contains("created_by")) __score16++;
+ if (__jsonProps.Contains("environment")) __score16++;
if (__jsonProps.Contains("id")) __score16++;
- if (__jsonProps.Contains("max_output_length")) __score16++;
- if (__jsonProps.Contains("output")) __score16++;
if (__jsonProps.Contains("status")) __score16++;
if (__jsonProps.Contains("type")) __score16++;
var __score17 = 0;
if (__jsonProps.Contains("call_id")) __score17++;
if (__jsonProps.Contains("created_by")) __score17++;
if (__jsonProps.Contains("id")) __score17++;
- if (__jsonProps.Contains("operation")) __score17++;
+ if (__jsonProps.Contains("max_output_length")) __score17++;
+ if (__jsonProps.Contains("output")) __score17++;
if (__jsonProps.Contains("status")) __score17++;
if (__jsonProps.Contains("type")) __score17++;
var __score18 = 0;
if (__jsonProps.Contains("call_id")) __score18++;
if (__jsonProps.Contains("created_by")) __score18++;
if (__jsonProps.Contains("id")) __score18++;
- if (__jsonProps.Contains("output")) __score18++;
+ if (__jsonProps.Contains("operation")) __score18++;
if (__jsonProps.Contains("status")) __score18++;
if (__jsonProps.Contains("type")) __score18++;
var __score19 = 0;
- if (__jsonProps.Contains("approval_request_id")) __score19++;
- if (__jsonProps.Contains("arguments")) __score19++;
- if (__jsonProps.Contains("error")) __score19++;
+ if (__jsonProps.Contains("call_id")) __score19++;
+ if (__jsonProps.Contains("created_by")) __score19++;
if (__jsonProps.Contains("id")) __score19++;
- if (__jsonProps.Contains("name")) __score19++;
if (__jsonProps.Contains("output")) __score19++;
- if (__jsonProps.Contains("server_label")) __score19++;
if (__jsonProps.Contains("status")) __score19++;
if (__jsonProps.Contains("type")) __score19++;
var __score20 = 0;
+ if (__jsonProps.Contains("approval_request_id")) __score20++;
+ if (__jsonProps.Contains("arguments")) __score20++;
if (__jsonProps.Contains("error")) __score20++;
if (__jsonProps.Contains("id")) __score20++;
+ if (__jsonProps.Contains("name")) __score20++;
+ if (__jsonProps.Contains("output")) __score20++;
if (__jsonProps.Contains("server_label")) __score20++;
- if (__jsonProps.Contains("tools")) __score20++;
+ if (__jsonProps.Contains("status")) __score20++;
if (__jsonProps.Contains("type")) __score20++;
var __score21 = 0;
- if (__jsonProps.Contains("arguments")) __score21++;
+ if (__jsonProps.Contains("error")) __score21++;
if (__jsonProps.Contains("id")) __score21++;
- if (__jsonProps.Contains("name")) __score21++;
if (__jsonProps.Contains("server_label")) __score21++;
+ if (__jsonProps.Contains("tools")) __score21++;
if (__jsonProps.Contains("type")) __score21++;
var __score22 = 0;
- if (__jsonProps.Contains("approval_request_id")) __score22++;
- if (__jsonProps.Contains("approve")) __score22++;
+ if (__jsonProps.Contains("arguments")) __score22++;
if (__jsonProps.Contains("id")) __score22++;
- if (__jsonProps.Contains("reason")) __score22++;
+ if (__jsonProps.Contains("name")) __score22++;
+ if (__jsonProps.Contains("server_label")) __score22++;
if (__jsonProps.Contains("type")) __score22++;
var __score23 = 0;
- if (__jsonProps.Contains("call_id")) __score23++;
+ if (__jsonProps.Contains("approval_request_id")) __score23++;
+ if (__jsonProps.Contains("approve")) __score23++;
if (__jsonProps.Contains("id")) __score23++;
- if (__jsonProps.Contains("input")) __score23++;
- if (__jsonProps.Contains("name")) __score23++;
- if (__jsonProps.Contains("namespace")) __score23++;
+ if (__jsonProps.Contains("reason")) __score23++;
if (__jsonProps.Contains("type")) __score23++;
var __score24 = 0;
+ if (__jsonProps.Contains("call_id")) __score24++;
+ if (__jsonProps.Contains("id")) __score24++;
+ if (__jsonProps.Contains("input")) __score24++;
+ if (__jsonProps.Contains("name")) __score24++;
+ if (__jsonProps.Contains("namespace")) __score24++;
+ if (__jsonProps.Contains("type")) __score24++;
+ var __score25 = 0;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -223,6 +228,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
if (__score22 > __bestScore) { __bestScore = __score22; __bestIndex = 22; }
if (__score23 > __bestScore) { __bestScore = __score23; __bestIndex = 23; }
if (__score24 > __bestScore) { __bestScore = __score24; __bestIndex = 24; }
+ if (__score25 > __bestScore) { __bestScore = __score25; __bestIndex = 25; }
global::tryAGI.OpenAI.OutputMessage? message = default;
global::tryAGI.OpenAI.FileSearchToolCall? fileSearchCall = default;
@@ -234,6 +240,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
global::tryAGI.OpenAI.ReasoningItem? reasoning = default;
global::tryAGI.OpenAI.ToolSearchCall? toolSearchCall = default;
global::tryAGI.OpenAI.ToolSearchOutput? toolSearchOutput = default;
+ global::tryAGI.OpenAI.AdditionalTools? additionalTools = default;
global::tryAGI.OpenAI.CompactionBody? compaction = default;
global::tryAGI.OpenAI.ImageGenToolCall? imageGenerationCall = default;
global::tryAGI.OpenAI.CodeInterpreterToolCall? codeInterpreterCall = default;
@@ -402,6 +409,21 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
else if (__bestIndex == 10)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 11)
{
try
{
@@ -416,7 +438,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 11)
+ else if (__bestIndex == 12)
{
try
{
@@ -431,7 +453,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 12)
+ else if (__bestIndex == 13)
{
try
{
@@ -446,7 +468,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 13)
+ else if (__bestIndex == 14)
{
try
{
@@ -461,7 +483,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 14)
+ else if (__bestIndex == 15)
{
try
{
@@ -476,7 +498,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 15)
+ else if (__bestIndex == 16)
{
try
{
@@ -491,7 +513,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 16)
+ else if (__bestIndex == 17)
{
try
{
@@ -506,7 +528,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 17)
+ else if (__bestIndex == 18)
{
try
{
@@ -521,7 +543,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 18)
+ else if (__bestIndex == 19)
{
try
{
@@ -536,7 +558,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 19)
+ else if (__bestIndex == 20)
{
try
{
@@ -551,7 +573,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 20)
+ else if (__bestIndex == 21)
{
try
{
@@ -566,7 +588,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 21)
+ else if (__bestIndex == 22)
{
try
{
@@ -581,7 +603,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 22)
+ else if (__bestIndex == 23)
{
try
{
@@ -596,7 +618,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 23)
+ else if (__bestIndex == 24)
{
try
{
@@ -611,7 +633,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
{
}
}
- else if (__bestIndex == 24)
+ else if (__bestIndex == 25)
{
try
{
@@ -628,7 +650,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -645,7 +667,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -662,7 +684,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -679,7 +701,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -696,7 +718,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -713,7 +735,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -730,7 +752,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -747,7 +769,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -764,7 +786,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -781,7 +803,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -798,7 +820,24 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ additionalTools = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -815,7 +854,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -832,7 +871,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -849,7 +888,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -866,7 +905,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -883,7 +922,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -900,7 +939,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -917,7 +956,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -934,7 +973,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -951,7 +990,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -968,7 +1007,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -985,7 +1024,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1002,7 +1041,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1019,7 +1058,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1036,7 +1075,7 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
}
}
- if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
+ if (message == null && fileSearchCall == null && functionCall == null && functionToolCallResource == null && webSearchCall == null && computerCall == null && computerToolCallResource == null && reasoning == null && toolSearchCall == null && toolSearchOutput == null && additionalTools == null && compaction == null && imageGenerationCall == null && codeInterpreterCall == null && localShellCall == null && localShellCallOutput == null && shellCall == null && shellCallOutput == null && applyPatchCall == null && applyPatchCallOutput == null && mcpCall == null && mcpListTools == null && mcpApprovalRequest == null && mcpApprovalResponse == null && customToolCall == null && responseCustomToolCallOutputItem == null)
{
try
{
@@ -1074,6 +1113,8 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js
toolSearchOutput,
+ additionalTools,
+
compaction,
imageGenerationCall,
@@ -1177,6 +1218,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.ToolSearchOutput).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolSearchOutput!, typeInfo);
}
+ else if (value.IsAdditionalTools)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdditionalTools), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdditionalTools).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdditionalTools!, typeInfo);
+ }
else if (value.IsCompaction)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CompactionBody), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnum.g.cs
new file mode 100644
index 00000000..e9ff158d
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnum.g.cs
@@ -0,0 +1,162 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public class PersonalityEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.PersonalityEnum Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+ }
+ }
+
+ var __score0 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score0++;
+ }
+ }
+ }
+ var __score1 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.PersonalityEnumEnum), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score1++;
+ }
+ }
+ }
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ string? personalityEnumVariant1 = default;
+ global::tryAGI.OpenAI.PersonalityEnumEnum? personalityEnumEnum = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ personalityEnumVariant1 = 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::tryAGI.OpenAI.PersonalityEnumEnum), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.PersonalityEnumEnum).Name}");
+ personalityEnumEnum = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (personalityEnumVariant1 == null && personalityEnumEnum == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ personalityEnumVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (personalityEnumVariant1 == null && personalityEnumEnum == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.PersonalityEnumEnum), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.PersonalityEnumEnum).Name}");
+ personalityEnumEnum = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::tryAGI.OpenAI.PersonalityEnum(
+ personalityEnumVariant1,
+
+ personalityEnumEnum
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.PersonalityEnum 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.IsPersonalityEnumVariant1)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.PersonalityEnumVariant1!, typeInfo);
+ }
+ else if (value.IsPersonalityEnumEnum)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.PersonalityEnumEnum), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.PersonalityEnumEnum).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.PersonalityEnumEnum!.Value, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnum.g.cs
new file mode 100644
index 00000000..c80e52bb
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnum.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class PersonalityEnumEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.PersonalityEnumEnum 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::tryAGI.OpenAI.PersonalityEnumEnumExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.PersonalityEnumEnum)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.PersonalityEnumEnum);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.PersonalityEnumEnum value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.PersonalityEnumEnumExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullable.g.cs
new file mode 100644
index 00000000..15505135
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class PersonalityEnumEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.PersonalityEnumEnum? 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::tryAGI.OpenAI.PersonalityEnumEnumExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.PersonalityEnumEnum)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.PersonalityEnumEnum?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.PersonalityEnumEnum? 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::tryAGI.OpenAI.PersonalityEnumEnumExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
index 7e783edc..cb2ba68d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
@@ -3909,6 +3909,10 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -4045,6 +4049,14 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -4173,6 +4185,10 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -4845,6 +4861,8 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -5338,6 +5356,12 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogServiceAccountUpdated))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogServiceAccountDeleted))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderCreated))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderUpdated))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderDeleted))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingCreated))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingUpdated))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingDeleted))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogUserAdded))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogUserAddedData))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogUserUpdated))]
@@ -5575,6 +5599,7 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageGenToolCall))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchCall))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchOutput))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalTools))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.LocalShellToolCall))]
@@ -5684,13 +5709,6 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateContainerBodyNetworkPolicyDiscriminatorType), TypeInfoPropertyName = "CreateContainerBodyNetworkPolicyDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateContainerFileBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "AnyOfStringCreateEmbeddingRequestModel2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingRequestModel), TypeInfoPropertyName = "CreateEmbeddingRequestModel2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat), TypeInfoPropertyName = "CreateEmbeddingRequestEncodingFormat2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Embedding))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseObject), TypeInfoPropertyName = "CreateEmbeddingResponseObject2")]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -9598,6 +9616,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -9734,6 +9756,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -9862,6 +9892,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -10534,6 +10568,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -10903,6 +10939,13 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "AnyOfStringCreateEmbeddingRequestModel2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingRequestModel), TypeInfoPropertyName = "CreateEmbeddingRequestModel2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat), TypeInfoPropertyName = "CreateEmbeddingRequestEncodingFormat2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Embedding))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseObject), TypeInfoPropertyName = "CreateEmbeddingResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseUsage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceType2")]
@@ -11373,13 +11416,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionToolCallOutputResourceVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionToolCallResourceVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderLabelModelType), TypeInfoPropertyName = "GraderLabelModelType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderMultiType), TypeInfoPropertyName = "GraderMultiType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfGraderStringCheckGraderTextSimilarityGraderPythonGraderScoreModelGraderLabelModel2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderPythonType), TypeInfoPropertyName = "GraderPythonType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelType), TypeInfoPropertyName = "GraderScoreModelType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelSamplingParams))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckType), TypeInfoPropertyName = "GraderStringCheckType2")]
internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -15287,6 +15323,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -15423,6 +15463,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -15551,6 +15599,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -16223,6 +16275,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -16592,6 +16646,13 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderMultiType), TypeInfoPropertyName = "GraderMultiType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfGraderStringCheckGraderTextSimilarityGraderPythonGraderScoreModelGraderLabelModel2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderPythonType), TypeInfoPropertyName = "GraderPythonType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelType), TypeInfoPropertyName = "GraderScoreModelType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelSamplingParams))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckType), TypeInfoPropertyName = "GraderStringCheckType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckOperation), TypeInfoPropertyName = "GraderStringCheckOperation2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityType), TypeInfoPropertyName = "GraderTextSimilarityType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric), TypeInfoPropertyName = "GraderTextSimilarityEvaluationMetric2")]
@@ -16712,6 +16773,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchCallItemParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchOutputItemParam))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionSummaryItemParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallOutputItemParam))]
@@ -17061,14 +17123,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfInt32RealtimeBetaResponseMaxOutputTokens2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseMaxOutputTokens), TypeInfoPropertyName = "RealtimeBetaResponseMaxOutputTokens2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsModalitie2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsOutputAudioFormat2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsToolType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfToolChoiceOptionsToolChoiceFunctionToolChoiceMCP2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceOptions), TypeInfoPropertyName = "ToolChoiceOptions2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceFunction))]
internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -20976,6 +21030,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -21112,6 +21170,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -21240,6 +21306,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -21912,6 +21982,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -22281,6 +22353,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsModalitie2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsOutputAudioFormat2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsToolType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfToolChoiceOptionsToolChoiceFunctionToolChoiceMCP2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceOptions), TypeInfoPropertyName = "ToolChoiceOptions2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceFunction))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceMCP))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfInt32RealtimeBetaResponseCreateParamsMaxOutputTokens2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsMaxOutputTokens2")]
@@ -22750,14 +22830,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionInputTranscriptDeltaType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionOutputAudioDeltaType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionOutputAudioDeltaFormat2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionOutputTranscriptDeltaType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionUpdatedType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionType), TypeInfoPropertyName = "RealtimeTranslationSessionType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudio))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput))]
internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -26665,6 +26737,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -26801,6 +26877,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -26929,6 +27013,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -27601,6 +27689,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -27970,6 +28060,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionOutputTranscriptDeltaType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType), TypeInfoPropertyName = "RealtimeTranslationServerEventSessionUpdatedType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionType), TypeInfoPropertyName = "RealtimeTranslationSessionType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudio))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2))]
@@ -28439,14 +28537,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VoiceIdsOrCustomVoiceVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VoiceIdsSharedEnum), TypeInfoPropertyName = "VoiceIdsSharedEnum2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VoiceResource))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VoiceResourceObject), TypeInfoPropertyName = "VoiceResourceObject2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionFind))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionFindType), TypeInfoPropertyName = "WebSearchActionFindType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionOpenPage))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionOpenPageType), TypeInfoPropertyName = "WebSearchActionOpenPageType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchType), TypeInfoPropertyName = "WebSearchActionSearchType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -32354,6 +32444,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -32490,6 +32584,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -32618,6 +32720,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -33290,6 +33396,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -33659,6 +33767,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VoiceResourceObject), TypeInfoPropertyName = "VoiceResourceObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionFind))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionFindType), TypeInfoPropertyName = "WebSearchActionFindType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionOpenPage))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionOpenPageType), TypeInfoPropertyName = "WebSearchActionOpenPageType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchType), TypeInfoPropertyName = "WebSearchActionSearchType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSource))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSourceType), TypeInfoPropertyName = "WebSearchActionSearchSourceType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1))]
@@ -33851,6 +33967,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApplyPatchToolParamType), TypeInfoPropertyName = "ApplyPatchToolParamType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchOutputType), TypeInfoPropertyName = "ToolSearchOutputType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsType), TypeInfoPropertyName = "AdditionalToolsType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionBodyType), TypeInfoPropertyName = "CompactionBodyType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CodeInterpreterOutputLogsType), TypeInfoPropertyName = "CodeInterpreterOutputLogsType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CodeInterpreterOutputImageType), TypeInfoPropertyName = "CodeInterpreterOutputImageType2")]
@@ -33907,6 +34024,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType), TypeInfoPropertyName = "FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchCallItemParamType), TypeInfoPropertyName = "ToolSearchCallItemParamType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolSearchOutputItemParamType), TypeInfoPropertyName = "ToolSearchOutputItemParamType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParamType), TypeInfoPropertyName = "AdditionalToolsItemParamType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdditionalToolsItemParamRole), TypeInfoPropertyName = "AdditionalToolsItemParamRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionSummaryItemParamType), TypeInfoPropertyName = "CompactionSummaryItemParamType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellActionParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.FunctionShellCallItemStatus), TypeInfoPropertyName = "FunctionShellCallItemStatus2")]
@@ -33978,6 +34097,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.VideoContentVariant), TypeInfoPropertyName = "VideoContentVariant2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateVideoRemixBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TruncationEnum), TypeInfoPropertyName = "TruncationEnum2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PersonalityEnum), TypeInfoPropertyName = "PersonalityEnum2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PersonalityEnumEnum), TypeInfoPropertyName = "PersonalityEnumEnum2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResource))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResourceObject), TypeInfoPropertyName = "TokenCountsResourceObject2")]
@@ -34123,19 +34244,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder), TypeInfoPropertyName = "GetEvalRunOutputItemsOrder2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesOrder), TypeInfoPropertyName = "ListFilesOrder2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder), TypeInfoPropertyName = "ListFineTuningCheckpointPermissionsOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysListOrder), TypeInfoPropertyName = "AdminApiKeysListOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListAuditLogsEffectiveAt))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrganizationCertificatesOrder), TypeInfoPropertyName = "ListOrganizationCertificatesOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GetCertificateIncludeItem), TypeInfoPropertyName = "GetCertificateIncludeItem2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCostsBucketWidth), TypeInfoPropertyName = "UsageCostsBucketWidth2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCostsGroupByItem), TypeInfoPropertyName = "UsageCostsGroupByItem2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupsOrder), TypeInfoPropertyName = "ListGroupsOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListGroupRoleAssignmentsOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupUsersOrder), TypeInfoPropertyName = "ListGroupUsersOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectCertificatesOrder), TypeInfoPropertyName = "ListProjectCertificatesOrder2")]
internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -38043,6 +38151,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter),
@@ -38179,6 +38291,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter),
@@ -38307,6 +38427,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter),
@@ -38979,6 +39103,8 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
typeof(global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter),
@@ -39348,6 +39474,19 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysListOrder), TypeInfoPropertyName = "AdminApiKeysListOrder2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListAuditLogsEffectiveAt))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrganizationCertificatesOrder), TypeInfoPropertyName = "ListOrganizationCertificatesOrder2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GetCertificateIncludeItem), TypeInfoPropertyName = "GetCertificateIncludeItem2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCostsBucketWidth), TypeInfoPropertyName = "UsageCostsBucketWidth2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCostsGroupByItem), TypeInfoPropertyName = "UsageCostsGroupByItem2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupsOrder), TypeInfoPropertyName = "ListGroupsOrder2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListGroupRoleAssignmentsOrder2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupUsersOrder), TypeInfoPropertyName = "ListGroupUsersOrder2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectCertificatesOrder), TypeInfoPropertyName = "ListProjectCertificatesOrder2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupsOrder), TypeInfoPropertyName = "ListProjectGroupsOrder2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RetrieveProjectGroupGroupType), TypeInfoPropertyName = "RetrieveProjectGroupGroupType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectSpendAlertsOrder), TypeInfoPropertyName = "ListProjectSpendAlertsOrder2")]
@@ -41669,6 +41808,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolParamTypeNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputTypeNullableJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsTypeNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionBodyTypeNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeJsonConverter());
@@ -41737,6 +41878,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolSearchCallItemParamTypeNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ToolSearchOutputItemParamTypeNullableJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamTypeNullableJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AdditionalToolsItemParamRoleNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionSummaryItemParamTypeNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.FunctionShellCallItemStatusJsonConverter());
@@ -41801,6 +41946,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.VideoContentVariantNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TruncationEnumJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TruncationEnumNullableJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PersonalityEnumEnumNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumJsonConverter());
@@ -42137,6 +42284,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.FunctionShellCallOutputOutcomeParamJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParamJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.VideoModelJsonConverter());
+ options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PersonalityEnumJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ItemFieldJsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ContentItem4JsonConverter());
options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.AnnotationsItem3JsonConverter());
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
index 971278e5..7338dabe 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
@@ -520,11191 +520,11243 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserAdded? Type123 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderCreated? Type123 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserAddedData? Type124 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderUpdated? Type124 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserUpdated? Type125 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderDeleted? Type125 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type126 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingCreated? Type126 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserDeleted? Type127 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingUpdated? Type127 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type128 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogWorkloadIdentityProviderMappingDeleted? Type128 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type129 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserAdded? Type129 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type130 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserAddedData? Type130 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type131 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserUpdated? Type131 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type132 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type132 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type133 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserDeleted? Type133 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type134 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type134 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type135 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type135 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type136 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type136 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorType? Type137 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type137 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorSession? Type138 { get; set; }
+ public global::System.Collections.Generic.IList? Type138 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorApiKey? Type139 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type139 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type140 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type140 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorUser? Type141 { get; set; }
+ public global::System.Collections.Generic.IList? Type141 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type142 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type142 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type143 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorType? Type143 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type144 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorSession? Type144 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.Batch? Type145 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorApiKey? Type145 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchObject? Type146 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type146 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchErrors? Type147 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorUser? Type147 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type148 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type148 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchErrorsDataItem? Type149 { get; set; }
+ public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type149 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchStatus? Type150 { get; set; }
+ public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type150 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchRequestCounts? Type151 { get; set; }
+ public global::tryAGI.OpenAI.Batch? Type151 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsage? Type152 { get; set; }
+ public global::tryAGI.OpenAI.BatchObject? Type152 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type153 { get; set; }
+ public global::tryAGI.OpenAI.BatchErrors? Type153 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type154 { get; set; }
+ public global::System.Collections.Generic.IList? Type154 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type155 { get; set; }
+ public global::tryAGI.OpenAI.BatchErrorsDataItem? Type155 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor? Type156 { get; set; }
+ public global::tryAGI.OpenAI.BatchStatus? Type156 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.Certificate? Type157 { get; set; }
+ public global::tryAGI.OpenAI.BatchRequestCounts? Type157 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CertificateObject? Type158 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsage? Type158 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CertificateCertificateDetails? Type159 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type159 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ChatCompletionAllowedTools? Type160 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type160 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ChatCompletionAllowedToolsMode? Type161 { get; set; }
+ public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type161 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList