diff --git a/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatChatPost.g.cs b/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatChatPost.g.cs
index 0bed70a..cc486e9 100644
--- a/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatChatPost.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatChatPost.g.cs
@@ -27,11 +27,19 @@ public partial class ChatClient
};
partial void PrepareChatChatPostArguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::Phoenix.ChatChatPostRoot root);
+ ref global::Phoenix.ChatChatPostProviderType providerType,
+ ref string modelName,
+ ref string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ ref global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType);
partial void PrepareChatChatPostRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::Phoenix.ChatChatPostRoot root);
+ global::Phoenix.ChatChatPostProviderType providerType,
+ string modelName,
+ string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType);
partial void ProcessChatChatPostResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -44,17 +52,31 @@ partial void ProcessChatChatPostResponseContent(
///
/// Chat
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ChatChatPostAsync(
- global::Phoenix.ChatChatPostRoot root,
+ global::Phoenix.ChatChatPostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await ChatChatPostAsResponseAsync(
- root: root,
+ providerType: providerType,
+ modelName: modelName,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -64,12 +86,22 @@ partial void ProcessChatChatPostResponseContent(
///
/// Chat
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> ChatChatPostAsResponseAsync(
- global::Phoenix.ChatChatPostRoot root,
+ global::Phoenix.ChatChatPostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -77,7 +109,11 @@ partial void ProcessChatChatPostResponseContent(
client: HttpClient);
PrepareChatChatPostArguments(
httpClient: HttpClient,
- root: ref root);
+ providerType: ref providerType,
+ modelName: ref modelName,
+ providerId: ref providerId,
+ provider: provider,
+ openaiApiType: ref openaiApiType);
var __authorizations = global::Phoenix.EndPointSecurityResolver.ResolveAuthorizations(
@@ -106,7 +142,11 @@ partial void ProcessChatChatPostResponseContent(
path: "/chat",
baseUri: HttpClient.BaseAddress);
__pathBuilder
- .AddRequiredParameter("root", root.ToString() ?? string.Empty)
+ .AddRequiredParameter("provider_type", providerType.ToValueString())
+ .AddRequiredParameter("model_name", modelName)
+ .AddOptionalParameter("provider_id", providerId)
+ .AddOptionalParameter("provider", provider?.ToString())
+ .AddOptionalParameter("openai_api_type", openaiApiType?.ToValueString())
;
var __path = __pathBuilder.ToString();
__path = global::Phoenix.AutoSDKRequestOptionsSupport.AppendQueryParameters(
@@ -148,7 +188,11 @@ partial void ProcessChatChatPostResponseContent(
PrepareChatChatPostRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- root: root!);
+ providerType: providerType!,
+ modelName: modelName!,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType);
return __httpRequest;
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatV2ChatV2Post.g.cs b/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatV2ChatV2Post.g.cs
index 33390f8..2f642fb 100644
--- a/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatV2ChatV2Post.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.ChatClient.ChatV2ChatV2Post.g.cs
@@ -27,12 +27,20 @@ public partial class ChatClient
};
partial void PrepareChatV2ChatV2PostArguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::Phoenix.ChatV2ChatV2PostRoot root,
+ ref global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ ref string modelName,
+ ref string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ ref global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType,
global::Phoenix.ChatV2ChatV2PostRequest request);
partial void PrepareChatV2ChatV2PostRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
+ string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType,
global::Phoenix.ChatV2ChatV2PostRequest request);
partial void ProcessChatV2ChatV2PostResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -46,22 +54,36 @@ partial void ProcessChatV2ChatV2PostResponseContent(
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ChatV2ChatV2PostAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
global::Phoenix.ChatV2ChatV2PostRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await ChatV2ChatV2PostAsResponseAsync(
- root: root,
+ providerType: providerType,
+ modelName: modelName,
request: request,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -71,15 +93,25 @@ partial void ProcessChatV2ChatV2PostResponseContent(
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> ChatV2ChatV2PostAsResponseAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
global::Phoenix.ChatV2ChatV2PostRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -87,7 +119,11 @@ partial void ProcessChatV2ChatV2PostResponseContent(
client: HttpClient);
PrepareChatV2ChatV2PostArguments(
httpClient: HttpClient,
- root: ref root,
+ providerType: ref providerType,
+ modelName: ref modelName,
+ providerId: ref providerId,
+ provider: provider,
+ openaiApiType: ref openaiApiType,
request: request);
@@ -117,7 +153,11 @@ partial void ProcessChatV2ChatV2PostResponseContent(
path: "/chat-v2",
baseUri: HttpClient.BaseAddress);
__pathBuilder
- .AddRequiredParameter("root", root.ToString() ?? string.Empty)
+ .AddRequiredParameter("provider_type", providerType.ToValueString())
+ .AddRequiredParameter("model_name", modelName)
+ .AddOptionalParameter("provider_id", providerId)
+ .AddOptionalParameter("provider", provider?.ToString())
+ .AddOptionalParameter("openai_api_type", openaiApiType?.ToValueString())
;
var __path = __pathBuilder.ToString();
__path = global::Phoenix.AutoSDKRequestOptionsSupport.AppendQueryParameters(
@@ -165,7 +205,11 @@ partial void ProcessChatV2ChatV2PostResponseContent(
PrepareChatV2ChatV2PostRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- root: root!,
+ providerType: providerType!,
+ modelName: modelName!,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
request: request);
return __httpRequest;
@@ -482,12 +526,22 @@ partial void ProcessChatV2ChatV2PostResponseContent(
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ChatV2ChatV2PostAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -496,7 +550,11 @@ partial void ProcessChatV2ChatV2PostResponseContent(
};
return await ChatV2ChatV2PostAsync(
- root: root,
+ providerType: providerType,
+ modelName: modelName,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/Phoenix/Generated/Phoenix.ChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs b/src/libs/Phoenix/Generated/Phoenix.ChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs
new file mode 100644
index 0000000..81dd4db
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.ChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs
@@ -0,0 +1,596 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ public partial class ChatClient
+ {
+
+
+ private static readonly global::Phoenix.EndPointSecurityRequirement s_SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostSecurityRequirement0 =
+ new global::Phoenix.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Phoenix.EndPointAuthorizationRequirement[]
+ { new global::Phoenix.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Phoenix.EndPointSecurityRequirement[] s_SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostSecurityRequirements =
+ new global::Phoenix.EndPointSecurityRequirement[]
+ { s_SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostSecurityRequirement0,
+ };
+ partial void PrepareSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string agentId,
+ ref string sessionId,
+ ref global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ ref string modelName,
+ ref string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ ref global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType,
+ global::Phoenix.SummarizeRequest request);
+ partial void PrepareSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+ string? providerId,
+ global::Phoenix.ModelProvider? provider,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType,
+ global::Phoenix.SummarizeRequest request);
+ partial void ProcessSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+
+ global::Phoenix.SummarizeRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsResponseAsync(
+ agentId: agentId,
+ sessionId: sessionId,
+ providerType: providerType,
+ modelName: modelName,
+
+ request: request,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsResponseAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+
+ global::Phoenix.SummarizeRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ request = request ?? throw new global::System.ArgumentNullException(nameof(request));
+
+ PrepareArguments(
+ client: HttpClient);
+ PrepareSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostArguments(
+ httpClient: HttpClient,
+ agentId: ref agentId,
+ sessionId: ref sessionId,
+ providerType: ref providerType,
+ modelName: ref modelName,
+ providerId: ref providerId,
+ provider: provider,
+ openaiApiType: ref openaiApiType,
+ request: request);
+
+
+ var __authorizations = global::Phoenix.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostSecurityRequirements,
+ operationName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync");
+
+ using var __timeoutCancellationTokenSource = global::Phoenix.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Phoenix.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Phoenix.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Phoenix.PathBuilder(
+ path: $"/agents/{agentId}/sessions/{sessionId}/summary",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddRequiredParameter("provider_type", providerType.ToValueString())
+ .AddRequiredParameter("model_name", modelName)
+ .AddOptionalParameter("provider_id", providerId)
+ .AddOptionalParameter("provider", provider?.ToString())
+ .AddOptionalParameter("openai_api_type", openaiApiType?.ToValueString())
+ ;
+ var __path = __pathBuilder.ToString();
+ __path = global::Phoenix.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
+ var __httpRequestContent = new global::System.Net.Http.StringContent(
+ content: __httpRequestContentBody,
+ encoding: global::System.Text.Encoding.UTF8,
+ mediaType: "application/json");
+ __httpRequest.Content = __httpRequestContent;
+ global::Phoenix.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ agentId: agentId!,
+ sessionId: sessionId!,
+ providerType: providerType!,
+ modelName: modelName!,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
+ request: request);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Phoenix.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Phoenix.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost",
+ methodName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync",
+ pathTemplate: "$\"/agents/{agentId}/sessions/{sessionId}/summary\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Phoenix.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Phoenix.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Phoenix.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost",
+ methodName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync",
+ pathTemplate: "$\"/agents/{agentId}/sessions/{sessionId}/summary\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Phoenix.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Phoenix.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Phoenix.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Phoenix.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Phoenix.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost",
+ methodName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync",
+ pathTemplate: "$\"/agents/{agentId}/sessions/{sessionId}/summary\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Phoenix.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Phoenix.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Phoenix.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost",
+ methodName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync",
+ pathTemplate: "$\"/agents/{agentId}/sessions/{sessionId}/summary\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Phoenix.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Phoenix.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost",
+ methodName: "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync",
+ pathTemplate: "$\"/agents/{agentId}/sessions/{sessionId}/summary\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ // Validation Error
+ if ((int)__response.StatusCode == 422)
+ {
+ string? __content_422 = null;
+ global::System.Exception? __exception_422 = null;
+ global::Phoenix.HTTPValidationError? __value_422 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_422 = global::Phoenix.HTTPValidationError.FromJson(__content_422, JsonSerializerContext);
+ }
+ else
+ {
+ __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_422 = global::Phoenix.HTTPValidationError.FromJson(__content_422, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_422 = __ex;
+ }
+
+ throw new global::Phoenix.ApiException(
+ message: __content_422 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_422,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_422,
+ ResponseObject = __value_422,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessSummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Phoenix.SummarizeResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Phoenix.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Phoenix.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw new global::Phoenix.ApiException(
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Phoenix.SummarizeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Phoenix.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Phoenix.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw new global::Phoenix.ApiException(
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+ global::System.Collections.Generic.IList messages,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __request = new global::Phoenix.SummarizeRequest
+ {
+ Messages = messages,
+ };
+
+ return await SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync(
+ agentId: agentId,
+ sessionId: sessionId,
+ providerType: providerType,
+ modelName: modelName,
+ providerId: providerId,
+ provider: provider,
+ openaiApiType: openaiApiType,
+ request: __request,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatChatPost.g.cs b/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatChatPost.g.cs
index 22cca2b..38a3b0b 100644
--- a/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatChatPost.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatChatPost.g.cs
@@ -7,23 +7,43 @@ public partial interface IChatClient
///
/// Chat
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ChatChatPostAsync(
- global::Phoenix.ChatChatPostRoot root,
+ global::Phoenix.ChatChatPostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Chat
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ChatChatPostAsResponseAsync(
- global::Phoenix.ChatChatPostRoot root,
+ global::Phoenix.ChatChatPostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatChatPostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatV2ChatV2Post.g.cs b/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatV2ChatV2Post.g.cs
index 3eb47d7..c3b9a88 100644
--- a/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatV2ChatV2Post.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.IChatClient.ChatV2ChatV2Post.g.cs
@@ -7,40 +7,70 @@ public partial interface IChatClient
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ChatV2ChatV2PostAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
global::Phoenix.ChatV2ChatV2PostRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ChatV2ChatV2PostAsResponseAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
global::Phoenix.ChatV2ChatV2PostRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Chat V2
///
- ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ChatV2ChatV2PostAsync(
- global::Phoenix.ChatV2ChatV2PostRoot root,
+ global::Phoenix.ChatV2ChatV2PostProviderType providerType,
+ string modelName,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? openaiApiType = default,
global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.IChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs b/src/libs/Phoenix/Generated/Phoenix.IChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs
new file mode 100644
index 0000000..e2811e3
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.IChatClient.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPost.g.cs
@@ -0,0 +1,91 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public partial interface IChatClient
+ {
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+
+ global::Phoenix.SummarizeRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsResponseAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+
+ global::Phoenix.SummarizeRequest request,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Summarize Endpoint
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: responses
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostAsync(
+ string agentId,
+ string sessionId,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType providerType,
+ string modelName,
+ global::System.Collections.Generic.IList messages,
+ string? providerId = default,
+ global::Phoenix.ModelProvider? provider = default,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? openaiApiType = default,
+ global::Phoenix.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiType.g.cs
similarity index 66%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderType.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiType.g.cs
index f984871..129a2a2 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderType.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiType.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class ChatChatPostRootDiscriminatorProviderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatChatPostOpenaiApiTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.ChatChatPostRootDiscriminatorProviderType Read(
+ public override global::Phoenix.ChatChatPostOpenaiApiType Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeJsonConverter : glo
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.ChatChatPostRootDiscriminatorProviderTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Phoenix.ChatChatPostOpenaiApiTypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeJsonConverter : glo
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.ChatChatPostRootDiscriminatorProviderType)numValue;
+ return (global::Phoenix.ChatChatPostOpenaiApiType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.ChatChatPostRootDiscriminatorProviderType);
+ return default(global::Phoenix.ChatChatPostOpenaiApiType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeJsonConverter : glo
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatChatPostRootDiscriminatorProviderType value,
+ global::Phoenix.ChatChatPostOpenaiApiType value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Phoenix.ChatChatPostRootDiscriminatorProviderTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Phoenix.ChatChatPostOpenaiApiTypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiTypeNullable.g.cs
similarity index 67%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderTypeNullable.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiTypeNullable.g.cs
index d2701bb..7021839 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderTypeNullable.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostOpenaiApiTypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class ChatChatPostRootDiscriminatorProviderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatChatPostOpenaiApiTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.ChatChatPostRootDiscriminatorProviderType? Read(
+ public override global::Phoenix.ChatChatPostOpenaiApiType? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeNullableJsonConvert
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.ChatChatPostRootDiscriminatorProviderTypeExtensions.ToEnum(stringValue);
+ return global::Phoenix.ChatChatPostOpenaiApiTypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeNullableJsonConvert
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.ChatChatPostRootDiscriminatorProviderType)numValue;
+ return (global::Phoenix.ChatChatPostOpenaiApiType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.ChatChatPostRootDiscriminatorProviderType?);
+ return default(global::Phoenix.ChatChatPostOpenaiApiType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ChatChatPostRootDiscriminatorProviderTypeNullableJsonConvert
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatChatPostRootDiscriminatorProviderType? value,
+ global::Phoenix.ChatChatPostOpenaiApiType? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Phoenix.ChatChatPostRootDiscriminatorProviderTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Phoenix.ChatChatPostOpenaiApiTypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderType.g.cs
similarity index 62%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiType.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderType.g.cs
index 577d9f5..3dcdf67 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiType.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderType.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatChatPostProviderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType Read(
+ public override global::Phoenix.ChatChatPostProviderType Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeJsonConverter :
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Phoenix.ChatChatPostProviderTypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeJsonConverter :
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType)numValue;
+ return (global::Phoenix.ChatChatPostProviderType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType);
+ return default(global::Phoenix.ChatChatPostProviderType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeJsonConverter :
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType value,
+ global::Phoenix.ChatChatPostProviderType value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Phoenix.ChatChatPostProviderTypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderTypeNullable.g.cs
similarity index 64%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiTypeNullable.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderTypeNullable.g.cs
index e7a32db..4dcd59c 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiTypeNullable.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostProviderTypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatChatPostProviderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType? Read(
+ public override global::Phoenix.ChatChatPostProviderType? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeNullableJsonConv
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiTypeExtensions.ToEnum(stringValue);
+ return global::Phoenix.ChatChatPostProviderTypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeNullableJsonConv
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType)numValue;
+ return (global::Phoenix.ChatChatPostProviderType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType?);
+ return default(global::Phoenix.ChatChatPostProviderType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class BuiltInProviderChatSearchParamsOpenaiApiTypeNullableJsonConv
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType? value,
+ global::Phoenix.ChatChatPostProviderType? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Phoenix.ChatChatPostProviderTypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRoot.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRoot.g.cs
deleted file mode 100644
index eb50f94..0000000
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatChatPostRoot.g.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Phoenix.JsonConverters
-{
- ///
- public class ChatChatPostRootJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Phoenix.ChatChatPostRoot Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- var readerCopy = reader;
- var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.ChatChatPostRootDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.ChatChatPostRootDiscriminator)}");
- var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
-
- global::Phoenix.CustomProviderChatSearchParams? custom = default;
- if (discriminator?.ProviderType == global::Phoenix.ChatChatPostRootDiscriminatorProviderType.Custom)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.CustomProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.CustomProviderChatSearchParams)}");
- custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Phoenix.BuiltInProviderChatSearchParams? builtin = default;
- if (discriminator?.ProviderType == global::Phoenix.ChatChatPostRootDiscriminatorProviderType.Builtin)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.BuiltInProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.BuiltInProviderChatSearchParams)}");
- builtin = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
-
- var __value = new global::Phoenix.ChatChatPostRoot(
- discriminator?.ProviderType,
- custom,
-
- builtin
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatChatPostRoot value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsCustom)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.CustomProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.CustomProviderChatSearchParams).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo);
- }
- else if (value.IsBuiltin)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.BuiltInProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.BuiltInProviderChatSearchParams).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Builtin!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiType.g.cs
similarity index 68%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderType.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiType.g.cs
index bf42013..7f0e57a 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderType.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiType.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatV2ChatV2PostOpenaiApiTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType Read(
+ public override global::Phoenix.ChatV2ChatV2PostOpenaiApiType Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeJsonConverter :
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Phoenix.ChatV2ChatV2PostOpenaiApiTypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeJsonConverter :
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType)numValue;
+ return (global::Phoenix.ChatV2ChatV2PostOpenaiApiType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType);
+ return default(global::Phoenix.ChatV2ChatV2PostOpenaiApiType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeJsonConverter :
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType value,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostOpenaiApiTypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiTypeNullable.g.cs
similarity index 69%
rename from src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderTypeNullable.g.cs
rename to src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiTypeNullable.g.cs
index 37f8cb6..becee01 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderTypeNullable.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiTypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Phoenix.JsonConverters
{
///
- public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ChatV2ChatV2PostOpenaiApiTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType? Read(
+ public override global::Phoenix.ChatV2ChatV2PostOpenaiApiType? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeNullableJsonCon
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderTypeExtensions.ToEnum(stringValue);
+ return global::Phoenix.ChatV2ChatV2PostOpenaiApiTypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeNullableJsonCon
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType)numValue;
+ return (global::Phoenix.ChatV2ChatV2PostOpenaiApiType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType?);
+ return default(global::Phoenix.ChatV2ChatV2PostOpenaiApiType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ChatV2ChatV2PostRootDiscriminatorProviderTypeNullableJsonCon
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType? value,
+ global::Phoenix.ChatV2ChatV2PostOpenaiApiType? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostOpenaiApiTypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderType.g.cs
new file mode 100644
index 0000000..68c2c49
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class ChatV2ChatV2PostProviderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.ChatV2ChatV2PostProviderType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.ChatV2ChatV2PostProviderTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.ChatV2ChatV2PostProviderType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.ChatV2ChatV2PostProviderType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.ChatV2ChatV2PostProviderType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostProviderTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderTypeNullable.g.cs
new file mode 100644
index 0000000..4cd1628
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostProviderTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class ChatV2ChatV2PostProviderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.ChatV2ChatV2PostProviderType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.ChatV2ChatV2PostProviderTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.ChatV2ChatV2PostProviderType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.ChatV2ChatV2PostProviderType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.ChatV2ChatV2PostProviderType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Phoenix.ChatV2ChatV2PostProviderTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRoot.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRoot.g.cs
deleted file mode 100644
index f837dad..0000000
--- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatV2ChatV2PostRoot.g.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Phoenix.JsonConverters
-{
- ///
- public class ChatV2ChatV2PostRootJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Phoenix.ChatV2ChatV2PostRoot Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- var readerCopy = reader;
- var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.ChatV2ChatV2PostRootDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.ChatV2ChatV2PostRootDiscriminator)}");
- var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
-
- global::Phoenix.CustomProviderChatSearchParams? custom = default;
- if (discriminator?.ProviderType == global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType.Custom)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.CustomProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.CustomProviderChatSearchParams)}");
- custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Phoenix.BuiltInProviderChatSearchParams? builtin = default;
- if (discriminator?.ProviderType == global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType.Builtin)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.BuiltInProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.BuiltInProviderChatSearchParams)}");
- builtin = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
-
- var __value = new global::Phoenix.ChatV2ChatV2PostRoot(
- discriminator?.ProviderType,
- custom,
-
- builtin
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Phoenix.ChatV2ChatV2PostRoot value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsCustom)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.CustomProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.CustomProviderChatSearchParams).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo);
- }
- else if (value.IsBuiltin)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.BuiltInProviderChatSearchParams), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.BuiltInProviderChatSearchParams).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Builtin!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType.g.cs
new file mode 100644
index 0000000..0541dbc
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeNullable.g.cs
new file mode 100644
index 0000000..4273768
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType.g.cs
new file mode 100644
index 0000000..4380aab
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeNullable.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeNullable.g.cs
new file mode 100644
index 0000000..4f943d8
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Phoenix.JsonConverters
+{
+ ///
+ public sealed class SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs
index c67a0d8..d589a50 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs
@@ -13,10 +13,6 @@ namespace Phoenix
DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
Converters = new global::System.Type[]
{
- typeof(global::Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiTypeJsonConverter),
-
- typeof(global::Phoenix.JsonConverters.BuiltInProviderChatSearchParamsOpenaiApiTypeNullableJsonConverter),
-
typeof(global::Phoenix.JsonConverters.CreateAnnotationConfigDataDiscriminatorTypeJsonConverter),
typeof(global::Phoenix.JsonConverters.CreateAnnotationConfigDataDiscriminatorTypeNullableJsonConverter),
@@ -313,13 +309,29 @@ namespace Phoenix
typeof(global::Phoenix.JsonConverters.ListProjectSessionsOrderNullableJsonConverter),
- typeof(global::Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderTypeJsonConverter),
+ typeof(global::Phoenix.JsonConverters.ChatChatPostProviderTypeJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.ChatChatPostProviderTypeNullableJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.ChatChatPostOpenaiApiTypeJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.ChatChatPostOpenaiApiTypeNullableJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostProviderTypeJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostProviderTypeNullableJsonConverter),
- typeof(global::Phoenix.JsonConverters.ChatChatPostRootDiscriminatorProviderTypeNullableJsonConverter),
+ typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiTypeJsonConverter),
- typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderTypeJsonConverter),
+ typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostOpenaiApiTypeNullableJsonConverter),
- typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostRootDiscriminatorProviderTypeNullableJsonConverter),
+ typeof(global::Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderTypeNullableJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeJsonConverter),
+
+ typeof(global::Phoenix.JsonConverters.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiTypeNullableJsonConverter),
typeof(global::Phoenix.JsonConverters.CreateAnnotationConfigDataJsonConverter),
@@ -367,10 +379,6 @@ namespace Phoenix
typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostRequestJsonConverter),
- typeof(global::Phoenix.JsonConverters.ChatChatPostRootJsonConverter),
-
- typeof(global::Phoenix.JsonConverters.ChatV2ChatV2PostRootJsonConverter),
-
typeof(global::Phoenix.JsonConverters.AnyOfJsonConverter),
typeof(global::Phoenix.JsonConverters.AnyOfJsonConverter),
@@ -461,9 +469,6 @@ namespace Phoenix
[global::System.Text.Json.Serialization.JsonSerializable(typeof(double))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.AnonymousUser))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.AppContext))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.BuiltInProviderChatSearchParams))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ModelProvider), TypeInfoPropertyName = "ModelProvider2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType), TypeInfoPropertyName = "BuiltInProviderChatSearchParamsOpenaiApiType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.CategoricalAnnotationConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OptimizationDirection), TypeInfoPropertyName = "OptimizationDirection2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -524,7 +529,6 @@ namespace Phoenix
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.LDAPUser))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.CreateUserResponseBodyDataDiscriminator))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.CreateUserResponseBodyDataDiscriminatorAuthMethod), TypeInfoPropertyName = "CreateUserResponseBodyDataDiscriminatorAuthMethod2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.CustomProviderChatSearchParams))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.DataUIPart))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.Dataset))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.DatasetExample))]
@@ -613,6 +617,7 @@ namespace Phoenix
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.LocalUserRole), TypeInfoPropertyName = "LocalUserRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.LocalUserDataRole), TypeInfoPropertyName = "LocalUserDataRole2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ModelProvider), TypeInfoPropertyName = "ModelProvider2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OAuth2UserRole), TypeInfoPropertyName = "OAuth2UserRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OAuth2UserDataRole), TypeInfoPropertyName = "OAuth2UserDataRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.OtlpAnyValue))]
@@ -817,6 +822,8 @@ namespace Phoenix
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ContextsItem2), TypeInfoPropertyName = "ContextsItem22")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SubmitMessageContextDiscriminator))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SubmitMessageContextDiscriminatorType), TypeInfoPropertyName = "SubmitMessageContextDiscriminatorType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SummarizeRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SummarizeResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.UploadDatasetRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.UploadDatasetRequestAction), TypeInfoPropertyName = "UploadDatasetRequestAction2_3")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList, object>>))]
@@ -835,12 +842,12 @@ namespace Phoenix
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ListProjectTracesSort), TypeInfoPropertyName = "ListProjectTracesSort2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ListProjectTracesOrder), TypeInfoPropertyName = "ListProjectTracesOrder2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ListProjectSessionsOrder), TypeInfoPropertyName = "ListProjectSessionsOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatChatPostRoot), TypeInfoPropertyName = "ChatChatPostRoot2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatChatPostRootDiscriminator))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatChatPostRootDiscriminatorProviderType), TypeInfoPropertyName = "ChatChatPostRootDiscriminatorProviderType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatV2ChatV2PostRoot), TypeInfoPropertyName = "ChatV2ChatV2PostRoot2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatV2ChatV2PostRootDiscriminator))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatV2ChatV2PostRootDiscriminatorProviderType), TypeInfoPropertyName = "ChatV2ChatV2PostRootDiscriminatorProviderType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatChatPostProviderType), TypeInfoPropertyName = "ChatChatPostProviderType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatChatPostOpenaiApiType), TypeInfoPropertyName = "ChatChatPostOpenaiApiType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatV2ChatV2PostProviderType), TypeInfoPropertyName = "ChatV2ChatV2PostProviderType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.ChatV2ChatV2PostOpenaiApiType), TypeInfoPropertyName = "ChatV2ChatV2PostOpenaiApiType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType), TypeInfoPropertyName = "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostProviderType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType), TypeInfoPropertyName = "SummarizeEndpointAgentsAgentIdSessionsSessionIdSummaryPostOpenaiApiType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.AnyOf?), TypeInfoPropertyName = "StepStartUIPart_4f65f1009b57fac6")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs
index 56b9835..ed69218 100644
--- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs
@@ -160,1515 +160,1511 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Phoenix.BuiltInProviderChatSearchParams? Type33 { get; set; }
+ public global::Phoenix.CategoricalAnnotationConfig? Type33 { get; set; }
///
///
///
- public global::Phoenix.ModelProvider? Type34 { get; set; }
+ public global::Phoenix.OptimizationDirection? Type34 { get; set; }
///
///
///
- public global::Phoenix.BuiltInProviderChatSearchParamsOpenaiApiType? Type35 { get; set; }
+ public global::System.Collections.Generic.IList? Type35 { get; set; }
///
///
///
- public global::Phoenix.CategoricalAnnotationConfig? Type36 { get; set; }
+ public global::Phoenix.CategoricalAnnotationValue? Type36 { get; set; }
///
///
///
- public global::Phoenix.OptimizationDirection? Type37 { get; set; }
+ public global::Phoenix.CategoricalAnnotationConfigData? Type37 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type38 { get; set; }
+ public global::Phoenix.ContinuousAnnotationConfig? Type38 { get; set; }
///
///
///
- public global::Phoenix.CategoricalAnnotationValue? Type39 { get; set; }
+ public global::Phoenix.ContinuousAnnotationConfigData? Type39 { get; set; }
///
///
///
- public global::Phoenix.CategoricalAnnotationConfigData? Type40 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigData? Type40 { get; set; }
///
///
///
- public global::Phoenix.ContinuousAnnotationConfig? Type41 { get; set; }
+ public global::Phoenix.FreeformAnnotationConfigData? Type41 { get; set; }
///
///
///
- public global::Phoenix.ContinuousAnnotationConfigData? Type42 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigDataDiscriminator? Type42 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigData? Type43 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigDataDiscriminatorType? Type43 { get; set; }
///
///
///
- public global::Phoenix.FreeformAnnotationConfigData? Type44 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigResponseBody? Type44 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigDataDiscriminator? Type45 { get; set; }
+ public global::Phoenix.Data? Type45 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigDataDiscriminatorType? Type46 { get; set; }
+ public global::Phoenix.FreeformAnnotationConfig? Type46 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigResponseBody? Type47 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminator? Type47 { get; set; }
///
///
///
- public global::Phoenix.Data? Type48 { get; set; }
+ public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminatorType? Type48 { get; set; }
///
///
///
- public global::Phoenix.FreeformAnnotationConfig? Type49 { get; set; }
+ public global::Phoenix.CreateExperimentRequestBody? Type49 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminator? Type50 { get; set; }
+ public global::System.Collections.Generic.IList? Type50 { get; set; }
///
///
///
- public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminatorType? Type51 { get; set; }
+ public int? Type51 { get; set; }
///
///
///
- public global::Phoenix.CreateExperimentRequestBody? Type52 { get; set; }
+ public global::Phoenix.CreateExperimentResponseBody? Type52 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type53 { get; set; }
+ public global::Phoenix.Experiment? Type53 { get; set; }
///
///
///
- public int? Type54 { get; set; }
+ public global::Phoenix.CreateExperimentRunRequestBody? Type54 { get; set; }
///
///
///
- public global::Phoenix.CreateExperimentResponseBody? Type55 { get; set; }
+ public global::System.DateTime? Type55 { get; set; }
///
///
///
- public global::Phoenix.Experiment? Type56 { get; set; }
+ public global::Phoenix.CreateExperimentRunResponseBody? Type56 { get; set; }
///
///
///
- public global::Phoenix.CreateExperimentRunRequestBody? Type57 { get; set; }
+ public global::Phoenix.CreateExperimentRunResponseBodyData? Type57 { get; set; }
///
///
///
- public global::System.DateTime? Type58 { get; set; }
+ public global::Phoenix.CreateProjectRequestBody? Type58 { get; set; }
///
///
///
- public global::Phoenix.CreateExperimentRunResponseBody? Type59 { get; set; }
+ public global::Phoenix.CreateProjectResponseBody? Type59 { get; set; }
///
///
///
- public global::Phoenix.CreateExperimentRunResponseBodyData? Type60 { get; set; }
+ public global::Phoenix.Project? Type60 { get; set; }
///
///
///
- public global::Phoenix.CreateProjectRequestBody? Type61 { get; set; }
+ public global::Phoenix.CreatePromptRequestBody? Type61 { get; set; }
///
///
///
- public global::Phoenix.CreateProjectResponseBody? Type62 { get; set; }
+ public global::Phoenix.PromptData? Type62 { get; set; }
///
///
///
- public global::Phoenix.Project? Type63 { get; set; }
+ public global::Phoenix.PromptVersionData? Type63 { get; set; }
///
///
///
- public global::Phoenix.CreatePromptRequestBody? Type64 { get; set; }
+ public global::Phoenix.CreatePromptResponseBody? Type64 { get; set; }
///
///
///
- public global::Phoenix.PromptData? Type65 { get; set; }
+ public global::Phoenix.PromptVersion? Type65 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionData? Type66 { get; set; }
+ public global::Phoenix.CreateSessionNoteRequestBody? Type66 { get; set; }
///
///
///
- public global::Phoenix.CreatePromptResponseBody? Type67 { get; set; }
+ public global::Phoenix.SessionNoteData? Type67 { get; set; }
///
///
///
- public global::Phoenix.PromptVersion? Type68 { get; set; }
+ public global::Phoenix.CreateSessionNoteResponseBody? Type68 { get; set; }
///
///
///
- public global::Phoenix.CreateSessionNoteRequestBody? Type69 { get; set; }
+ public global::Phoenix.CreateSpanNoteRequestBody? Type69 { get; set; }
///
///
///
- public global::Phoenix.SessionNoteData? Type70 { get; set; }
+ public global::Phoenix.SpanNoteData? Type70 { get; set; }
///
///
///
- public global::Phoenix.CreateSessionNoteResponseBody? Type71 { get; set; }
+ public global::Phoenix.CreateSpanNoteResponseBody? Type71 { get; set; }
///
///
///
- public global::Phoenix.CreateSpanNoteRequestBody? Type72 { get; set; }
+ public global::Phoenix.CreateSpansRequestBody? Type72 { get; set; }
///
///
///
- public global::Phoenix.SpanNoteData? Type73 { get; set; }
+ public global::System.Collections.Generic.IList? Type73 { get; set; }
///
///
///
- public global::Phoenix.CreateSpanNoteResponseBody? Type74 { get; set; }
+ public global::Phoenix.Span? Type74 { get; set; }
///
///
///
- public global::Phoenix.CreateSpansRequestBody? Type75 { get; set; }
+ public global::Phoenix.CreateSpansResponseBody? Type75 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type76 { get; set; }
+ public global::Phoenix.CreateTraceNoteRequestBody? Type76 { get; set; }
///
///
///
- public global::Phoenix.Span? Type77 { get; set; }
+ public global::Phoenix.TraceNoteData? Type77 { get; set; }
///
///
///
- public global::Phoenix.CreateSpansResponseBody? Type78 { get; set; }
+ public global::Phoenix.CreateTraceNoteResponseBody? Type78 { get; set; }
///
///
///
- public global::Phoenix.CreateTraceNoteRequestBody? Type79 { get; set; }
+ public global::Phoenix.CreateUserRequestBody? Type79 { get; set; }
///
///
///
- public global::Phoenix.TraceNoteData? Type80 { get; set; }
+ public global::Phoenix.User? Type80 { get; set; }
///
///
///
- public global::Phoenix.CreateTraceNoteResponseBody? Type81 { get; set; }
+ public global::Phoenix.LocalUserData? Type81 { get; set; }
///
///
///
- public global::Phoenix.CreateUserRequestBody? Type82 { get; set; }
+ public global::Phoenix.OAuth2UserData? Type82 { get; set; }
///
///
///
- public global::Phoenix.User? Type83 { get; set; }
+ public global::Phoenix.LDAPUserData? Type83 { get; set; }
///
///
///
- public global::Phoenix.LocalUserData? Type84 { get; set; }
+ public global::Phoenix.CreateUserRequestBodyUserDiscriminator? Type84 { get; set; }
///
///
///
- public global::Phoenix.OAuth2UserData? Type85 { get; set; }
+ public global::Phoenix.CreateUserRequestBodyUserDiscriminatorAuthMethod? Type85 { get; set; }
///
///
///
- public global::Phoenix.LDAPUserData? Type86 { get; set; }
+ public global::Phoenix.CreateUserResponseBody? Type86 { get; set; }
///
///
///
- public global::Phoenix.CreateUserRequestBodyUserDiscriminator? Type87 { get; set; }
+ public global::Phoenix.Data2? Type87 { get; set; }
///
///
///
- public global::Phoenix.CreateUserRequestBodyUserDiscriminatorAuthMethod? Type88 { get; set; }
+ public global::Phoenix.LocalUser? Type88 { get; set; }
///
///
///
- public global::Phoenix.CreateUserResponseBody? Type89 { get; set; }
+ public global::Phoenix.OAuth2User? Type89 { get; set; }
///
///
///
- public global::Phoenix.Data2? Type90 { get; set; }
+ public global::Phoenix.LDAPUser? Type90 { get; set; }
///
///
///
- public global::Phoenix.LocalUser? Type91 { get; set; }
+ public global::Phoenix.CreateUserResponseBodyDataDiscriminator? Type91 { get; set; }
///
///
///
- public global::Phoenix.OAuth2User? Type92 { get; set; }
+ public global::Phoenix.CreateUserResponseBodyDataDiscriminatorAuthMethod? Type92 { get; set; }
///
///
///
- public global::Phoenix.LDAPUser? Type93 { get; set; }
+ public global::Phoenix.DataUIPart? Type93 { get; set; }
///
///
///
- public global::Phoenix.CreateUserResponseBodyDataDiscriminator? Type94 { get; set; }
+ public global::Phoenix.Dataset? Type94 { get; set; }
///
///
///
- public global::Phoenix.CreateUserResponseBodyDataDiscriminatorAuthMethod? Type95 { get; set; }
+ public global::Phoenix.DatasetExample? Type95 { get; set; }
///
///
///
- public global::Phoenix.CustomProviderChatSearchParams? Type96 { get; set; }
+ public global::Phoenix.DatasetVersion? Type96 { get; set; }
///
///
///
- public global::Phoenix.DataUIPart? Type97 { get; set; }
+ public global::Phoenix.DatasetWithExampleCount? Type97 { get; set; }
///
///
///
- public global::Phoenix.Dataset? Type98 { get; set; }
+ public global::Phoenix.DeleteAnnotationConfigResponseBody? Type98 { get; set; }
///
///
///
- public global::Phoenix.DatasetExample? Type99 { get; set; }
+ public global::Phoenix.Data3? Type99 { get; set; }
///
///
///
- public global::Phoenix.DatasetVersion? Type100 { get; set; }
+ public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminator? Type100 { get; set; }
///
///
///
- public global::Phoenix.DatasetWithExampleCount? Type101 { get; set; }
+ public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminatorType? Type101 { get; set; }
///
///
///
- public global::Phoenix.DeleteAnnotationConfigResponseBody? Type102 { get; set; }
+ public global::Phoenix.DeleteSessionsRequestBody? Type102 { get; set; }
///
///
///
- public global::Phoenix.Data3? Type103 { get; set; }
+ public global::Phoenix.DynamicToolApprovalRequestedPart? Type103 { get; set; }
///
///
///
- public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminator? Type104 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type104 { get; set; }
///
///
///
- public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminatorType? Type105 { get; set; }
+ public global::Phoenix.AnyOf? Type105 { get; set; }
///
///
///
- public global::Phoenix.DeleteSessionsRequestBody? Type106 { get; set; }
+ public global::Phoenix.ToolApprovalRequested? Type106 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolApprovalRequestedPart? Type107 { get; set; }
+ public global::Phoenix.ToolApprovalResponded? Type107 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type108 { get; set; }
+ public global::Phoenix.DynamicToolApprovalRespondedPart? Type108 { get; set; }
///
///
///
- public global::Phoenix.AnyOf? Type109 { get; set; }
+ public global::Phoenix.DynamicToolInputAvailablePart? Type109 { get; set; }
///
///
///
- public global::Phoenix.ToolApprovalRequested? Type110 { get; set; }
+ public global::Phoenix.DynamicToolInputStreamingPart? Type110 { get; set; }
///
///
///
- public global::Phoenix.ToolApprovalResponded? Type111 { get; set; }
+ public global::Phoenix.DynamicToolOutputAvailablePart? Type111 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolApprovalRespondedPart? Type112 { get; set; }
+ public global::Phoenix.DynamicToolOutputDeniedPart? Type112 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolInputAvailablePart? Type113 { get; set; }
+ public global::Phoenix.DynamicToolOutputErrorPart? Type113 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolInputStreamingPart? Type114 { get; set; }
+ public global::Phoenix.ExperimentEvaluationResult? Type114 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolOutputAvailablePart? Type115 { get; set; }
+ public global::Phoenix.ExperimentRun? Type115 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolOutputDeniedPart? Type116 { get; set; }
+ public global::Phoenix.FileUIPart? Type116 { get; set; }
///
///
///
- public global::Phoenix.DynamicToolOutputErrorPart? Type117 { get; set; }
+ public global::Phoenix.GetAnnotationConfigResponseBody? Type117 { get; set; }
///
///
///
- public global::Phoenix.ExperimentEvaluationResult? Type118 { get; set; }
+ public global::Phoenix.Data4? Type118 { get; set; }
///
///
///
- public global::Phoenix.ExperimentRun? Type119 { get; set; }
+ public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminator? Type119 { get; set; }
///
///
///
- public global::Phoenix.FileUIPart? Type120 { get; set; }
+ public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminatorType? Type120 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigResponseBody? Type121 { get; set; }
+ public global::Phoenix.GetAnnotationConfigsResponseBody? Type121 { get; set; }
///
///
///
- public global::Phoenix.Data4? Type122 { get; set; }
+ public global::System.Collections.Generic.IList? Type122 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminator? Type123 { get; set; }
+ public global::Phoenix.DataItem? Type123 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminatorType? Type124 { get; set; }
+ public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminator? Type124 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigsResponseBody? Type125 { get; set; }
+ public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminatorType? Type125 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type126 { get; set; }
+ public global::Phoenix.GetDatasetResponseBody? Type126 { get; set; }
///
///
///
- public global::Phoenix.DataItem? Type127 { get; set; }
+ public global::Phoenix.GetExperimentResponseBody? Type127 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminator? Type128 { get; set; }
+ public global::Phoenix.GetIncompleteEvaluationsResponseBody? Type128 { get; set; }
///
///
///
- public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminatorType? Type129 { get; set; }
+ public global::System.Collections.Generic.IList? Type129 { get; set; }
///
///
///
- public global::Phoenix.GetDatasetResponseBody? Type130 { get; set; }
+ public global::Phoenix.IncompleteExperimentEvaluation? Type130 { get; set; }
///
///
///
- public global::Phoenix.GetExperimentResponseBody? Type131 { get; set; }
+ public global::Phoenix.GetIncompleteExperimentRunsResponseBody? Type131 { get; set; }
///
///
///
- public global::Phoenix.GetIncompleteEvaluationsResponseBody? Type132 { get; set; }
+ public global::System.Collections.Generic.IList? Type132 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type133 { get; set; }
+ public global::Phoenix.IncompleteExperimentRun? Type133 { get; set; }
///
///
///
- public global::Phoenix.IncompleteExperimentEvaluation? Type134 { get; set; }
+ public global::Phoenix.GetProjectResponseBody? Type134 { get; set; }
///
///
///
- public global::Phoenix.GetIncompleteExperimentRunsResponseBody? Type135 { get; set; }
+ public global::Phoenix.GetProjectsResponseBody? Type135 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type136 { get; set; }
+ public global::System.Collections.Generic.IList? Type136 { get; set; }
///
///
///
- public global::Phoenix.IncompleteExperimentRun? Type137 { get; set; }
+ public global::Phoenix.GetPromptResponseBody? Type137 { get; set; }
///
///
///
- public global::Phoenix.GetProjectResponseBody? Type138 { get; set; }
+ public global::Phoenix.GetPromptVersionTagsResponseBody? Type138 { get; set; }
///
///
///
- public global::Phoenix.GetProjectsResponseBody? Type139 { get; set; }
+ public global::System.Collections.Generic.IList? Type139 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type140 { get; set; }
+ public global::Phoenix.PromptVersionTag? Type140 { get; set; }
///
///
///
- public global::Phoenix.GetPromptResponseBody? Type141 { get; set; }
+ public global::Phoenix.GetPromptVersionsResponseBody? Type141 { get; set; }
///
///
///
- public global::Phoenix.GetPromptVersionTagsResponseBody? Type142 { get; set; }
+ public global::System.Collections.Generic.IList? Type142 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type143 { get; set; }
+ public global::Phoenix.GetPromptsResponseBody? Type143 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionTag? Type144 { get; set; }
+ public global::System.Collections.Generic.IList? Type144 { get; set; }
///
///
///
- public global::Phoenix.GetPromptVersionsResponseBody? Type145 { get; set; }
+ public global::Phoenix.Prompt? Type145 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type146 { get; set; }
+ public global::Phoenix.GetSessionResponseBody? Type146 { get; set; }
///
///
///
- public global::Phoenix.GetPromptsResponseBody? Type147 { get; set; }
+ public global::Phoenix.SessionData? Type147 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type148 { get; set; }
+ public global::Phoenix.GetSessionsResponseBody? Type148 { get; set; }
///
///
///
- public global::Phoenix.Prompt? Type149 { get; set; }
+ public global::System.Collections.Generic.IList? Type149 { get; set; }
///
///
///
- public global::Phoenix.GetSessionResponseBody? Type150 { get; set; }
+ public global::Phoenix.GetTracesResponseBody? Type150 { get; set; }
///
///
///
- public global::Phoenix.SessionData? Type151 { get; set; }
+ public global::System.Collections.Generic.IList? Type151 { get; set; }
///
///
///
- public global::Phoenix.GetSessionsResponseBody? Type152 { get; set; }
+ public global::Phoenix.TraceData? Type152 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type153 { get; set; }
+ public global::Phoenix.GetUsersResponseBody? Type153 { get; set; }
///
///
///
- public global::Phoenix.GetTracesResponseBody? Type154 { get; set; }
+ public global::System.Collections.Generic.IList? Type154 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type155 { get; set; }
+ public global::Phoenix.DataItem2? Type155 { get; set; }
///
///
///
- public global::Phoenix.TraceData? Type156 { get; set; }
+ public global::Phoenix.GetUsersResponseBodyDataItemDiscriminator? Type156 { get; set; }
///
///
///
- public global::Phoenix.GetUsersResponseBody? Type157 { get; set; }
+ public global::Phoenix.GetUsersResponseBodyDataItemDiscriminatorAuthMethod? Type157 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type158 { get; set; }
+ public global::Phoenix.GetViewerResponseBody? Type158 { get; set; }
///
///
///
- public global::Phoenix.DataItem2? Type159 { get; set; }
+ public global::Phoenix.Data5? Type159 { get; set; }
///
///
///
- public global::Phoenix.GetUsersResponseBodyDataItemDiscriminator? Type160 { get; set; }
+ public global::Phoenix.GetViewerResponseBodyDataDiscriminator? Type160 { get; set; }
///
///
///
- public global::Phoenix.GetUsersResponseBodyDataItemDiscriminatorAuthMethod? Type161 { get; set; }
+ public global::Phoenix.GetViewerResponseBodyDataDiscriminatorAuthMethod? Type161 { get; set; }
///
///
///
- public global::Phoenix.GetViewerResponseBody? Type162 { get; set; }
+ public global::Phoenix.HTTPValidationError? Type162 { get; set; }
///
///
///
- public global::Phoenix.Data5? Type163 { get; set; }
+ public global::System.Collections.Generic.IList? Type163 { get; set; }
///
///
///
- public global::Phoenix.GetViewerResponseBodyDataDiscriminator? Type164 { get; set; }
+ public global::Phoenix.ValidationError? Type164 { get; set; }
///
///
///
- public global::Phoenix.GetViewerResponseBodyDataDiscriminatorAuthMethod? Type165 { get; set; }
+ public global::System.Collections.Generic.IList? Type165 { get; set; }
///
///
///
- public global::Phoenix.HTTPValidationError? Type166 { get; set; }
+ public global::Phoenix.LDAPUserRole? Type166 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type167 { get; set; }
+ public global::Phoenix.LDAPUserDataRole? Type167 { get; set; }
///
///
///
- public global::Phoenix.ValidationError? Type168 { get; set; }
+ public global::Phoenix.ListDatasetExamplesData? Type168 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type169 { get; set; }
+ public global::System.Collections.Generic.IList? Type169 { get; set; }
///
///
///
- public global::Phoenix.LDAPUserRole? Type170 { get; set; }
+ public global::Phoenix.ListDatasetExamplesResponseBody? Type170 { get; set; }
///
///
///
- public global::Phoenix.LDAPUserDataRole? Type171 { get; set; }
+ public global::Phoenix.ListDatasetVersionsResponseBody? Type171 { get; set; }
///
///
///
- public global::Phoenix.ListDatasetExamplesData? Type172 { get; set; }
+ public global::System.Collections.Generic.IList? Type172 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type173 { get; set; }
+ public global::Phoenix.ListDatasetsResponseBody? Type173 { get; set; }
///
///
///
- public global::Phoenix.ListDatasetExamplesResponseBody? Type174 { get; set; }
+ public global::System.Collections.Generic.IList? Type174 { get; set; }
///
///
///
- public global::Phoenix.ListDatasetVersionsResponseBody? Type175 { get; set; }
+ public global::Phoenix.ListExperimentRunsResponseBody? Type175 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type176 { get; set; }
+ public global::System.Collections.Generic.IList? Type176 { get; set; }
///
///
///
- public global::Phoenix.ListDatasetsResponseBody? Type177 { get; set; }
+ public global::Phoenix.ListExperimentsResponseBody? Type177 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type178 { get; set; }
+ public global::System.Collections.Generic.IList? Type178 { get; set; }
///
///
///
- public global::Phoenix.ListExperimentRunsResponseBody? Type179 { get; set; }
+ public global::Phoenix.LocalUserRole? Type179 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type180 { get; set; }
+ public global::Phoenix.LocalUserDataRole? Type180 { get; set; }
///
///
///
- public global::Phoenix.ListExperimentsResponseBody? Type181 { get; set; }
+ public global::Phoenix.ModelProvider? Type181 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type182 { get; set; }
+ public global::Phoenix.OAuth2UserRole? Type182 { get; set; }
///
///
///
- public global::Phoenix.LocalUserRole? Type183 { get; set; }
+ public global::Phoenix.OAuth2UserDataRole? Type183 { get; set; }
///
///
///
- public global::Phoenix.LocalUserDataRole? Type184 { get; set; }
+ public global::Phoenix.OtlpAnyValue? Type184 { get; set; }
///
///
///
- public global::Phoenix.OAuth2UserRole? Type185 { get; set; }
+ public global::Phoenix.OtlpArrayValue? Type185 { get; set; }
///
///
///
- public global::Phoenix.OAuth2UserDataRole? Type186 { get; set; }
+ public global::Phoenix.AnyOf? Type186 { get; set; }
///
///
///
- public global::Phoenix.OtlpAnyValue? Type187 { get; set; }
+ public global::Phoenix.OtlpDoubleValue? Type187 { get; set; }
///
///
///
- public global::Phoenix.OtlpArrayValue? Type188 { get; set; }
+ public global::Phoenix.AnyOf? Type188 { get; set; }
///
///
///
- public global::Phoenix.AnyOf? Type189 { get; set; }
+ public global::System.Collections.Generic.IList? Type189 { get; set; }
///
///
///
- public global::Phoenix.OtlpDoubleValue? Type190 { get; set; }
+ public global::Phoenix.OtlpEvent? Type190 { get; set; }
///
///
///
- public global::Phoenix.AnyOf? Type191 { get; set; }
+ public global::System.Collections.Generic.IList? Type191 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type192 { get; set; }
+ public global::Phoenix.OtlpKeyValue? Type192 { get; set; }
///
///
///
- public global::Phoenix.OtlpEvent? Type193 { get; set; }
+ public global::Phoenix.AnyOf? Type193 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type194 { get; set; }
+ public long? Type194 { get; set; }
///
///
///
- public global::Phoenix.OtlpKeyValue? Type195 { get; set; }
+ public global::Phoenix.OtlpKind? Type195 { get; set; }
///
///
///
- public global::Phoenix.AnyOf? Type196 { get; set; }
+ public global::Phoenix.OtlpSpan? Type196 { get; set; }
///
///
///
- public long? Type197 { get; set; }
+ public global::System.Collections.Generic.IList? Type197 { get; set; }
///
///
///
- public global::Phoenix.OtlpKind? Type198 { get; set; }
+ public global::Phoenix.AnyOf? Type198 { get; set; }
///
///
///
- public global::Phoenix.OtlpSpan? Type199 { get; set; }
+ public global::Phoenix.OtlpStatus? Type199 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type200 { get; set; }
+ public global::Phoenix.OtlpSpansResponseBody? Type200 { get; set; }
///
///
///
- public global::Phoenix.AnyOf? Type201 { get; set; }
+ public global::System.Collections.Generic.IList? Type201 { get; set; }
///
///
///
- public global::Phoenix.OtlpStatus? Type202 { get; set; }
+ public global::Phoenix.ProjectContext? Type202 { get; set; }
///
///
///
- public global::Phoenix.OtlpSpansResponseBody? Type203 { get; set; }
+ public global::Phoenix.PromptAnthropicInvocationParameters? Type203 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type204 { get; set; }
+ public global::Phoenix.PromptAnthropicInvocationParametersContent? Type204 { get; set; }
///
///
///
- public global::Phoenix.ProjectContext? Type205 { get; set; }
+ public global::Phoenix.PromptAnthropicOutputConfig? Type205 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicInvocationParameters? Type206 { get; set; }
+ public global::Phoenix.Thinking? Type206 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicInvocationParametersContent? Type207 { get; set; }
+ public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type207 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicOutputConfig? Type208 { get; set; }
+ public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type208 { get; set; }
///
///
///
- public global::Phoenix.Thinking? Type209 { get; set; }
+ public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type209 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type210 { get; set; }
+ public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type210 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type211 { get; set; }
+ public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type211 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type212 { get; set; }
+ public global::Phoenix.PromptAnthropicOutputConfigEffort? Type212 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type213 { get; set; }
+ public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type213 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type214 { get; set; }
+ public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type214 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicOutputConfigEffort? Type215 { get; set; }
+ public global::Phoenix.PromptAwsInvocationParameters? Type215 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type216 { get; set; }
+ public global::Phoenix.PromptAwsInvocationParametersContent? Type216 { get; set; }
///
///
///
- public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type217 { get; set; }
+ public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type217 { get; set; }
///
///
///
- public global::Phoenix.PromptAwsInvocationParameters? Type218 { get; set; }
+ public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type218 { get; set; }
///
///
///
- public global::Phoenix.PromptAwsInvocationParametersContent? Type219 { get; set; }
+ public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type219 { get; set; }
///
///
///
- public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type220 { get; set; }
+ public global::Phoenix.PromptCerebrasInvocationParameters? Type220 { get; set; }
///
///
///
- public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type221 { get; set; }
+ public global::Phoenix.PromptCerebrasInvocationParametersContent? Type221 { get; set; }
///
///
///
- public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type222 { get; set; }
+ public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type222 { get; set; }
///
///
///
- public global::Phoenix.PromptCerebrasInvocationParameters? Type223 { get; set; }
+ public global::Phoenix.PromptChatTemplate? Type223 { get; set; }
///
///
///
- public global::Phoenix.PromptCerebrasInvocationParametersContent? Type224 { get; set; }
+ public global::System.Collections.Generic.IList? Type224 { get; set; }
///
///
///
- public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type225 { get; set; }
+ public global::Phoenix.PromptMessage? Type225 { get; set; }
///
///
///
- public global::Phoenix.PromptChatTemplate? Type226 { get; set; }
+ public global::Phoenix.PromptDeepSeekInvocationParameters? Type226 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type227 { get; set; }
+ public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type227 { get; set; }
///
///
///
- public global::Phoenix.PromptMessage? Type228 { get; set; }
+ public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type228 { get; set; }
///
///
///
- public global::Phoenix.PromptDeepSeekInvocationParameters? Type229 { get; set; }
+ public global::Phoenix.PromptFireworksInvocationParameters? Type229 { get; set; }
///
///
///
- public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type230 { get; set; }
+ public global::Phoenix.PromptFireworksInvocationParametersContent? Type230 { get; set; }
///
///
///
- public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type231 { get; set; }
+ public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type231 { get; set; }
///
///
///
- public global::Phoenix.PromptFireworksInvocationParameters? Type232 { get; set; }
+ public global::Phoenix.PromptGoogleInvocationParameters? Type232 { get; set; }
///
///
///
- public global::Phoenix.PromptFireworksInvocationParametersContent? Type233 { get; set; }
+ public global::Phoenix.PromptGoogleInvocationParametersContent? Type233 { get; set; }
///
///
///
- public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type234 { get; set; }
+ public global::Phoenix.PromptGoogleThinkingConfig? Type234 { get; set; }
///
///
///
- public global::Phoenix.PromptGoogleInvocationParameters? Type235 { get; set; }
+ public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type235 { get; set; }
///
///
///
- public global::Phoenix.PromptGoogleInvocationParametersContent? Type236 { get; set; }
+ public global::Phoenix.PromptGroqInvocationParameters? Type236 { get; set; }
///
///
///
- public global::Phoenix.PromptGoogleThinkingConfig? Type237 { get; set; }
+ public global::Phoenix.PromptGroqInvocationParametersContent? Type237 { get; set; }
///
///
///
- public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type238 { get; set; }
+ public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type238 { get; set; }
///
///
///
- public global::Phoenix.PromptGroqInvocationParameters? Type239 { get; set; }
+ public global::Phoenix.PromptMessageRole? Type239 { get; set; }
///
///
///
- public global::Phoenix.PromptGroqInvocationParametersContent? Type240 { get; set; }
+ public global::Phoenix.AnyOf>? Type240 { get; set; }
///
///
///
- public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type241 { get; set; }
+ public global::System.Collections.Generic.IList? Type241 { get; set; }
///
///
///
- public global::Phoenix.PromptMessageRole? Type242 { get; set; }
+ public global::Phoenix.ContentVariant2Item? Type242 { get; set; }
///
///
///
- public global::Phoenix.AnyOf>? Type243 { get; set; }
+ public global::Phoenix.TextContentPart? Type243 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type244 { get; set; }
+ public global::Phoenix.ToolCallContentPart? Type244 { get; set; }
///
///
///
- public global::Phoenix.ContentVariant2Item? Type245 { get; set; }
+ public global::Phoenix.ToolResultContentPart? Type245 { get; set; }
///
///
///
- public global::Phoenix.TextContentPart? Type246 { get; set; }
+ public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type246 { get; set; }
///
///
///
- public global::Phoenix.ToolCallContentPart? Type247 { get; set; }
+ public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type247 { get; set; }
///
///
///
- public global::Phoenix.ToolResultContentPart? Type248 { get; set; }
+ public global::Phoenix.PromptMoonshotInvocationParameters? Type248 { get; set; }
///
///
///
- public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type249 { get; set; }
+ public global::Phoenix.PromptMoonshotInvocationParametersContent? Type249 { get; set; }
///
///
///
- public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type250 { get; set; }
+ public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type250 { get; set; }
///
///
///
- public global::Phoenix.PromptMoonshotInvocationParameters? Type251 { get; set; }
+ public global::Phoenix.PromptOllamaInvocationParameters? Type251 { get; set; }
///
///
///
- public global::Phoenix.PromptMoonshotInvocationParametersContent? Type252 { get; set; }
+ public global::Phoenix.PromptOllamaInvocationParametersContent? Type252 { get; set; }
///
///
///
- public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type253 { get; set; }
+ public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type253 { get; set; }
///
///
///
- public global::Phoenix.PromptOllamaInvocationParameters? Type254 { get; set; }
+ public global::Phoenix.PromptOpenAIInvocationParameters? Type254 { get; set; }
///
///
///
- public global::Phoenix.PromptOllamaInvocationParametersContent? Type255 { get; set; }
+ public global::Phoenix.PromptOpenAIInvocationParametersContent? Type255 { get; set; }
///
///
///
- public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type256 { get; set; }
+ public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type256 { get; set; }
///
///
///
- public global::Phoenix.PromptOpenAIInvocationParameters? Type257 { get; set; }
+ public global::Phoenix.PromptPerplexityInvocationParameters? Type257 { get; set; }
///
///
///
- public global::Phoenix.PromptOpenAIInvocationParametersContent? Type258 { get; set; }
+ public global::Phoenix.PromptPerplexityInvocationParametersContent? Type258 { get; set; }
///
///
///
- public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type259 { get; set; }
+ public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type259 { get; set; }
///
///
///
- public global::Phoenix.PromptPerplexityInvocationParameters? Type260 { get; set; }
+ public global::Phoenix.PromptResponseFormatJSONSchema? Type260 { get; set; }
///
///
///
- public global::Phoenix.PromptPerplexityInvocationParametersContent? Type261 { get; set; }
+ public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type261 { get; set; }
///
///
///
- public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type262 { get; set; }
+ public global::Phoenix.PromptStringTemplate? Type262 { get; set; }
///
///
///
- public global::Phoenix.PromptResponseFormatJSONSchema? Type263 { get; set; }
+ public global::Phoenix.PromptTemplateFormat? Type263 { get; set; }
///
///
///
- public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type264 { get; set; }
+ public global::Phoenix.PromptTemplateType? Type264 { get; set; }
///
///
///
- public global::Phoenix.PromptStringTemplate? Type265 { get; set; }
+ public global::Phoenix.PromptTogetherInvocationParameters? Type265 { get; set; }
///
///
///
- public global::Phoenix.PromptTemplateFormat? Type266 { get; set; }
+ public global::Phoenix.PromptTogetherInvocationParametersContent? Type266 { get; set; }
///
///
///
- public global::Phoenix.PromptTemplateType? Type267 { get; set; }
+ public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type267 { get; set; }
///
///
///
- public global::Phoenix.PromptTogetherInvocationParameters? Type268 { get; set; }
+ public global::Phoenix.PromptToolChoiceNone? Type268 { get; set; }
///
///
///
- public global::Phoenix.PromptTogetherInvocationParametersContent? Type269 { get; set; }
+ public global::Phoenix.PromptToolChoiceOneOrMore? Type269 { get; set; }
///
///
///
- public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type270 { get; set; }
+ public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type270 { get; set; }
///
///
///
- public global::Phoenix.PromptToolChoiceNone? Type271 { get; set; }
+ public global::Phoenix.PromptToolChoiceZeroOrMore? Type271 { get; set; }
///
///
///
- public global::Phoenix.PromptToolChoiceOneOrMore? Type272 { get; set; }
+ public global::Phoenix.PromptToolFunction? Type272 { get; set; }
///
///
///
- public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type273 { get; set; }
+ public global::Phoenix.PromptToolFunctionDefinition? Type273 { get; set; }
///
///
///
- public global::Phoenix.PromptToolChoiceZeroOrMore? Type274 { get; set; }
+ public global::Phoenix.PromptToolRaw? Type274 { get; set; }
///
///
///
- public global::Phoenix.PromptToolFunction? Type275 { get; set; }
+ public global::Phoenix.PromptTools? Type275 { get; set; }
///
///
///
- public global::Phoenix.PromptToolFunctionDefinition? Type276 { get; set; }
+ public global::System.Collections.Generic.IList? Type276 { get; set; }
///
///
///
- public global::Phoenix.PromptToolRaw? Type277 { get; set; }
+ public global::Phoenix.ToolsItem? Type277 { get; set; }
///
///
///
- public global::Phoenix.PromptTools? Type278 { get; set; }
+ public global::Phoenix.PromptToolsToolDiscriminator? Type278 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type279 { get; set; }
+ public global::Phoenix.PromptToolsToolDiscriminatorType? Type279 { get; set; }
///
///
///
- public global::Phoenix.ToolsItem? Type280 { get; set; }
+ public global::Phoenix.ToolChoice? Type280 { get; set; }
///
///
///
- public global::Phoenix.PromptToolsToolDiscriminator? Type281 { get; set; }
+ public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type281 { get; set; }
///
///
///
- public global::Phoenix.PromptToolsToolDiscriminatorType? Type282 { get; set; }
+ public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type282 { get; set; }
///
///
///
- public global::Phoenix.ToolChoice? Type283 { get; set; }
+ public global::Phoenix.Template? Type283 { get; set; }
///
///
///
- public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type284 { get; set; }
+ public global::Phoenix.PromptVersionTemplateDiscriminator? Type284 { get; set; }
///
///
///
- public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type285 { get; set; }
+ public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type285 { get; set; }
///
///
///
- public global::Phoenix.Template? Type286 { get; set; }
+ public global::Phoenix.InvocationParameters? Type286 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionTemplateDiscriminator? Type287 { get; set; }
+ public global::Phoenix.PromptXAIInvocationParameters? Type287 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type288 { get; set; }
+ public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type288 { get; set; }
///
///
///
- public global::Phoenix.InvocationParameters? Type289 { get; set; }
+ public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type289 { get; set; }
///
///
///
- public global::Phoenix.PromptXAIInvocationParameters? Type290 { get; set; }
+ public global::Phoenix.ResponseFormatVariant1? Type290 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type291 { get; set; }
+ public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type291 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type292 { get; set; }
+ public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type292 { get; set; }
///
///
///
- public global::Phoenix.ResponseFormatVariant1? Type293 { get; set; }
+ public global::Phoenix.Template2? Type293 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type294 { get; set; }
+ public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type294 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type295 { get; set; }
+ public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type295 { get; set; }
///
///
///
- public global::Phoenix.Template2? Type296 { get; set; }
+ public global::Phoenix.InvocationParameters2? Type296 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type297 { get; set; }
+ public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type297 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type298 { get; set; }
+ public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type298 { get; set; }
///
///
///
- public global::Phoenix.InvocationParameters2? Type299 { get; set; }
+ public global::Phoenix.ResponseFormatVariant12? Type299 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type300 { get; set; }
+ public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type300 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type301 { get; set; }
+ public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type301 { get; set; }
///
///
///
- public global::Phoenix.ResponseFormatVariant12? Type302 { get; set; }
+ public global::Phoenix.PromptVersionTagData? Type302 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type303 { get; set; }
+ public global::Phoenix.PromptXAIInvocationParametersContent? Type303 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type304 { get; set; }
+ public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type304 { get; set; }
///
///
///
- public global::Phoenix.PromptVersionTagData? Type305 { get; set; }
+ public global::Phoenix.ReasoningUIPart? Type305 { get; set; }
///
///
///
- public global::Phoenix.PromptXAIInvocationParametersContent? Type306 { get; set; }
+ public global::Phoenix.ReasoningUIPartState2? Type306 { get; set; }
///
///
///
- public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type307 { get; set; }
+ public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type307 { get; set; }
///
///
///
- public global::Phoenix.ReasoningUIPart? Type308 { get; set; }
+ public global::Phoenix.UpsertOrDeleteSecretsResult? Type308 { get; set; }
///
///
///
- public global::Phoenix.ReasoningUIPartState2? Type309 { get; set; }
+ public global::Phoenix.SecretKeyValue? Type309 { get; set; }
///
///
///
- public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type310 { get; set; }
+ public global::Phoenix.SessionAnnotation? Type310 { get; set; }
///
///
///
- public global::Phoenix.UpsertOrDeleteSecretsResult? Type311 { get; set; }
+ public global::Phoenix.SessionAnnotationSource? Type311 { get; set; }
///
///
///
- public global::Phoenix.SecretKeyValue? Type312 { get; set; }
+ public global::Phoenix.SessionAnnotationAnnotatorKind? Type312 { get; set; }
///
///
///
- public global::Phoenix.SessionAnnotation? Type313 { get; set; }
+ public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type313 { get; set; }
///
///
///
- public global::Phoenix.SessionAnnotationSource? Type314 { get; set; }
+ public global::Phoenix.SessionAnnotationsResponseBody? Type314 { get; set; }
///
///
///
- public global::Phoenix.SessionAnnotationAnnotatorKind? Type315 { get; set; }
+ public global::System.Collections.Generic.IList? Type315 { get; set; }
///
///
///
- public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type316 { get; set; }
+ public global::System.Collections.Generic.IList? Type316 { get; set; }
///
///
///
- public global::Phoenix.SessionAnnotationsResponseBody? Type317 { get; set; }
+ public global::Phoenix.SessionTraceData? Type317 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type318 { get; set; }
+ public global::Phoenix.SourceDocumentUIPart? Type318 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type319 { get; set; }
+ public global::Phoenix.SourceUrlUIPart? Type319 { get; set; }
///
///
///
- public global::Phoenix.SessionTraceData? Type320 { get; set; }
+ public global::Phoenix.SpanContext? Type320 { get; set; }
///
///
///
- public global::Phoenix.SourceDocumentUIPart? Type321 { get; set; }
+ public global::System.Collections.Generic.IList? Type321 { get; set; }
///
///
///
- public global::Phoenix.SourceUrlUIPart? Type322 { get; set; }
+ public global::Phoenix.SpanEvent? Type322 { get; set; }
///
///
///
- public global::Phoenix.SpanContext? Type323 { get; set; }
+ public global::Phoenix.SpanAnnotation? Type323 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type324 { get; set; }
+ public global::Phoenix.SpanAnnotationSource? Type324 { get; set; }
///
///
///
- public global::Phoenix.SpanEvent? Type325 { get; set; }
+ public global::Phoenix.SpanAnnotationAnnotatorKind? Type325 { get; set; }
///
///
///
- public global::Phoenix.SpanAnnotation? Type326 { get; set; }
+ public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type326 { get; set; }
///
///
///
- public global::Phoenix.SpanAnnotationSource? Type327 { get; set; }
+ public global::Phoenix.SpanAnnotationsResponseBody? Type327 { get; set; }
///
///
///
- public global::Phoenix.SpanAnnotationAnnotatorKind? Type328 { get; set; }
+ public global::System.Collections.Generic.IList? Type328 { get; set; }
///
///
///
- public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type329 { get; set; }
+ public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type329 { get; set; }
///
///
///
- public global::Phoenix.SpanAnnotationsResponseBody? Type330 { get; set; }
+ public global::Phoenix.SpansResponseBody? Type330 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type331 { get; set; }
+ public global::Phoenix.StepStartUIPart? Type331 { get; set; }
///
///
///
- public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type332 { get; set; }
+ public global::Phoenix.TextUIPart? Type332 { get; set; }
///
///
///
- public global::Phoenix.SpansResponseBody? Type333 { get; set; }
+ public global::Phoenix.TextUIPartState2? Type333 { get; set; }
///
///
///
- public global::Phoenix.StepStartUIPart? Type334 { get; set; }
+ public global::Phoenix.ToolApprovalRequestedPart? Type334 { get; set; }
///
///
///
- public global::Phoenix.TextUIPart? Type335 { get; set; }
+ public global::Phoenix.ToolApprovalRespondedPart? Type335 { get; set; }
///
///
///
- public global::Phoenix.TextUIPartState2? Type336 { get; set; }
+ public global::Phoenix.ToolCallFunction? Type336 { get; set; }
///
///
///
- public global::Phoenix.ToolApprovalRequestedPart? Type337 { get; set; }
+ public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type337 { get; set; }
///
///
///
- public global::Phoenix.ToolApprovalRespondedPart? Type338 { get; set; }
+ public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type338 { get; set; }
///
///
///
- public global::Phoenix.ToolCallFunction? Type339 { get; set; }
+ public global::Phoenix.ToolInputAvailablePart? Type339 { get; set; }
///
///
///
- public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type340 { get; set; }
+ public global::Phoenix.ToolInputStreamingPart? Type340 { get; set; }
///
///
///
- public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type341 { get; set; }
+ public global::Phoenix.ToolOutputAvailablePart? Type341 { get; set; }
///
///
///
- public global::Phoenix.ToolInputAvailablePart? Type342 { get; set; }
+ public global::Phoenix.ToolOutputDeniedPart? Type342 { get; set; }
///
///
///
- public global::Phoenix.ToolInputStreamingPart? Type343 { get; set; }
+ public global::Phoenix.ToolOutputErrorPart? Type343 { get; set; }
///
///
///
- public global::Phoenix.ToolOutputAvailablePart? Type344 { get; set; }
+ public global::Phoenix.AnyOf, object>? Type344 { get; set; }
///
///
///
- public global::Phoenix.ToolOutputDeniedPart? Type345 { get; set; }
+ public global::System.Collections.Generic.IList