diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaFunctionToolCallOutputResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaFunctionToolCallOutputResource.g.cs
index e2bcd8cbd..48dc42ee0 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaFunctionToolCallOutputResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaFunctionToolCallOutputResource.g.cs
@@ -32,6 +32,8 @@ public class BetaFunctionToolCallOutputResourceJsonConverter : global::System.Te
if (__jsonProps.Contains("call_id")) __score0++;
if (__jsonProps.Contains("caller")) __score0++;
if (__jsonProps.Contains("id")) __score0++;
+ if (__jsonProps.Contains("name")) __score0++;
+ if (__jsonProps.Contains("namespace")) __score0++;
if (__jsonProps.Contains("output")) __score0++;
if (__jsonProps.Contains("status")) __score0++;
if (__jsonProps.Contains("type")) __score0++;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaItemField.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaItemField.g.cs
index 0951d0329..44186dd90 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaItemField.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.BetaItemField.g.cs
@@ -125,6 +125,8 @@ public class BetaItemFieldJsonConverter : global::System.Text.Json.Serialization
if (__jsonProps.Contains("call_id")) __score10++;
if (__jsonProps.Contains("caller")) __score10++;
if (__jsonProps.Contains("id")) __score10++;
+ if (__jsonProps.Contains("name")) __score10++;
+ if (__jsonProps.Contains("namespace")) __score10++;
if (__jsonProps.Contains("output")) __score10++;
if (__jsonProps.Contains("status")) __score10++;
if (__jsonProps.Contains("type")) __score10++;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs
index 19fe31e66..76debfcd5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs
@@ -31,6 +31,8 @@ public class FunctionToolCallOutputResourceJsonConverter : global::System.Text.J
if (__jsonProps.Contains("call_id")) __score0++;
if (__jsonProps.Contains("caller")) __score0++;
if (__jsonProps.Contains("id")) __score0++;
+ if (__jsonProps.Contains("name")) __score0++;
+ if (__jsonProps.Contains("namespace")) __score0++;
if (__jsonProps.Contains("output")) __score0++;
if (__jsonProps.Contains("status")) __score0++;
if (__jsonProps.Contains("type")) __score0++;
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 33a74e865..507eb16f9 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
@@ -87,6 +87,8 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso
if (__jsonProps.Contains("call_id")) __score7++;
if (__jsonProps.Contains("caller")) __score7++;
if (__jsonProps.Contains("id")) __score7++;
+ if (__jsonProps.Contains("name")) __score7++;
+ if (__jsonProps.Contains("namespace")) __score7++;
if (__jsonProps.Contains("output")) __score7++;
if (__jsonProps.Contains("status")) __score7++;
if (__jsonProps.Contains("type")) __score7++;
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 b0ee13488..8d7b1f3f4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
@@ -37336,7 +37336,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseUsage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PromptCacheOptions))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Moderation))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Conversation22))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseConversation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEvent))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEventType), TypeInfoPropertyName = "ResponseAudioDeltaEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDoneEvent))]
@@ -60121,7 +60121,7 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaOutputItem), TypeInfoPropertyName = "BetaOutputItem2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaPromptCacheOptions))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaModeration))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaConversation2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaResponseConversation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Input5), TypeInfoPropertyName = "Input52")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaModerationResultBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.BetaModerationErrorBody))]
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 9d8b91ff5..0cdc13416 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
@@ -7984,7 +7984,7 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::tryAGI.OpenAI.Conversation22? Type1989 { get; set; }
+ public global::tryAGI.OpenAI.ResponseConversation? Type1989 { get; set; }
///
///
///
@@ -14296,7 +14296,7 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::tryAGI.OpenAI.BetaConversation2? Type3567 { get; set; }
+ public global::tryAGI.OpenAI.BetaResponseConversation? Type3567 { get; set; }
///
///
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParam.g.cs
index f2debefc5..350f3dd6c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParam.g.cs
@@ -44,6 +44,18 @@ public sealed partial class BetaFunctionCallOutputItemParam
[global::System.Text.Json.Serialization.JsonRequired]
public required global::tryAGI.OpenAI.OneOf> Output { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("namespace")]
+ public string? Namespace { get; set; }
+
///
///
///
@@ -73,6 +85,8 @@ public sealed partial class BetaFunctionCallOutputItemParam
///
///
///
+ ///
+ ///
///
///
///
@@ -87,6 +101,8 @@ public BetaFunctionCallOutputItemParam(
global::tryAGI.OpenAI.OneOf> output,
global::tryAGI.OpenAI.BetaAgentTagParam? agent,
string? id,
+ string? name,
+ string? @namespace,
global::tryAGI.OpenAI.BetaToolCallCallerParam? caller,
global::tryAGI.OpenAI.BetaFunctionCallItemStatus? status,
global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamType type = global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamType.FunctionCallOutput)
@@ -96,6 +112,8 @@ public BetaFunctionCallOutputItemParam(
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
this.Output = output;
+ this.Name = name;
+ this.Namespace = @namespace;
this.Caller = caller;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.Json.g.cs
new file mode 100644
index 000000000..0239a8f49
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class BetaFunctionCallOutputItemParamName
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName),
+ jsonSerializerContext) as global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamName;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.g.cs
new file mode 100644
index 000000000..c464a4b8f
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamName.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class BetaFunctionCallOutputItemParamName
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.Json.g.cs
new file mode 100644
index 000000000..225a72a9a
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class BetaFunctionCallOutputItemParamNamespace
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace),
+ jsonSerializerContext) as global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.BetaFunctionCallOutputItemParamNamespace;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.g.cs
new file mode 100644
index 000000000..d91230cb5
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionCallOutputItemParamNamespace.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class BetaFunctionCallOutputItemParamNamespace
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionToolCallOutput.g.cs
index 7a4cb8117..a9eebbf16 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaFunctionToolCallOutput.g.cs
@@ -35,6 +35,18 @@ public sealed partial class BetaFunctionToolCallOutput
[global::System.Text.Json.Serialization.JsonRequired]
public required string CallId { get; set; }
+ ///
+ /// The name of the tool that produced the output.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ /// The namespace of the tool that produced the output.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("namespace")]
+ public string? Namespace { get; set; }
+
///
///
///
@@ -84,6 +96,12 @@ public sealed partial class BetaFunctionToolCallOutput
///
/// The type of the function tool call output. Always `function_call_output`.
///
+ ///
+ /// The name of the tool that produced the output.
+ ///
+ ///
+ /// The namespace of the tool that produced the output.
+ ///
///
///
/// The status of the item. One of `in_progress`, `completed`, or
@@ -98,6 +116,8 @@ public BetaFunctionToolCallOutput(
global::tryAGI.OpenAI.BetaAgentTag? agent,
string? id,
global::tryAGI.OpenAI.BetaFunctionToolCallOutputType type,
+ string? name,
+ string? @namespace,
global::tryAGI.OpenAI.BetaToolCallCallerParam? caller,
global::tryAGI.OpenAI.BetaFunctionToolCallOutputStatus? status)
{
@@ -105,6 +125,8 @@ public BetaFunctionToolCallOutput(
this.Id = id;
this.Type = type;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
+ this.Name = name;
+ this.Namespace = @namespace;
this.Caller = caller;
this.Output = output;
this.Status = status;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaModelIdsSharedEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaModelIdsSharedEnum.g.cs
index 0ee4ba319..75f5af91a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaModelIdsSharedEnum.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaModelIdsSharedEnum.g.cs
@@ -275,6 +275,10 @@ public enum BetaModelIdsSharedEnum
///
///
///
+ Gpt55,
+ ///
+ ///
+ ///
Gpt56Luna,
///
///
@@ -412,6 +416,7 @@ public static string ToValueString(this BetaModelIdsSharedEnum value)
BetaModelIdsSharedEnum.Gpt54Mini20260317 => "gpt-5.4-mini-2026-03-17",
BetaModelIdsSharedEnum.Gpt54Nano => "gpt-5.4-nano",
BetaModelIdsSharedEnum.Gpt54Nano20260317 => "gpt-5.4-nano-2026-03-17",
+ BetaModelIdsSharedEnum.Gpt55 => "gpt-5.5",
BetaModelIdsSharedEnum.Gpt56Luna => "gpt-5.6-luna",
BetaModelIdsSharedEnum.Gpt56Sol => "gpt-5.6-sol",
BetaModelIdsSharedEnum.Gpt56Terra => "gpt-5.6-terra",
@@ -503,6 +508,7 @@ public static string ToValueString(this BetaModelIdsSharedEnum value)
"gpt-5.4-mini-2026-03-17" => BetaModelIdsSharedEnum.Gpt54Mini20260317,
"gpt-5.4-nano" => BetaModelIdsSharedEnum.Gpt54Nano,
"gpt-5.4-nano-2026-03-17" => BetaModelIdsSharedEnum.Gpt54Nano20260317,
+ "gpt-5.5" => BetaModelIdsSharedEnum.Gpt55,
"gpt-5.6-luna" => BetaModelIdsSharedEnum.Gpt56Luna,
"gpt-5.6-sol" => BetaModelIdsSharedEnum.Gpt56Sol,
"gpt-5.6-terra" => BetaModelIdsSharedEnum.Gpt56Terra,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.Json.g.cs
similarity index 87%
rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.Json.g.cs
rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.Json.g.cs
index c48aaed8b..4489ee21a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.Json.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.Json.g.cs
@@ -2,7 +2,7 @@
namespace tryAGI.OpenAI
{
- public sealed partial class Conversation22
+ public sealed partial class BetaResponseConversation
{
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
@@ -47,20 +47,20 @@ public string ToJson(
///
/// Deserializes a JSON string using the provided JsonSerializerContext.
///
- public static global::tryAGI.OpenAI.Conversation22? FromJson(
+ public static global::tryAGI.OpenAI.BetaResponseConversation? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
- typeof(global::tryAGI.OpenAI.Conversation22),
- jsonSerializerContext) as global::tryAGI.OpenAI.Conversation22;
+ typeof(global::tryAGI.OpenAI.BetaResponseConversation),
+ jsonSerializerContext) as global::tryAGI.OpenAI.BetaResponseConversation;
}
///
/// Deserializes a JSON string using the generated default JsonSerializerContext.
///
- public static global::tryAGI.OpenAI.Conversation22? FromJson(
+ public static global::tryAGI.OpenAI.BetaResponseConversation? FromJson(
string json)
{
return FromJson(
@@ -75,7 +75,7 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::tryAGI.OpenAI.Conversation22? FromJson(
+ public static global::tryAGI.OpenAI.BetaResponseConversation? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
@@ -86,7 +86,7 @@ public string ToJson(
global::tryAGI.OpenAI.SourceGenerationContext.Default);
}
- return global::System.Text.Json.JsonSerializer.Deserialize(
+ return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
}
@@ -94,20 +94,20 @@ public string ToJson(
///
/// Deserializes a JSON stream using the provided JsonSerializerContext.
///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
- typeof(global::tryAGI.OpenAI.Conversation22),
- jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.Conversation22;
+ typeof(global::tryAGI.OpenAI.BetaResponseConversation),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.BetaResponseConversation;
}
///
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
///
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream)
{
return FromJsonStreamAsync(
@@ -122,7 +122,7 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
@@ -133,7 +133,7 @@ public string ToJson(
global::tryAGI.OpenAI.SourceGenerationContext.Default);
}
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.g.cs
similarity index 81%
rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.g.cs
rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.g.cs
index b44389dc1..c3b9b4c23 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Conversation22.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseConversation.g.cs
@@ -6,7 +6,7 @@ namespace tryAGI.OpenAI
///
/// The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.
///
- public sealed partial class Conversation22
+ public sealed partial class BetaResponseConversation
{
///
/// The unique ID of the conversation that this response was associated with.
@@ -22,7 +22,7 @@ public sealed partial class Conversation22
public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
///
/// The unique ID of the conversation that this response was associated with.
@@ -30,16 +30,16 @@ public sealed partial class Conversation22
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
- public Conversation22(
+ public BetaResponseConversation(
string id)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
- public Conversation22()
+ public BetaResponseConversation()
{
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseVariant3.g.cs
index c9081a987..95d7765f2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseVariant3.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaResponseVariant3.g.cs
@@ -123,7 +123,7 @@ public sealed partial class BetaResponseVariant3
///
///
[global::System.Text.Json.Serialization.JsonPropertyName("conversation")]
- public global::tryAGI.OpenAI.BetaConversation2? Conversation { get; set; }
+ public global::tryAGI.OpenAI.BetaResponseConversation? Conversation { get; set; }
///
///
@@ -203,7 +203,7 @@ public BetaResponseVariant3(
global::tryAGI.OpenAI.BetaResponseUsage? usage,
global::tryAGI.OpenAI.BetaPromptCacheOptions? promptCacheOptions,
global::tryAGI.OpenAI.BetaModeration? moderation,
- global::tryAGI.OpenAI.BetaConversation2? conversation,
+ global::tryAGI.OpenAI.BetaResponseConversation? conversation,
int? maxOutputTokens)
{
this.Truncation = truncation;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
index 8262d1971..f8d1d7108 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
@@ -38,6 +38,18 @@ public sealed partial class FunctionCallOutputItemParam
[global::System.Text.Json.Serialization.JsonRequired]
public required global::tryAGI.OpenAI.OneOf> Output { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("namespace")]
+ public string? Namespace { get; set; }
+
///
///
///
@@ -66,6 +78,8 @@ public sealed partial class FunctionCallOutputItemParam
/// Text, image, or file output of the function tool call.
///
///
+ ///
+ ///
///
///
///
@@ -79,6 +93,8 @@ public FunctionCallOutputItemParam(
string callId,
global::tryAGI.OpenAI.OneOf> output,
string? id,
+ string? name,
+ string? @namespace,
global::tryAGI.OpenAI.ToolCallCallerParam? caller,
global::tryAGI.OpenAI.FunctionCallItemStatus? status,
global::tryAGI.OpenAI.FunctionCallOutputItemParamType type = global::tryAGI.OpenAI.FunctionCallOutputItemParamType.FunctionCallOutput)
@@ -87,6 +103,8 @@ public FunctionCallOutputItemParam(
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
this.Output = output;
+ this.Name = name;
+ this.Namespace = @namespace;
this.Caller = caller;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.Json.g.cs
new file mode 100644
index 000000000..08cba5f7e
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class FunctionCallOutputItemParamName
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamName? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParamName),
+ jsonSerializerContext) as global::tryAGI.OpenAI.FunctionCallOutputItemParamName;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamName? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParamName),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.FunctionCallOutputItemParamName;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.g.cs
new file mode 100644
index 000000000..1179e7669
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamName.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class FunctionCallOutputItemParamName
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.Json.g.cs
new file mode 100644
index 000000000..06fefa402
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class FunctionCallOutputItemParamNamespace
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace),
+ jsonSerializerContext) as global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.FunctionCallOutputItemParamNamespace;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::tryAGI.OpenAI.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.g.cs
new file mode 100644
index 000000000..c7d6756df
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParamNamespace.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class FunctionCallOutputItemParamNamespace
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
index 6cac08736..d85a9a8cd 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
@@ -29,6 +29,18 @@ public sealed partial class FunctionToolCallOutput
[global::System.Text.Json.Serialization.JsonRequired]
public required string CallId { get; set; }
+ ///
+ /// The name of the tool that produced the output.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ /// The namespace of the tool that produced the output.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("namespace")]
+ public string? Namespace { get; set; }
+
///
///
///
@@ -75,6 +87,12 @@ public sealed partial class FunctionToolCallOutput
///
/// The type of the function tool call output. Always `function_call_output`.
///
+ ///
+ /// The name of the tool that produced the output.
+ ///
+ ///
+ /// The namespace of the tool that produced the output.
+ ///
///
///
/// The status of the item. One of `in_progress`, `completed`, or
@@ -88,12 +106,16 @@ public FunctionToolCallOutput(
global::tryAGI.OpenAI.OneOf> output,
string? id,
global::tryAGI.OpenAI.FunctionToolCallOutputType type,
+ string? name,
+ string? @namespace,
global::tryAGI.OpenAI.ToolCallCallerParam? caller,
global::tryAGI.OpenAI.FunctionToolCallOutputStatus? status)
{
this.Id = id;
this.Type = type;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
+ this.Name = name;
+ this.Namespace = @namespace;
this.Caller = caller;
this.Output = output;
this.Status = status;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs
index e841c0653..c335bb2bc 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs
@@ -275,6 +275,10 @@ public enum ModelIdsSharedEnum
///
///
///
+ Gpt55,
+ ///
+ ///
+ ///
Gpt56Luna,
///
///
@@ -412,6 +416,7 @@ public static string ToValueString(this ModelIdsSharedEnum value)
ModelIdsSharedEnum.Gpt54Mini20260317 => "gpt-5.4-mini-2026-03-17",
ModelIdsSharedEnum.Gpt54Nano => "gpt-5.4-nano",
ModelIdsSharedEnum.Gpt54Nano20260317 => "gpt-5.4-nano-2026-03-17",
+ ModelIdsSharedEnum.Gpt55 => "gpt-5.5",
ModelIdsSharedEnum.Gpt56Luna => "gpt-5.6-luna",
ModelIdsSharedEnum.Gpt56Sol => "gpt-5.6-sol",
ModelIdsSharedEnum.Gpt56Terra => "gpt-5.6-terra",
@@ -503,6 +508,7 @@ public static string ToValueString(this ModelIdsSharedEnum value)
"gpt-5.4-mini-2026-03-17" => ModelIdsSharedEnum.Gpt54Mini20260317,
"gpt-5.4-nano" => ModelIdsSharedEnum.Gpt54Nano,
"gpt-5.4-nano-2026-03-17" => ModelIdsSharedEnum.Gpt54Nano20260317,
+ "gpt-5.5" => ModelIdsSharedEnum.Gpt55,
"gpt-5.6-luna" => ModelIdsSharedEnum.Gpt56Luna,
"gpt-5.6-sol" => ModelIdsSharedEnum.Gpt56Sol,
"gpt-5.6-terra" => ModelIdsSharedEnum.Gpt56Terra,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.Json.g.cs
similarity index 88%
rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.Json.g.cs
rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.Json.g.cs
index ea23b4563..37299827e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.Json.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.Json.g.cs
@@ -2,7 +2,7 @@
namespace tryAGI.OpenAI
{
- public sealed partial class BetaConversation2
+ public sealed partial class ResponseConversation
{
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
@@ -47,20 +47,20 @@ public string ToJson(
///
/// Deserializes a JSON string using the provided JsonSerializerContext.
///
- public static global::tryAGI.OpenAI.BetaConversation2? FromJson(
+ public static global::tryAGI.OpenAI.ResponseConversation? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
- typeof(global::tryAGI.OpenAI.BetaConversation2),
- jsonSerializerContext) as global::tryAGI.OpenAI.BetaConversation2;
+ typeof(global::tryAGI.OpenAI.ResponseConversation),
+ jsonSerializerContext) as global::tryAGI.OpenAI.ResponseConversation;
}
///
/// Deserializes a JSON string using the generated default JsonSerializerContext.
///
- public static global::tryAGI.OpenAI.BetaConversation2? FromJson(
+ public static global::tryAGI.OpenAI.ResponseConversation? FromJson(
string json)
{
return FromJson(
@@ -75,7 +75,7 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::tryAGI.OpenAI.BetaConversation2? FromJson(
+ public static global::tryAGI.OpenAI.ResponseConversation? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
@@ -86,7 +86,7 @@ public string ToJson(
global::tryAGI.OpenAI.SourceGenerationContext.Default);
}
- return global::System.Text.Json.JsonSerializer.Deserialize(
+ return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
}
@@ -94,20 +94,20 @@ public string ToJson(
///
/// Deserializes a JSON stream using the provided JsonSerializerContext.
///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
- typeof(global::tryAGI.OpenAI.BetaConversation2),
- jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.BetaConversation2;
+ typeof(global::tryAGI.OpenAI.ResponseConversation),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ResponseConversation;
}
///
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
///
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream)
{
return FromJsonStreamAsync(
@@ -122,7 +122,7 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
@@ -133,7 +133,7 @@ public string ToJson(
global::tryAGI.OpenAI.SourceGenerationContext.Default);
}
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.g.cs
similarity index 82%
rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.g.cs
rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.g.cs
index a08af9962..b218ea2d4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaConversation2.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseConversation.g.cs
@@ -6,7 +6,7 @@ namespace tryAGI.OpenAI
///
/// The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.
///
- public sealed partial class BetaConversation2
+ public sealed partial class ResponseConversation
{
///
/// The unique ID of the conversation that this response was associated with.
@@ -22,7 +22,7 @@ public sealed partial class BetaConversation2
public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
///
/// The unique ID of the conversation that this response was associated with.
@@ -30,16 +30,16 @@ public sealed partial class BetaConversation2
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
- public BetaConversation2(
+ public ResponseConversation(
string id)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
- public BetaConversation2()
+ public ResponseConversation()
{
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs
index 30bc9ad31..61e71fbd6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs
@@ -123,7 +123,7 @@ public sealed partial class ResponseVariant3
///
///
[global::System.Text.Json.Serialization.JsonPropertyName("conversation")]
- public global::tryAGI.OpenAI.Conversation22? Conversation { get; set; }
+ public global::tryAGI.OpenAI.ResponseConversation? Conversation { get; set; }
///
///
@@ -203,7 +203,7 @@ public ResponseVariant3(
global::tryAGI.OpenAI.ResponseUsage? usage,
global::tryAGI.OpenAI.PromptCacheOptions? promptCacheOptions,
global::tryAGI.OpenAI.Moderation? moderation,
- global::tryAGI.OpenAI.Conversation22? conversation,
+ global::tryAGI.OpenAI.ResponseConversation? conversation,
int? maxOutputTokens)
{
this.Truncation = truncation;
diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml
index bab5f1442..ba202bd7f 100644
--- a/src/libs/tryAGI.OpenAI/openapi.yaml
+++ b/src/libs/tryAGI.OpenAI/openapi.yaml
@@ -39973,86 +39973,8 @@ paths:
$ref: '#/components/schemas/ProvenanceResource'
x-oaiMeta:
name: Create content provenance check
- examples:
- response: ''
- request:
- node.js: >-
- import fs from 'fs';
-
- import OpenAI from 'openai';
-
-
- const client = new OpenAI({
- apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted
- });
-
-
- const contentProvenanceCheck = await
- client.contentProvenanceChecks.create({
- file: fs.createReadStream('path/to/file'),
- });
-
-
- console.log(contentProvenanceCheck.created_at);
- python: >-
- import os
-
- from openai import OpenAI
-
-
- client = OpenAI(
- api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted
- )
-
- content_provenance_check =
- client.content_provenance_checks.create(
- file=b"Example data",
- )
-
- print(content_provenance_check.created_at)
- go: "package main\n\nimport (\n\t\"bytes\"\n\t\"context\"\n\t\"fmt\"\n\t\"io\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tcontentProvenanceCheck, err := client.ContentProvenanceChecks.New(context.TODO(), openai.ContentProvenanceCheckNewParams{\n\t\tFile: io.Reader(bytes.NewBuffer([]byte(\"Example data\"))),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", contentProvenanceCheck.CreatedAt)\n}\n"
- java: >-
- package com.openai.example;
-
-
- import com.openai.client.OpenAIClient;
-
- import com.openai.client.okhttp.OpenAIOkHttpClient;
-
- import
- com.openai.models.contentprovenancechecks.ContentProvenanceCheck;
-
- import
- com.openai.models.contentprovenancechecks.ContentProvenanceCheckCreateParams;
-
- import java.io.ByteArrayInputStream;
-
-
- public final class Main {
- private Main() {}
-
- public static void main(String[] args) {
- OpenAIClient client = OpenAIOkHttpClient.fromEnv();
-
- ContentProvenanceCheckCreateParams params = ContentProvenanceCheckCreateParams.builder()
- .file(new ByteArrayInputStream("Example data".getBytes()))
- .build();
- ContentProvenanceCheck contentProvenanceCheck = client.contentProvenanceChecks().create(params);
- }
- }
- ruby: >-
- require "openai"
-
-
- openai = OpenAI::Client.new(api_key: "My API Key")
-
-
- content_provenance_check =
- openai.content_provenance_checks.create(file:
- StringIO.new("Example data"))
-
-
- puts(content_provenance_check)
+ group: content_provenance_checks
+ examples: []
/videos:
post:
tags:
@@ -58346,6 +58268,14 @@ components:
type: string
description: |
The unique ID of the function tool call generated by the model.
+ name:
+ type: string
+ description: |
+ The name of the tool that produced the output.
+ namespace:
+ type: string
+ description: |
+ The namespace of the tool that produced the output.
caller:
anyOf:
- $ref: '#/components/schemas/ToolCallCallerParam'
@@ -62089,6 +62019,7 @@ components:
- gpt-5.6-sol
- gpt-5.6-terra
- gpt-5.6-luna
+ - gpt-5.5
- gpt-5.4
- gpt-5.4-mini
- gpt-5.4-nano
@@ -75223,7 +75154,7 @@ components:
conversation:
anyOf:
- default: null
- $ref: '#/components/schemas/Conversation-2'
+ $ref: '#/components/schemas/ResponseConversation'
- type: 'null'
max_output_tokens:
anyOf:
@@ -87067,6 +86998,21 @@ components:
An array of content outputs (text, image, file) for the function
tool call.
description: Text, image, or file output of the function tool call.
+ name:
+ anyOf:
+ - type: string
+ maxLength: 128
+ minLength: 1
+ description: The name of the tool that produced the output.
+ - type: 'null'
+ namespace:
+ anyOf:
+ - type: string
+ maxLength: 64
+ minLength: 1
+ pattern: ^[a-zA-Z0-9_-]+$
+ description: The namespace of the tool that produced the output.
+ - type: 'null'
caller:
anyOf:
- $ref: '#/components/schemas/ToolCallCallerParam'
@@ -88033,7 +87979,7 @@ components:
- output
title: Moderation
description: Moderation results or errors for the response input and output.
- Conversation-2:
+ ResponseConversation:
properties:
id:
type: string
@@ -94783,6 +94729,21 @@ components:
An array of content outputs (text, image, file) for the function
tool call.
description: Text, image, or file output of the function tool call.
+ name:
+ anyOf:
+ - type: string
+ maxLength: 128
+ minLength: 1
+ description: The name of the tool that produced the output.
+ - type: 'null'
+ namespace:
+ anyOf:
+ - type: string
+ maxLength: 64
+ minLength: 1
+ pattern: ^[a-zA-Z0-9_-]+$
+ description: The namespace of the tool that produced the output.
+ - type: 'null'
caller:
anyOf:
- $ref: '#/components/schemas/BetaToolCallCallerParam'
@@ -96211,6 +96172,7 @@ components:
- gpt-5.6-sol
- gpt-5.6-terra
- gpt-5.6-luna
+ - gpt-5.5
- gpt-5.4
- gpt-5.4-mini
- gpt-5.4-nano
@@ -97381,6 +97343,14 @@ components:
type: string
description: |
The unique ID of the function tool call generated by the model.
+ name:
+ type: string
+ description: |
+ The name of the tool that produced the output.
+ namespace:
+ type: string
+ description: |
+ The namespace of the tool that produced the output.
caller:
anyOf:
- $ref: '#/components/schemas/BetaToolCallCallerParam'
@@ -98040,7 +98010,7 @@ components:
conversation:
anyOf:
- default: null
- $ref: '#/components/schemas/BetaConversation-2'
+ $ref: '#/components/schemas/BetaResponseConversation'
- type: 'null'
max_output_tokens:
anyOf:
@@ -98116,7 +98086,7 @@ components:
total_tokens: 380
user: null
metadata: {}
- BetaConversation-2:
+ BetaResponseConversation:
properties:
id:
type: string