From 851f8537d1dac365d25afb0094396015e3d5bad4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 10 May 2026 03:53:39 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Phoenix.JsonConverters.AnyOf2.g.cs | 3 + .../Phoenix.JsonConverters.AnyOf21.g.cs | 60 +++ .../Phoenix.JsonConverters.AnyOf3.g.cs | 6 + .../Phoenix.JsonConverters.AnyOf4.g.cs | 9 + .../Phoenix.JsonConverters.AnyOf7.g.cs | 18 + .../Phoenix.JsonConverters.ContextsItem.g.cs | 17 +- .../Phoenix.JsonConverters.ContextsItem2.g.cs | 17 +- .../Phoenix.JsonConverters.OneOf2.g.cs | 3 + .../Phoenix.JsonConverters.OneOf3.g.cs | 6 + .../Phoenix.JsonSerializerContext.g.cs | 1 + .../Phoenix.JsonSerializerContextTypes.g.cs | 420 +++++++++--------- .../Phoenix.Models.ContextsItem.g.cs | 79 +++- .../Phoenix.Models.ContextsItem2.g.cs | 79 +++- ...Phoenix.Models.PlaygroundContext.Json.g.cs | 92 ++++ .../Phoenix.Models.PlaygroundContext.g.cs | 54 +++ ...nerateMessageContextDiscriminatorType.g.cs | 6 + ...SubmitMessageContextDiscriminatorType.g.cs | 6 + src/libs/Phoenix/openapi.json | 31 ++ 18 files changed, 689 insertions(+), 218 deletions(-) create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.Json.g.cs create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.g.cs diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf2.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf2.g.cs index aaf3084..d785647 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf2.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf2.g.cs @@ -107,7 +107,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf21.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf21.g.cs index dec9152..5f5447d 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf21.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf21.g.cs @@ -677,7 +677,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { @@ -151,7 +154,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf4.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf4.g.cs index 4442023..3f5e5cc 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf4.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf4.g.cs @@ -167,7 +167,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { @@ -181,7 +184,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { @@ -195,7 +201,10 @@ public class AnyOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf7.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf7.g.cs index 15c799c..bbb76a9 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf7.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.AnyOf7.g.cs @@ -257,7 +257,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -271,7 +274,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -285,7 +291,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -299,7 +308,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -313,7 +325,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -327,7 +342,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem.g.cs index 618d35f..f112b24 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem.g.cs @@ -49,6 +49,13 @@ public class ContextsItemJsonConverter : global::System.Text.Json.Serialization. throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.AgentSpanContext)}"); span = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::Phoenix.PlaygroundContext? playground = default; + if (discriminator?.Type == global::Phoenix.RegenerateMessageContextDiscriminatorType.Playground) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.PlaygroundContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.PlaygroundContext)}"); + playground = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::Phoenix.ContextsItem( discriminator?.Type, @@ -58,7 +65,9 @@ public class ContextsItemJsonConverter : global::System.Text.Json.Serialization. trace, - span + span, + + playground ); return __value; @@ -97,6 +106,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.AgentSpanContext).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Span!, typeInfo); } + else if (value.IsPlayground) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.PlaygroundContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.PlaygroundContext).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Playground!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem2.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem2.g.cs index f27ec80..5c6bfbc 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem2.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ContextsItem2.g.cs @@ -49,6 +49,13 @@ public class ContextsItem2JsonConverter : global::System.Text.Json.Serialization throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.AgentSpanContext)}"); span = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::Phoenix.PlaygroundContext? playground = default; + if (discriminator?.Type == global::Phoenix.SubmitMessageContextDiscriminatorType.Playground) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.PlaygroundContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.PlaygroundContext)}"); + playground = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::Phoenix.ContextsItem2( discriminator?.Type, @@ -58,7 +65,9 @@ public class ContextsItem2JsonConverter : global::System.Text.Json.Serialization trace, - span + span, + + playground ); return __value; @@ -97,6 +106,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.AgentSpanContext).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Span!, typeInfo); } + else if (value.IsPlayground) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.PlaygroundContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.PlaygroundContext).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Playground!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf2.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf2.g.cs index efaa318..218a2e2 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf2.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf2.g.cs @@ -107,7 +107,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf3.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf3.g.cs index e00576b..41798d8 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf3.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.OneOf3.g.cs @@ -137,7 +137,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { @@ -151,7 +154,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs index d589a50..3c8a697 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs @@ -638,6 +638,7 @@ namespace Phoenix [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OtlpStatus))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OtlpSpansResponseBody))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.PlaygroundContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ProjectContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.PromptAnthropicInvocationParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.PromptAnthropicInvocationParametersContent))] diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs index ed69218..1224968 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs @@ -836,835 +836,839 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Phoenix.ProjectContext? Type202 { get; set; } + public global::Phoenix.PlaygroundContext? Type202 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParameters? Type203 { get; set; } + public global::Phoenix.ProjectContext? Type203 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContent? Type204 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParameters? Type204 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicOutputConfig? Type205 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContent? Type205 { get; set; } /// /// /// - public global::Phoenix.Thinking? Type206 { get; set; } + public global::Phoenix.PromptAnthropicOutputConfig? Type206 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type207 { get; set; } + public global::Phoenix.Thinking? Type207 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type208 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type208 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type209 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type209 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type210 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type210 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type211 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type211 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicOutputConfigEffort? Type212 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type212 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type213 { get; set; } + public global::Phoenix.PromptAnthropicOutputConfigEffort? Type213 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type214 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type214 { get; set; } /// /// /// - public global::Phoenix.PromptAwsInvocationParameters? Type215 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type215 { get; set; } /// /// /// - public global::Phoenix.PromptAwsInvocationParametersContent? Type216 { get; set; } + public global::Phoenix.PromptAwsInvocationParameters? Type216 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type217 { get; set; } + public global::Phoenix.PromptAwsInvocationParametersContent? Type217 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type218 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type218 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type219 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type219 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParameters? Type220 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type220 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParametersContent? Type221 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParameters? Type221 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type222 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParametersContent? Type222 { get; set; } /// /// /// - public global::Phoenix.PromptChatTemplate? Type223 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type224 { get; set; } + public global::Phoenix.PromptChatTemplate? Type224 { get; set; } /// /// /// - public global::Phoenix.PromptMessage? Type225 { get; set; } + public global::System.Collections.Generic.IList? Type225 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParameters? Type226 { get; set; } + public global::Phoenix.PromptMessage? Type226 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type227 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParameters? Type227 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type228 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type228 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParameters? Type229 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type229 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParametersContent? Type230 { get; set; } + public global::Phoenix.PromptFireworksInvocationParameters? Type230 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type231 { get; set; } + public global::Phoenix.PromptFireworksInvocationParametersContent? Type231 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleInvocationParameters? Type232 { get; set; } + public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type232 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleInvocationParametersContent? Type233 { get; set; } + public global::Phoenix.PromptGoogleInvocationParameters? Type233 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleThinkingConfig? Type234 { get; set; } + public global::Phoenix.PromptGoogleInvocationParametersContent? Type234 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type235 { get; set; } + public global::Phoenix.PromptGoogleThinkingConfig? Type235 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParameters? Type236 { get; set; } + public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type236 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParametersContent? Type237 { get; set; } + public global::Phoenix.PromptGroqInvocationParameters? Type237 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type238 { get; set; } + public global::Phoenix.PromptGroqInvocationParametersContent? Type238 { get; set; } /// /// /// - public global::Phoenix.PromptMessageRole? Type239 { get; set; } + public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type239 { get; set; } /// /// /// - public global::Phoenix.AnyOf>? Type240 { get; set; } + public global::Phoenix.PromptMessageRole? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::Phoenix.AnyOf>? Type241 { get; set; } /// /// /// - public global::Phoenix.ContentVariant2Item? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::Phoenix.TextContentPart? Type243 { get; set; } + public global::Phoenix.ContentVariant2Item? Type243 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPart? Type244 { get; set; } + public global::Phoenix.TextContentPart? Type244 { get; set; } /// /// /// - public global::Phoenix.ToolResultContentPart? Type245 { get; set; } + public global::Phoenix.ToolCallContentPart? Type245 { get; set; } /// /// /// - public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type246 { get; set; } + public global::Phoenix.ToolResultContentPart? Type246 { get; set; } /// /// /// - public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type247 { get; set; } + public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type247 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParameters? Type248 { get; set; } + public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type248 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParametersContent? Type249 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParameters? Type249 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type250 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParametersContent? Type250 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParameters? Type251 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type251 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParametersContent? Type252 { get; set; } + public global::Phoenix.PromptOllamaInvocationParameters? Type252 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type253 { get; set; } + public global::Phoenix.PromptOllamaInvocationParametersContent? Type253 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParameters? Type254 { get; set; } + public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type254 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParametersContent? Type255 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParameters? Type255 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type256 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParametersContent? Type256 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParameters? Type257 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type257 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParametersContent? Type258 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParameters? Type258 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type259 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParametersContent? Type259 { get; set; } /// /// /// - public global::Phoenix.PromptResponseFormatJSONSchema? Type260 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type260 { get; set; } /// /// /// - public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type261 { get; set; } + public global::Phoenix.PromptResponseFormatJSONSchema? Type261 { get; set; } /// /// /// - public global::Phoenix.PromptStringTemplate? Type262 { get; set; } + public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type262 { get; set; } /// /// /// - public global::Phoenix.PromptTemplateFormat? Type263 { get; set; } + public global::Phoenix.PromptStringTemplate? Type263 { get; set; } /// /// /// - public global::Phoenix.PromptTemplateType? Type264 { get; set; } + public global::Phoenix.PromptTemplateFormat? Type264 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParameters? Type265 { get; set; } + public global::Phoenix.PromptTemplateType? Type265 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParametersContent? Type266 { get; set; } + public global::Phoenix.PromptTogetherInvocationParameters? Type266 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type267 { get; set; } + public global::Phoenix.PromptTogetherInvocationParametersContent? Type267 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceNone? Type268 { get; set; } + public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type268 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceOneOrMore? Type269 { get; set; } + public global::Phoenix.PromptToolChoiceNone? Type269 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type270 { get; set; } + public global::Phoenix.PromptToolChoiceOneOrMore? Type270 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceZeroOrMore? Type271 { get; set; } + public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type271 { get; set; } /// /// /// - public global::Phoenix.PromptToolFunction? Type272 { get; set; } + public global::Phoenix.PromptToolChoiceZeroOrMore? Type272 { get; set; } /// /// /// - public global::Phoenix.PromptToolFunctionDefinition? Type273 { get; set; } + public global::Phoenix.PromptToolFunction? Type273 { get; set; } /// /// /// - public global::Phoenix.PromptToolRaw? Type274 { get; set; } + public global::Phoenix.PromptToolFunctionDefinition? Type274 { get; set; } /// /// /// - public global::Phoenix.PromptTools? Type275 { get; set; } + public global::Phoenix.PromptToolRaw? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::Phoenix.PromptTools? Type276 { get; set; } /// /// /// - public global::Phoenix.ToolsItem? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolDiscriminator? Type278 { get; set; } + public global::Phoenix.ToolsItem? Type278 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolDiscriminatorType? Type279 { get; set; } + public global::Phoenix.PromptToolsToolDiscriminator? Type279 { get; set; } /// /// /// - public global::Phoenix.ToolChoice? Type280 { get; set; } + public global::Phoenix.PromptToolsToolDiscriminatorType? Type280 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type281 { get; set; } + public global::Phoenix.ToolChoice? Type281 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type282 { get; set; } + public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type282 { get; set; } /// /// /// - public global::Phoenix.Template? Type283 { get; set; } + public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type283 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTemplateDiscriminator? Type284 { get; set; } + public global::Phoenix.Template? Type284 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type285 { get; set; } + public global::Phoenix.PromptVersionTemplateDiscriminator? Type285 { get; set; } /// /// /// - public global::Phoenix.InvocationParameters? Type286 { get; set; } + public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type286 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParameters? Type287 { get; set; } + public global::Phoenix.InvocationParameters? Type287 { get; set; } /// /// /// - public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type288 { get; set; } + public global::Phoenix.PromptXAIInvocationParameters? Type288 { get; set; } /// /// /// - public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type289 { get; set; } + public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type289 { get; set; } /// /// /// - public global::Phoenix.ResponseFormatVariant1? Type290 { get; set; } + public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type290 { get; set; } /// /// /// - public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type291 { get; set; } + public global::Phoenix.ResponseFormatVariant1? Type291 { get; set; } /// /// /// - public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type292 { get; set; } + public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type292 { get; set; } /// /// /// - public global::Phoenix.Template2? Type293 { get; set; } + public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type293 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type294 { get; set; } + public global::Phoenix.Template2? Type294 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type295 { get; set; } + public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type295 { get; set; } /// /// /// - public global::Phoenix.InvocationParameters2? Type296 { get; set; } + public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type296 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type297 { get; set; } + public global::Phoenix.InvocationParameters2? Type297 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type298 { get; set; } + public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type298 { get; set; } /// /// /// - public global::Phoenix.ResponseFormatVariant12? Type299 { get; set; } + public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type299 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type300 { get; set; } + public global::Phoenix.ResponseFormatVariant12? Type300 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type301 { get; set; } + public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type301 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTagData? Type302 { get; set; } + public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type302 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParametersContent? Type303 { get; set; } + public global::Phoenix.PromptVersionTagData? Type303 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type304 { get; set; } + public global::Phoenix.PromptXAIInvocationParametersContent? Type304 { get; set; } /// /// /// - public global::Phoenix.ReasoningUIPart? Type305 { get; set; } + public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type305 { get; set; } /// /// /// - public global::Phoenix.ReasoningUIPartState2? Type306 { get; set; } + public global::Phoenix.ReasoningUIPart? Type306 { get; set; } /// /// /// - public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type307 { get; set; } + public global::Phoenix.ReasoningUIPartState2? Type307 { get; set; } /// /// /// - public global::Phoenix.UpsertOrDeleteSecretsResult? Type308 { get; set; } + public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type308 { get; set; } /// /// /// - public global::Phoenix.SecretKeyValue? Type309 { get; set; } + public global::Phoenix.UpsertOrDeleteSecretsResult? Type309 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotation? Type310 { get; set; } + public global::Phoenix.SecretKeyValue? Type310 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationSource? Type311 { get; set; } + public global::Phoenix.SessionAnnotation? Type311 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationAnnotatorKind? Type312 { get; set; } + public global::Phoenix.SessionAnnotationSource? Type312 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type313 { get; set; } + public global::Phoenix.SessionAnnotationAnnotatorKind? Type313 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationsResponseBody? Type314 { get; set; } + public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type315 { get; set; } + public global::Phoenix.SessionAnnotationsResponseBody? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::System.Collections.Generic.IList? Type316 { get; set; } /// /// /// - public global::Phoenix.SessionTraceData? Type317 { get; set; } + public global::System.Collections.Generic.IList? Type317 { get; set; } /// /// /// - public global::Phoenix.SourceDocumentUIPart? Type318 { get; set; } + public global::Phoenix.SessionTraceData? Type318 { get; set; } /// /// /// - public global::Phoenix.SourceUrlUIPart? Type319 { get; set; } + public global::Phoenix.SourceDocumentUIPart? Type319 { get; set; } /// /// /// - public global::Phoenix.SpanContext? Type320 { get; set; } + public global::Phoenix.SourceUrlUIPart? Type320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type321 { get; set; } + public global::Phoenix.SpanContext? Type321 { get; set; } /// /// /// - public global::Phoenix.SpanEvent? Type322 { get; set; } + public global::System.Collections.Generic.IList? Type322 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotation? Type323 { get; set; } + public global::Phoenix.SpanEvent? Type323 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationSource? Type324 { get; set; } + public global::Phoenix.SpanAnnotation? Type324 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationAnnotatorKind? Type325 { get; set; } + public global::Phoenix.SpanAnnotationSource? Type325 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type326 { get; set; } + public global::Phoenix.SpanAnnotationAnnotatorKind? Type326 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationsResponseBody? Type327 { get; set; } + public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type328 { get; set; } + public global::Phoenix.SpanAnnotationsResponseBody? Type328 { get; set; } /// /// /// - public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type329 { get; set; } + public global::System.Collections.Generic.IList? Type329 { get; set; } /// /// /// - public global::Phoenix.SpansResponseBody? Type330 { get; set; } + public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type330 { get; set; } /// /// /// - public global::Phoenix.StepStartUIPart? Type331 { get; set; } + public global::Phoenix.SpansResponseBody? Type331 { get; set; } /// /// /// - public global::Phoenix.TextUIPart? Type332 { get; set; } + public global::Phoenix.StepStartUIPart? Type332 { get; set; } /// /// /// - public global::Phoenix.TextUIPartState2? Type333 { get; set; } + public global::Phoenix.TextUIPart? Type333 { get; set; } /// /// /// - public global::Phoenix.ToolApprovalRequestedPart? Type334 { get; set; } + public global::Phoenix.TextUIPartState2? Type334 { get; set; } /// /// /// - public global::Phoenix.ToolApprovalRespondedPart? Type335 { get; set; } + public global::Phoenix.ToolApprovalRequestedPart? Type335 { get; set; } /// /// /// - public global::Phoenix.ToolCallFunction? Type336 { get; set; } + public global::Phoenix.ToolApprovalRespondedPart? Type336 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type337 { get; set; } + public global::Phoenix.ToolCallFunction? Type337 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type338 { get; set; } + public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type338 { get; set; } /// /// /// - public global::Phoenix.ToolInputAvailablePart? Type339 { get; set; } + public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type339 { get; set; } /// /// /// - public global::Phoenix.ToolInputStreamingPart? Type340 { get; set; } + public global::Phoenix.ToolInputAvailablePart? Type340 { get; set; } /// /// /// - public global::Phoenix.ToolOutputAvailablePart? Type341 { get; set; } + public global::Phoenix.ToolInputStreamingPart? Type341 { get; set; } /// /// /// - public global::Phoenix.ToolOutputDeniedPart? Type342 { get; set; } + public global::Phoenix.ToolOutputAvailablePart? Type342 { get; set; } /// /// /// - public global::Phoenix.ToolOutputErrorPart? Type343 { get; set; } + public global::Phoenix.ToolOutputDeniedPart? Type343 { get; set; } /// /// /// - public global::Phoenix.AnyOf, object>? Type344 { get; set; } + public global::Phoenix.ToolOutputErrorPart? Type344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type345 { get; set; } + public global::Phoenix.AnyOf, object>? Type345 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotation? Type346 { get; set; } + public global::System.Collections.Generic.IList? Type346 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationSource? Type347 { get; set; } + public global::Phoenix.TraceAnnotation? Type347 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationAnnotatorKind? Type348 { get; set; } + public global::Phoenix.TraceAnnotationSource? Type348 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationDataAnnotatorKind? Type349 { get; set; } + public global::Phoenix.TraceAnnotationAnnotatorKind? Type349 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationsResponseBody? Type350 { get; set; } + public global::Phoenix.TraceAnnotationDataAnnotatorKind? Type350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type351 { get; set; } + public global::Phoenix.TraceAnnotationsResponseBody? Type351 { get; set; } /// /// /// - public global::Phoenix.TraceContext? Type352 { get; set; } + public global::System.Collections.Generic.IList? Type352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type353 { get; set; } + public global::Phoenix.TraceContext? Type353 { get; set; } /// /// /// - public global::Phoenix.TraceSpanData? Type354 { get; set; } + public global::System.Collections.Generic.IList? Type354 { get; set; } /// /// /// - public global::Phoenix.UIMessage? Type355 { get; set; } + public global::Phoenix.TraceSpanData? Type355 { get; set; } /// /// /// - public global::Phoenix.UIMessageRole? Type356 { get; set; } + public global::Phoenix.UIMessage? Type356 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBody? Type357 { get; set; } + public global::Phoenix.UIMessageRole? Type357 { get; set; } /// /// /// - public global::Phoenix.Data6? Type358 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBody? Type358 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminator? Type359 { get; set; } + public global::Phoenix.Data6? Type359 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminatorType? Type360 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminator? Type360 { get; set; } /// /// /// - public global::Phoenix.UpdateProjectRequestBody? Type361 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminatorType? Type361 { get; set; } /// /// /// - public global::Phoenix.UpdateProjectResponseBody? Type362 { get; set; } + public global::Phoenix.UpdateProjectRequestBody? Type362 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetData? Type363 { get; set; } + public global::Phoenix.UpdateProjectResponseBody? Type363 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetResponseBody? Type364 { get; set; } + public global::Phoenix.UploadDatasetData? Type364 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationRequestBody? Type365 { get; set; } + public global::Phoenix.UploadDatasetResponseBody? Type365 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationRequestBodyAnnotatorKind? Type366 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationRequestBody? Type366 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationResponseBody? Type367 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationRequestBodyAnnotatorKind? Type367 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationResponseBodyData? Type368 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationResponseBody? Type368 { get; set; } /// /// /// - public global::Phoenix.UpsertOrDeleteSecretsRequest? Type369 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationResponseBodyData? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::Phoenix.UpsertOrDeleteSecretsRequest? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type372 { get; set; } + public global::System.Collections.Generic.IList>? Type372 { get; set; } /// /// /// - public global::Phoenix.RegenerateMessage? Type373 { get; set; } + public global::Phoenix.AnyOf? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::Phoenix.RegenerateMessage? Type374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type375 { get; set; } + public global::System.Collections.Generic.IList? Type375 { get; set; } /// /// /// - public global::Phoenix.ContextsItem? Type376 { get; set; } + public global::System.Collections.Generic.IList? Type376 { get; set; } /// /// /// - public global::Phoenix.RegenerateMessageContextDiscriminator? Type377 { get; set; } + public global::Phoenix.ContextsItem? Type377 { get; set; } /// /// /// - public global::Phoenix.RegenerateMessageContextDiscriminatorType? Type378 { get; set; } + public global::Phoenix.RegenerateMessageContextDiscriminator? Type378 { get; set; } /// /// /// - public global::Phoenix.SubmitMessage? Type379 { get; set; } + public global::Phoenix.RegenerateMessageContextDiscriminatorType? Type379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type380 { get; set; } + public global::Phoenix.SubmitMessage? Type380 { get; set; } /// /// /// - public global::Phoenix.ContextsItem2? Type381 { get; set; } + public global::System.Collections.Generic.IList? Type381 { get; set; } /// /// /// - public global::Phoenix.SubmitMessageContextDiscriminator? Type382 { get; set; } + public global::Phoenix.ContextsItem2? Type382 { get; set; } /// /// /// - public global::Phoenix.SubmitMessageContextDiscriminatorType? Type383 { get; set; } + public global::Phoenix.SubmitMessageContextDiscriminator? Type383 { get; set; } /// /// /// - public global::Phoenix.SummarizeRequest? Type384 { get; set; } + public global::Phoenix.SubmitMessageContextDiscriminatorType? Type384 { get; set; } /// /// /// - public global::Phoenix.SummarizeResponse? Type385 { get; set; } + public global::Phoenix.SummarizeRequest? Type385 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequest? Type386 { get; set; } + public global::Phoenix.SummarizeResponse? Type386 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequestAction? Type387 { get; set; } + public global::Phoenix.UploadDatasetRequest? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList, object>>? Type388 { get; set; } + public global::Phoenix.UploadDatasetRequestAction? Type388 { get; set; } /// /// /// - public global::Phoenix.OneOf, object>? Type389 { get; set; } + public global::System.Collections.Generic.IList, object>>? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type390 { get; set; } + public global::Phoenix.OneOf, object>? Type390 { get; set; } /// /// /// - public global::Phoenix.OneOf? Type391 { get; set; } + public global::System.Collections.Generic.IList>? Type391 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequest2? Type392 { get; set; } + public global::Phoenix.OneOf? Type392 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequestAction2? Type393 { get; set; } + public global::Phoenix.UploadDatasetRequest2? Type393 { get; set; } /// /// /// - public byte[]? Type394 { get; set; } + public global::Phoenix.UploadDatasetRequestAction2? Type394 { get; set; } /// /// /// - public global::Phoenix.ChatV2ChatV2PostRequest? Type395 { get; set; } + public byte[]? Type395 { get; set; } /// /// /// - public global::Phoenix.ChatV2ChatV2PostRequestDiscriminator? Type396 { get; set; } + public global::Phoenix.ChatV2ChatV2PostRequest? Type396 { get; set; } /// /// /// - public global::Phoenix.ChatV2ChatV2PostRequestDiscriminatorTrigger? Type397 { get; set; } + public global::Phoenix.ChatV2ChatV2PostRequestDiscriminator? Type397 { get; set; } /// /// /// - public global::Phoenix.DeleteSpanAnnotationsAnnotatorKind2? Type398 { get; set; } + public global::Phoenix.ChatV2ChatV2PostRequestDiscriminatorTrigger? Type398 { get; set; } /// /// /// - public global::Phoenix.DeleteTraceAnnotationsAnnotatorKind2? Type399 { get; set; } + public global::Phoenix.DeleteSpanAnnotationsAnnotatorKind2? Type399 { get; set; } /// /// /// - public global::Phoenix.DeleteSessionAnnotationsAnnotatorKind2? Type400 { get; set; } + public global::Phoenix.DeleteTraceAnnotationsAnnotatorKind2? Type400 { get; set; } /// /// /// - public global::Phoenix.ListProjectTracesSort? Type401 { get; set; } + public global::Phoenix.DeleteSessionAnnotationsAnnotatorKind2? Type401 { get; set; } /// /// /// - public global::Phoenix.ListProjectTracesOrder? Type402 { get; set; } + public global::Phoenix.ListProjectTracesSort? Type402 { get; set; } /// /// /// - public global::Phoenix.ListProjectSessionsOrder? Type403 { get; set; } + public global::Phoenix.ListProjectTracesOrder? Type403 { get; set; } /// /// /// - public global::Phoenix.ChatChatPostProviderType? Type404 { get; set; } + public global::Phoenix.ListProjectSessionsOrder? Type404 { get; set; } /// /// /// - public global::Phoenix.ChatChatPostOpenaiApiType? Type405 { get; set; } + public global::Phoenix.ChatChatPostProviderType? Type405 { get; set; } /// /// /// - public global::Phoenix.ChatV2ChatV2PostProviderType? Type406 { get; set; } + public global::Phoenix.ChatChatPostOpenaiApiType? Type406 { get; set; } /// /// /// - public global::Phoenix.ChatV2ChatV2PostOpenaiApiType? Type407 { get; set; } + public global::Phoenix.ChatV2ChatV2PostProviderType? Type407 { get; set; } /// /// /// - public global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType? Type408 { get; set; } + public global::Phoenix.ChatV2ChatV2PostOpenaiApiType? Type408 { get; set; } /// /// /// - public global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? Type409 { get; set; } + public global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType? Type409 { get; set; } + /// + /// + /// + public global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? Type410 { get; set; } /// /// diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem.g.cs index 4ddee6b..08e777b 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem.g.cs @@ -143,6 +143,36 @@ public bool TryPickSpan( value = Span; return IsSpan; } + + /// + /// Playground prompt editor state mounted in the current browser route. + /// +#if NET6_0_OR_GREATER + public global::Phoenix.PlaygroundContext? Playground { get; init; } +#else + public global::Phoenix.PlaygroundContext? Playground { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Playground))] +#endif + public bool IsPlayground => Playground != null; + + /// + /// + /// + public bool TryPickPlayground( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Phoenix.PlaygroundContext? value) + { + value = Playground; + return IsPlayground; + } /// /// /// @@ -215,6 +245,24 @@ public ContextsItem(global::Phoenix.AgentSpanContext? value) Span = value; } + /// + /// + /// + public static implicit operator ContextsItem(global::Phoenix.PlaygroundContext value) => new ContextsItem((global::Phoenix.PlaygroundContext?)value); + + /// + /// + /// + public static implicit operator global::Phoenix.PlaygroundContext?(ContextsItem @this) => @this.Playground; + + /// + /// + /// + public ContextsItem(global::Phoenix.PlaygroundContext? value) + { + Playground = value; + } + /// /// /// @@ -223,7 +271,8 @@ public ContextsItem( global::Phoenix.AppContext? app, global::Phoenix.ProjectContext? project, global::Phoenix.TraceContext? trace, - global::Phoenix.AgentSpanContext? span + global::Phoenix.AgentSpanContext? span, + global::Phoenix.PlaygroundContext? playground ) { Type = type; @@ -232,12 +281,14 @@ public ContextsItem( Project = project; Trace = trace; Span = span; + Playground = playground; } /// /// /// public object? Object => + Playground as object ?? Span as object ?? Trace as object ?? Project as object ?? @@ -251,7 +302,8 @@ App as object App?.ToString() ?? Project?.ToString() ?? Trace?.ToString() ?? - Span?.ToString() + Span?.ToString() ?? + Playground?.ToString() ; /// @@ -259,7 +311,7 @@ App as object /// public bool Validate() { - return IsApp && !IsProject && !IsTrace && !IsSpan || !IsApp && IsProject && !IsTrace && !IsSpan || !IsApp && !IsProject && IsTrace && !IsSpan || !IsApp && !IsProject && !IsTrace && IsSpan; + return IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground || !IsApp && IsProject && !IsTrace && !IsSpan && !IsPlayground || !IsApp && !IsProject && IsTrace && !IsSpan && !IsPlayground || !IsApp && !IsProject && !IsTrace && IsSpan && !IsPlayground || !IsApp && !IsProject && !IsTrace && !IsSpan && IsPlayground; } /// @@ -270,6 +322,7 @@ public bool Validate() global::System.Func? project = null, global::System.Func? trace = null, global::System.Func? span = null, + global::System.Func? playground = null, bool validate = true) { if (validate) @@ -293,6 +346,10 @@ public bool Validate() { return span(Span!); } + else if (IsPlayground && playground != null) + { + return playground(Playground!); + } return default(TResult); } @@ -308,6 +365,8 @@ public void Match( global::System.Action? trace = null, global::System.Action? span = null, + + global::System.Action? playground = null, bool validate = true) { if (validate) @@ -331,6 +390,10 @@ public void Match( { span?.Invoke(Span!); } + else if (IsPlayground) + { + playground?.Invoke(Playground!); + } } /// @@ -341,6 +404,7 @@ public void Switch( global::System.Action? project = null, global::System.Action? trace = null, global::System.Action? span = null, + global::System.Action? playground = null, bool validate = true) { if (validate) @@ -364,6 +428,10 @@ public void Switch( { span?.Invoke(Span!); } + else if (IsPlayground) + { + playground?.Invoke(Playground!); + } } /// @@ -381,6 +449,8 @@ public override int GetHashCode() typeof(global::Phoenix.TraceContext), Span, typeof(global::Phoenix.AgentSpanContext), + Playground, + typeof(global::Phoenix.PlaygroundContext), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -400,7 +470,8 @@ public bool Equals(ContextsItem other) global::System.Collections.Generic.EqualityComparer.Default.Equals(App, other.App) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Project, other.Project) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Trace, other.Trace) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Span, other.Span) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Span, other.Span) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Playground, other.Playground) ; } diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem2.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem2.g.cs index 14e0979..2fc3d2f 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem2.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.ContextsItem2.g.cs @@ -143,6 +143,36 @@ public bool TryPickSpan( value = Span; return IsSpan; } + + /// + /// Playground prompt editor state mounted in the current browser route. + /// +#if NET6_0_OR_GREATER + public global::Phoenix.PlaygroundContext? Playground { get; init; } +#else + public global::Phoenix.PlaygroundContext? Playground { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Playground))] +#endif + public bool IsPlayground => Playground != null; + + /// + /// + /// + public bool TryPickPlayground( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Phoenix.PlaygroundContext? value) + { + value = Playground; + return IsPlayground; + } /// /// /// @@ -215,6 +245,24 @@ public ContextsItem2(global::Phoenix.AgentSpanContext? value) Span = value; } + /// + /// + /// + public static implicit operator ContextsItem2(global::Phoenix.PlaygroundContext value) => new ContextsItem2((global::Phoenix.PlaygroundContext?)value); + + /// + /// + /// + public static implicit operator global::Phoenix.PlaygroundContext?(ContextsItem2 @this) => @this.Playground; + + /// + /// + /// + public ContextsItem2(global::Phoenix.PlaygroundContext? value) + { + Playground = value; + } + /// /// /// @@ -223,7 +271,8 @@ public ContextsItem2( global::Phoenix.AppContext? app, global::Phoenix.ProjectContext? project, global::Phoenix.TraceContext? trace, - global::Phoenix.AgentSpanContext? span + global::Phoenix.AgentSpanContext? span, + global::Phoenix.PlaygroundContext? playground ) { Type = type; @@ -232,12 +281,14 @@ public ContextsItem2( Project = project; Trace = trace; Span = span; + Playground = playground; } /// /// /// public object? Object => + Playground as object ?? Span as object ?? Trace as object ?? Project as object ?? @@ -251,7 +302,8 @@ App as object App?.ToString() ?? Project?.ToString() ?? Trace?.ToString() ?? - Span?.ToString() + Span?.ToString() ?? + Playground?.ToString() ; /// @@ -259,7 +311,7 @@ App as object /// public bool Validate() { - return IsApp && !IsProject && !IsTrace && !IsSpan || !IsApp && IsProject && !IsTrace && !IsSpan || !IsApp && !IsProject && IsTrace && !IsSpan || !IsApp && !IsProject && !IsTrace && IsSpan; + return IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground || !IsApp && IsProject && !IsTrace && !IsSpan && !IsPlayground || !IsApp && !IsProject && IsTrace && !IsSpan && !IsPlayground || !IsApp && !IsProject && !IsTrace && IsSpan && !IsPlayground || !IsApp && !IsProject && !IsTrace && !IsSpan && IsPlayground; } /// @@ -270,6 +322,7 @@ public bool Validate() global::System.Func? project = null, global::System.Func? trace = null, global::System.Func? span = null, + global::System.Func? playground = null, bool validate = true) { if (validate) @@ -293,6 +346,10 @@ public bool Validate() { return span(Span!); } + else if (IsPlayground && playground != null) + { + return playground(Playground!); + } return default(TResult); } @@ -308,6 +365,8 @@ public void Match( global::System.Action? trace = null, global::System.Action? span = null, + + global::System.Action? playground = null, bool validate = true) { if (validate) @@ -331,6 +390,10 @@ public void Match( { span?.Invoke(Span!); } + else if (IsPlayground) + { + playground?.Invoke(Playground!); + } } /// @@ -341,6 +404,7 @@ public void Switch( global::System.Action? project = null, global::System.Action? trace = null, global::System.Action? span = null, + global::System.Action? playground = null, bool validate = true) { if (validate) @@ -364,6 +428,10 @@ public void Switch( { span?.Invoke(Span!); } + else if (IsPlayground) + { + playground?.Invoke(Playground!); + } } /// @@ -381,6 +449,8 @@ public override int GetHashCode() typeof(global::Phoenix.TraceContext), Span, typeof(global::Phoenix.AgentSpanContext), + Playground, + typeof(global::Phoenix.PlaygroundContext), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -400,7 +470,8 @@ public bool Equals(ContextsItem2 other) global::System.Collections.Generic.EqualityComparer.Default.Equals(App, other.App) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Project, other.Project) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Trace, other.Trace) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Span, other.Span) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Span, other.Span) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Playground, other.Playground) ; } diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.Json.g.cs new file mode 100644 index 0000000..a6b8405 --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Phoenix +{ + public sealed partial class PlaygroundContext + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Phoenix.PlaygroundContext? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Phoenix.PlaygroundContext), + jsonSerializerContext) as global::Phoenix.PlaygroundContext; + } + + /// + /// 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::Phoenix.PlaygroundContext? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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::Phoenix.PlaygroundContext), + jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.PlaygroundContext; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.g.cs new file mode 100644 index 0000000..3de8f50 --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.PlaygroundContext.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace Phoenix +{ + /// + /// Playground prompt editor state mounted in the current browser route. + /// + public sealed partial class PlaygroundContext + { + /// + /// + /// + /// "playground" + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string Type { get; set; } = "playground"; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("instanceIds")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList InstanceIds { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PlaygroundContext( + global::System.Collections.Generic.IList instanceIds, + string type = "playground") + { + this.Type = type; + this.InstanceIds = instanceIds ?? throw new global::System.ArgumentNullException(nameof(instanceIds)); + } + + /// + /// Initializes a new instance of the class. + /// + public PlaygroundContext() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.RegenerateMessageContextDiscriminatorType.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.RegenerateMessageContextDiscriminatorType.g.cs index e1a04c9..14e6532 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.RegenerateMessageContextDiscriminatorType.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.RegenerateMessageContextDiscriminatorType.g.cs @@ -15,6 +15,10 @@ public enum RegenerateMessageContextDiscriminatorType /// /// /// + Playground, + /// + /// + /// Project, /// /// @@ -39,6 +43,7 @@ public static string ToValueString(this RegenerateMessageContextDiscriminatorTyp return value switch { RegenerateMessageContextDiscriminatorType.App => "app", + RegenerateMessageContextDiscriminatorType.Playground => "playground", RegenerateMessageContextDiscriminatorType.Project => "project", RegenerateMessageContextDiscriminatorType.Span => "span", RegenerateMessageContextDiscriminatorType.Trace => "trace", @@ -53,6 +58,7 @@ public static string ToValueString(this RegenerateMessageContextDiscriminatorTyp return value switch { "app" => RegenerateMessageContextDiscriminatorType.App, + "playground" => RegenerateMessageContextDiscriminatorType.Playground, "project" => RegenerateMessageContextDiscriminatorType.Project, "span" => RegenerateMessageContextDiscriminatorType.Span, "trace" => RegenerateMessageContextDiscriminatorType.Trace, diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.SubmitMessageContextDiscriminatorType.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.SubmitMessageContextDiscriminatorType.g.cs index a0322ef..d24ac3c 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.SubmitMessageContextDiscriminatorType.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.SubmitMessageContextDiscriminatorType.g.cs @@ -15,6 +15,10 @@ public enum SubmitMessageContextDiscriminatorType /// /// /// + Playground, + /// + /// + /// Project, /// /// @@ -39,6 +43,7 @@ public static string ToValueString(this SubmitMessageContextDiscriminatorType va return value switch { SubmitMessageContextDiscriminatorType.App => "app", + SubmitMessageContextDiscriminatorType.Playground => "playground", SubmitMessageContextDiscriminatorType.Project => "project", SubmitMessageContextDiscriminatorType.Span => "span", SubmitMessageContextDiscriminatorType.Trace => "trace", @@ -53,6 +58,7 @@ public static string ToValueString(this SubmitMessageContextDiscriminatorType va return value switch { "app" => SubmitMessageContextDiscriminatorType.App, + "playground" => SubmitMessageContextDiscriminatorType.Playground, "project" => SubmitMessageContextDiscriminatorType.Project, "span" => SubmitMessageContextDiscriminatorType.Span, "trace" => SubmitMessageContextDiscriminatorType.Trace, diff --git a/src/libs/Phoenix/openapi.json b/src/libs/Phoenix/openapi.json index 4d84d58..e5269f9 100644 --- a/src/libs/Phoenix/openapi.json +++ b/src/libs/Phoenix/openapi.json @@ -10500,6 +10500,29 @@ "type": "object", "title": "OtlpStatus" }, + "PlaygroundContext": { + "properties": { + "type": { + "type": "string", + "const": "playground", + "title": "Type" + }, + "instanceIds": { + "items": { + "type": "integer" + }, + "type": "array", + "title": "Instanceids" + } + }, + "type": "object", + "required": [ + "type", + "instanceIds" + ], + "title": "PlaygroundContext", + "description": "Playground prompt editor state mounted in the current browser route." + }, "Project": { "properties": { "name": { @@ -15134,12 +15157,16 @@ }, { "$ref": "#/components/schemas/AgentSpanContext" + }, + { + "$ref": "#/components/schemas/PlaygroundContext" } ], "discriminator": { "propertyName": "type", "mapping": { "app": "#/components/schemas/AppContext", + "playground": "#/components/schemas/PlaygroundContext", "project": "#/components/schemas/ProjectContext", "span": "#/components/schemas/AgentSpanContext", "trace": "#/components/schemas/TraceContext" @@ -15201,12 +15228,16 @@ }, { "$ref": "#/components/schemas/AgentSpanContext" + }, + { + "$ref": "#/components/schemas/PlaygroundContext" } ], "discriminator": { "propertyName": "type", "mapping": { "app": "#/components/schemas/AppContext", + "playground": "#/components/schemas/PlaygroundContext", "project": "#/components/schemas/ProjectContext", "span": "#/components/schemas/AgentSpanContext", "trace": "#/components/schemas/TraceContext"