From 75a3bb88066f999c321406c288fbc787e608b8c2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 17 Oct 2026 12:33:51 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../tryAGI.OpenAI.JsonSerializerContext.g.cs | 100 +++---- ...AGI.OpenAI.JsonSerializerContextTypes.g.cs | 156 +++++------ src/libs/tryAGI.OpenAI/openapi.yaml | 250 +++++++++--------- 3 files changed, 253 insertions(+), 253 deletions(-) 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 fae750935..ee7e946ea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -4747,6 +4747,11 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSessionInputParam), TypeInfoPropertyName = "CreateSessionInputParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateAgentSessionParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDone))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionErrorResource))] @@ -4820,11 +4825,6 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnOutputTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartAddedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType), TypeInfoPropertyName = "SessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEvent), TypeInfoPropertyName = "SessionEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType), TypeInfoPropertyName = "SessionEventDiscriminatorType2")] @@ -8639,6 +8639,9 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputMessageParamType?), TypeInfoPropertyName = "NullableInputMessageParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputMessageParamRole?), TypeInfoPropertyName = "NullableInputMessageParamRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSessionInputParam?), TypeInfoPropertyName = "NullableCreateSessionInputParam2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventErrorType?), TypeInfoPropertyName = "NullableSessionEventErrorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEnvironmentStatusResource?), TypeInfoPropertyName = "NullableSessionEnvironmentStatusResource2")] @@ -8675,9 +8678,6 @@ internal sealed partial class SourceGenerationContextChunk15 : global::System.Te [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnOutputTextDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnOutputTextDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartAddedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryPartDoneStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?), TypeInfoPropertyName = "NullableSessionEventAgentSessionTurnReasoningSummaryTextDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEvent?), TypeInfoPropertyName = "NullableSessionEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType?), TypeInfoPropertyName = "NullableSessionEventDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeletedSessionResourceObject?), TypeInfoPropertyName = "NullableDeletedSessionResourceObject2")] @@ -16970,6 +16970,18 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.InputMessageParamRole?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus) + + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?) + || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType?) @@ -17110,18 +17122,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType) - - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?) - || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType) || typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType?) @@ -35261,6 +35261,36 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.InputMessageParamRoleNullableJsonConverter(); } + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?)) + { + return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusNullableJsonConverter(); + } + if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType)) { return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDoneTypeJsonConverter(); @@ -35611,36 +35641,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartAddedTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus?)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatusNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType?)) - { - return new global::tryAGI.OpenAI.JsonConverters.SessionEventAgentSessionTurnReasoningSummaryTextDeltaTypeNullableJsonConverter(); - } - if (typeToConvert == typeof(global::tryAGI.OpenAI.SessionEventDiscriminatorType)) { return new global::tryAGI.OpenAI.JsonConverters.SessionEventDiscriminatorTypeJsonConverter(); 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 ad897a359..02d5c73c5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -16573,315 +16573,315 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDone? Type4135 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta? Type4135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType? Type4136 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType? Type4136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionErrorResource? Type4137 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone? Type4137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventError? Type4138 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType? Type4138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventErrorType? Type4139 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus? Type4139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentStatusResource? Type4140 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDone? Type4140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentErrorResource? Type4141 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDoneType? Type4141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEnvironmentStateResource? Type4142 { get; set; } + public global::tryAGI.OpenAI.SessionErrorResource? Type4142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? Type4143 { get; set; } + public global::tryAGI.OpenAI.SessionEventError? Type4143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType? Type4144 { get; set; } + public global::tryAGI.OpenAI.SessionEventErrorType? Type4144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? Type4145 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentStatusResource? Type4145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType? Type4146 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentErrorResource? Type4146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? Type4147 { get; set; } + public global::tryAGI.OpenAI.SessionEnvironmentStateResource? Type4147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType? Type4148 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReady? Type4148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? Type4149 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReadyType? Type4149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType? Type4150 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspended? Type4150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta? Type4151 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentSuspendedType? Type4151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDeltaType? Type4152 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpired? Type4152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionCreated? Type4153 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentExpiredType? Type4153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionCreatedType? Type4154 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentReset? Type4154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreated? Type4155 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentResetType? Type4155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreatedType? Type4156 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDelta? Type4156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgress? Type4157 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentOutputCommandExecutionOutputDeltaType? Type4157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgressType? Type4158 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionCreated? Type4158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompleted? Type4159 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionCreatedType? Type4159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompletedType? Type4160 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreated? Type4160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailed? Type4161 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCreatedType? Type4161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailedType? Type4162 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgress? Type4162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelled? Type4163 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnInProgressType? Type4163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelledType? Type4164 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompleted? Type4164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAdded? Type4165 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCompletedType? Type4165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAddedType? Type4166 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailed? Type4166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionIdle? Type4167 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnFailedType? Type4167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionIdleType? Type4168 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelled? Type4168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionInProgress? Type4169 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnCancelledType? Type4169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionInProgressType? Type4170 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAdded? Type4170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresAction? Type4171 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemAddedType? Type4171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresActionType? Type4172 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionIdle? Type4172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionFailed? Type4173 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionIdleType? Type4173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionFailedType? Type4174 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionInProgress? Type4174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPending? Type4175 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionInProgressType? Type4175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPendingType? Type4176 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresAction? Type4176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnected? Type4177 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionRequiresActionType? Type4177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnectedType? Type4178 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionFailed? Type4178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnected? Type4179 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionFailedType? Type4179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnectedType? Type4180 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPending? Type4180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailed? Type4181 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentPendingType? Type4181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailedType? Type4182 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnected? Type4182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreated? Type4183 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentConnectedType? Type4183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreatedType? Type4184 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnected? Type4184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActive? Type4185 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentDisconnectedType? Type4185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActiveType? Type4186 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailed? Type4186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosed? Type4187 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionEnvironmentFailedType? Type4187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosedType? Type4188 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreated? Type4188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResource? Type4189 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentCreatedType? Type4189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResourceType? Type4190 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActive? Type4190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemResourceRole? Type4191 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentActiveType? Type4191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4192 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosed? Type4192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResource? Type4193 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionSubagentClosedType? Type4193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminator? Type4194 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResource? Type4194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminatorType? Type4195 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResourceType? Type4195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDone? Type4196 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemResourceRole? Type4196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDoneType? Type4197 { get; set; } + public global::System.Collections.Generic.IList? Type4197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAdded? Type4198 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResource? Type4198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAddedType? Type4199 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminator? Type4199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDone? Type4200 { get; set; } + public global::tryAGI.OpenAI.AgentOutputItemResourceDiscriminatorType? Type4200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDoneType? Type4201 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDone? Type4201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDelta? Type4202 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnItemDoneType? Type4202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType? Type4203 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAdded? Type4203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDone? Type4204 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartAddedType? Type4204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType? Type4205 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDone? Type4205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded? Type4206 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnContentPartDoneType? Type4206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType? Type4207 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDelta? Type4207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDone? Type4208 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDeltaType? Type4208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneType? Type4209 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDone? Type4209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartDoneStatus? Type4210 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnOutputTextDoneType? Type4210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDelta? Type4211 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAdded? Type4211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryTextDeltaType? Type4212 { get; set; } + public global::tryAGI.OpenAI.SessionEventAgentSessionTurnReasoningSummaryPartAddedType? Type4212 { get; set; } /// /// /// diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 32b94b2da..29887f5c2 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -97629,6 +97629,127 @@ components: - environment additionalProperties: false description: Parameters for creating a Managed Agents session. + SessionEventAgentSessionTurnReasoningSummaryTextDelta: + type: object + properties: + type: + type: string + enum: + - agent.session.turn.reasoning_summary_text.delta + default: agent.session.turn.reasoning_summary_text.delta + x-stainless-const: true + description: The type of the object. Always + `agent.session.turn.reasoning_summary_text.delta`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + item_id: + type: string + minLength: 0 + description: The ID of the reasoning item. + output_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the item in the turn output. + summary_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the summary content part. + delta: + type: string + minLength: 0 + description: The summary text that was appended. + required: + - type + - event_id + - session_id + - turn_id + - item_id + - output_index + - summary_index + - delta + additionalProperties: false + description: Emitted when text is appended to a reasoning summary. + SessionEventAgentSessionTurnReasoningSummaryPartDone: + type: object + properties: + type: + type: string + enum: + - agent.session.turn.reasoning_summary_part.done + default: agent.session.turn.reasoning_summary_part.done + x-stainless-const: true + description: The type of the object. Always + `agent.session.turn.reasoning_summary_part.done`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session_id: + type: string + minLength: 0 + description: The ID of the session associated with the event. + turn_id: + type: + - string + - "null" + minLength: 0 + description: The ID of the turn associated with the event, when applicable. + item_id: + type: string + minLength: 0 + description: The ID of the reasoning item. + output_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the item in the turn output. + summary_index: + type: integer + format: int64 + minimum: 0 + maximum: 4294967295 + description: The index of the summary part. + part: + $ref: "#/components/schemas/SummaryTextResource" + description: The completed summary part. + status: + type: + - string + - "null" + enum: + - incomplete + - null + description: Present as `incomplete` when summary generation was interrupted. + x-stainless-const: true + required: + - type + - event_id + - session_id + - turn_id + - item_id + - output_index + - summary_index + - part + - status + additionalProperties: false + description: Emitted when a reasoning summary part is complete. SessionEventAgentSessionTurnReasoningSummaryTextDone: type: object properties: @@ -98991,127 +99112,6 @@ components: - part additionalProperties: false description: Emitted when a reasoning summary content part is added. - SessionEventAgentSessionTurnReasoningSummaryPartDone: - type: object - properties: - type: - type: string - enum: - - agent.session.turn.reasoning_summary_part.done - default: agent.session.turn.reasoning_summary_part.done - x-stainless-const: true - description: The type of the object. Always - `agent.session.turn.reasoning_summary_part.done`. - event_id: - type: string - minLength: 0 - description: The unique ID of the event. - session_id: - type: string - minLength: 0 - description: The ID of the session associated with the event. - turn_id: - type: - - string - - "null" - minLength: 0 - description: The ID of the turn associated with the event, when applicable. - item_id: - type: string - minLength: 0 - description: The ID of the reasoning item. - output_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the item in the turn output. - summary_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the summary part. - part: - $ref: "#/components/schemas/SummaryTextResource" - description: The completed summary part. - status: - type: - - string - - "null" - enum: - - incomplete - - null - description: Present as `incomplete` when summary generation was interrupted. - x-stainless-const: true - required: - - type - - event_id - - session_id - - turn_id - - item_id - - output_index - - summary_index - - part - - status - additionalProperties: false - description: Emitted when a reasoning summary part is complete. - SessionEventAgentSessionTurnReasoningSummaryTextDelta: - type: object - properties: - type: - type: string - enum: - - agent.session.turn.reasoning_summary_text.delta - default: agent.session.turn.reasoning_summary_text.delta - x-stainless-const: true - description: The type of the object. Always - `agent.session.turn.reasoning_summary_text.delta`. - event_id: - type: string - minLength: 0 - description: The unique ID of the event. - session_id: - type: string - minLength: 0 - description: The ID of the session associated with the event. - turn_id: - type: - - string - - "null" - minLength: 0 - description: The ID of the turn associated with the event, when applicable. - item_id: - type: string - minLength: 0 - description: The ID of the reasoning item. - output_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the item in the turn output. - summary_index: - type: integer - format: int64 - minimum: 0 - maximum: 4294967295 - description: The index of the summary content part. - delta: - type: string - minLength: 0 - description: The summary text that was appended. - required: - - type - - event_id - - session_id - - turn_id - - item_id - - output_index - - summary_index - - delta - additionalProperties: false - description: Emitted when text is appended to a reasoning summary. SessionEvent: oneOf: - $ref: "#/components/schemas/SessionEventError" @@ -99154,6 +99154,10 @@ components: discriminator: propertyName: type mapping: + agent.session.turn.reasoning_summary_text.delta: "#/components/schemas/SessionE\ + ventAgentSessionTurnReasoningSummaryTextDelta" + agent.session.turn.reasoning_summary_part.done: "#/components/schemas/SessionEv\ + entAgentSessionTurnReasoningSummaryPartDone" agent.session.turn.reasoning_summary_text.done: "#/components/schemas/SessionEv\ entAgentSessionTurnReasoningSummaryTextDone" error: "#/components/schemas/SessionEventError" @@ -99189,10 +99193,6 @@ components: agent.session.turn.output_text.done: "#/components/schemas/SessionEventAgentSessionTurnOutputTextDone" agent.session.turn.reasoning_summary_part.added: "#/components/schemas/SessionE\ ventAgentSessionTurnReasoningSummaryPartAdded" - agent.session.turn.reasoning_summary_part.done: "#/components/schemas/SessionEv\ - entAgentSessionTurnReasoningSummaryPartDone" - agent.session.turn.reasoning_summary_text.delta: "#/components/schemas/SessionE\ - ventAgentSessionTurnReasoningSummaryTextDelta" x-oai-discriminator-values: - error - agent.session.environment.ready