From c23c4a5911e104a449089090cdc07dda20453915 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Apr 2026 05:15:26 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/autosdk.generated-examples.json | 2 +- ...OpenAI.IOpenAiClient.CompactAResponse.g.cs | 2 + ...onConverters.PromptCacheRetentionEnum.g.cs | 53 +++ ...ters.PromptCacheRetentionEnumNullable.g.cs | 60 +++ .../tryAGI.OpenAI.JsonSerializerContext.g.cs | 5 + ...AGI.OpenAI.JsonSerializerContextTypes.g.cs | 406 +++++++++--------- ...odels.CompactResponseMethodPublicBody.g.cs | 11 +- ...odPublicBodyPromptCacheRetention.Json.g.cs | 92 ++++ ...eMethodPublicBodyPromptCacheRetention.g.cs | 18 + ...penAI.Models.PromptCacheRetentionEnum.g.cs | 51 +++ ....OpenAI.OpenAiClient.CompactAResponse.g.cs | 3 + src/libs/tryAGI.OpenAI/openapi.yaml | 10 + 12 files changed, 510 insertions(+), 203 deletions(-) create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnum.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PromptCacheRetentionEnum.g.cs diff --git a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json index d9645806..58f66f6c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json +++ b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json @@ -17,7 +17,7 @@ "Slug": "compactconversation", "Description": "Generated from OpenAPI examples.", "Language": "http", - "Code": "### Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).\n# @name Compactconversation\nPOST {{host}}/responses/compact\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022gpt-5.1\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022prompt_cache_key\u0022: \u0022string\u0022\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json", + "Code": "### Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).\n# @name Compactconversation\nPOST {{host}}/responses/compact\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022gpt-5.1\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022prompt_cache_key\u0022: \u0022string\u0022,\n \u0022prompt_cache_retention\u0022: \u0022in_memory\u0022\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json", "Format": "http", "OperationId": "Compactconversation", "Setup": null diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs index fa09a41d..4ce8c3a7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs @@ -28,6 +28,7 @@ public partial interface IOpenAiClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -37,6 +38,7 @@ public partial interface IOpenAiClient string? previousResponseId = default, string? instructions = default, string? promptCacheKey = default, + global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention = default, global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnum.g.cs new file mode 100644 index 00000000..bea8e7d8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnum.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class PromptCacheRetentionEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.PromptCacheRetentionEnum Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.PromptCacheRetentionEnumExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.PromptCacheRetentionEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.PromptCacheRetentionEnum); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.PromptCacheRetentionEnum value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.PromptCacheRetentionEnumExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullable.g.cs new file mode 100644 index 00000000..3a518655 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class PromptCacheRetentionEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.PromptCacheRetentionEnum? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.PromptCacheRetentionEnumExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.PromptCacheRetentionEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.PromptCacheRetentionEnum?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.PromptCacheRetentionEnum? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.PromptCacheRetentionEnumExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs index 2b35d231..2969214d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -3781,6 +3781,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CompactResourceObjectNullableJsonConverter), @@ -7246,6 +7250,7 @@ namespace tryAGI.OpenAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsBody))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResourceObject), TypeInfoPropertyName = "TokenCountsResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PromptCacheRetentionEnum), TypeInfoPropertyName = "PromptCacheRetentionEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactResponseMethodPublicBody))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemField), TypeInfoPropertyName = "ItemField2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemFieldDiscriminator))] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs index b203520c..0fb39690 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -10068,807 +10068,811 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2510 { get; set; } + public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type2510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemField? Type2511 { get; set; } + public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2512 { get; set; } + public global::tryAGI.OpenAI.ItemField? Type2512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResource? Type2513 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResourceObject? Type2514 { get; set; } + public global::tryAGI.OpenAI.CompactResource? Type2514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2515 { get; set; } + public global::tryAGI.OpenAI.CompactResourceObject? Type2515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResource? Type2516 { get; set; } + public global::System.Collections.Generic.IList? Type2516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResourceObject? Type2517 { get; set; } + public global::tryAGI.OpenAI.SkillResource? Type2517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResource? Type2518 { get; set; } + public global::tryAGI.OpenAI.SkillResourceObject? Type2518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResourceObject? Type2519 { get; set; } + public global::tryAGI.OpenAI.SkillListResource? Type2519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2520 { get; set; } + public global::tryAGI.OpenAI.SkillListResourceObject? Type2520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillBody? Type2521 { get; set; } + public global::System.Collections.Generic.IList? Type2521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? Type2522 { get; set; } + public global::tryAGI.OpenAI.CreateSkillBody? Type2522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2523 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? Type2523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResource? Type2524 { get; set; } + public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2525 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResource? Type2525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResource? Type2526 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2527 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResource? Type2527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResource? Type2528 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2529 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResource? Type2529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2530 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2531 { get; set; } + public global::System.Collections.Generic.IList? Type2531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2532 { get; set; } + public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2533 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2534 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflow? Type2535 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2536 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflow? Type2536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2537 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionStatus? Type2538 { get; set; } + public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2539 { get; set; } + public global::tryAGI.OpenAI.ChatSessionStatus? Type2539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2540 { get; set; } + public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionHistory? Type2541 { get; set; } + public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2542 { get; set; } + public global::tryAGI.OpenAI.ChatSessionHistory? Type2542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResource? Type2543 { get; set; } + public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2544 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResource? Type2544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowTracingParam? Type2545 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowParam? Type2546 { get; set; } + public global::tryAGI.OpenAI.WorkflowTracingParam? Type2546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParam? Type2547 { get; set; } + public global::tryAGI.OpenAI.WorkflowParam? Type2547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2548 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParam? Type2548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RateLimitsParam? Type2549 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2550 { get; set; } + public global::tryAGI.OpenAI.RateLimitsParam? Type2550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileUploadParam? Type2551 { get; set; } + public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HistoryParam? Type2552 { get; set; } + public global::tryAGI.OpenAI.FileUploadParam? Type2552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2553 { get; set; } + public global::tryAGI.OpenAI.HistoryParam? Type2553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatSessionBody? Type2554 { get; set; } + public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputText? Type2555 { get; set; } + public global::tryAGI.OpenAI.CreateChatSessionBody? Type2555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputTextType? Type2556 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputText? Type2556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedText? Type2557 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputTextType? Type2557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2558 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedText? Type2558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AttachmentType? Type2559 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Attachment? Type2560 { get; set; } + public global::tryAGI.OpenAI.AttachmentType? Type2560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoice8? Type2561 { get; set; } + public global::tryAGI.OpenAI.Attachment? Type2561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InferenceOptions? Type2562 { get; set; } + public global::tryAGI.OpenAI.ToolChoice8? Type2562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItem? Type2563 { get; set; } + public global::tryAGI.OpenAI.InferenceOptions? Type2563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemObject? Type2564 { get; set; } + public global::tryAGI.OpenAI.UserMessageItem? Type2564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemType? Type2565 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemObject? Type2565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2566 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemType? Type2566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem4? Type2567 { get; set; } + public global::System.Collections.Generic.IList? Type2567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2568 { get; set; } + public global::tryAGI.OpenAI.ContentItem4? Type2568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2569 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSource? Type2570 { get; set; } + public global::System.Collections.Generic.IList? Type2570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2571 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSource? Type2571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotation? Type2572 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationType? Type2573 { get; set; } + public global::tryAGI.OpenAI.FileAnnotation? Type2573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSource? Type2574 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationType? Type2574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2575 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSource? Type2575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotation? Type2576 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationType? Type2577 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotation? Type2577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputText? Type2578 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationType? Type2578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextType? Type2579 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputText? Type2579 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2580 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextType? Type2580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem3? Type2581 { get; set; } + public global::System.Collections.Generic.IList? Type2581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2582 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem3? Type2582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItem? Type2583 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2584 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItem? Type2584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemType? Type2585 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2585 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2586 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemType? Type2586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItem? Type2587 { get; set; } + public global::System.Collections.Generic.IList? Type2587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2588 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItem? Type2588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemType? Type2589 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallStatus? Type2590 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemType? Type2590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItem? Type2591 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallStatus? Type2591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2592 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItem? Type2592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemType? Type2593 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskType? Type2594 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemType? Type2594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItem? Type2595 { get; set; } + public global::tryAGI.OpenAI.TaskType? Type2595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemObject? Type2596 { get; set; } + public global::tryAGI.OpenAI.TaskItem? Type2596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemType? Type2597 { get; set; } + public global::tryAGI.OpenAI.TaskItemObject? Type2597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupTask? Type2598 { get; set; } + public global::tryAGI.OpenAI.TaskItemType? Type2598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItem? Type2599 { get; set; } + public global::tryAGI.OpenAI.TaskGroupTask? Type2599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemObject? Type2600 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItem? Type2600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemType? Type2601 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemObject? Type2601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2602 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemType? Type2602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItem? Type2603 { get; set; } + public global::System.Collections.Generic.IList? Type2603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2604 { get; set; } + public global::tryAGI.OpenAI.ThreadItem? Type2604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResource? Type2605 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2606 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResource? Type2606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2607 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatus? Type2608 { get; set; } + public global::System.Collections.Generic.IList? Type2608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatusType? Type2609 { get; set; } + public global::tryAGI.OpenAI.ActiveStatus? Type2609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatus? Type2610 { get; set; } + public global::tryAGI.OpenAI.ActiveStatusType? Type2610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatusType? Type2611 { get; set; } + public global::tryAGI.OpenAI.LockedStatus? Type2611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatus? Type2612 { get; set; } + public global::tryAGI.OpenAI.LockedStatusType? Type2612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatusType? Type2613 { get; set; } + public global::tryAGI.OpenAI.ClosedStatus? Type2613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResource? Type2614 { get; set; } + public global::tryAGI.OpenAI.ClosedStatusType? Type2614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceObject? Type2615 { get; set; } + public global::tryAGI.OpenAI.ThreadResource? Type2615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Status? Type2616 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceObject? Type2616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2617 { get; set; } + public global::tryAGI.OpenAI.Status? Type2617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResource? Type2618 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2619 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResource? Type2619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResource? Type2620 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResourceObject? Type2621 { get; set; } + public global::tryAGI.OpenAI.ThreadListResource? Type2621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2622 { get; set; } + public global::tryAGI.OpenAI.ThreadListResourceObject? Type2622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragPoint? Type2623 { get; set; } + public global::System.Collections.Generic.IList? Type2623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type2624 { get; set; } + public global::tryAGI.OpenAI.DragPoint? Type2624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2625 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type2625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2626 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2627 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2628 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type2629 { get; set; } + public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2630 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type2630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type2631 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2632 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type2632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2633 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type2634 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2635 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type2635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2636 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type2637 { get; set; } + public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2638 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type2638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2639 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2640 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2641 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2642 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type2643 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2644 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type2644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2645 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2646 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2647 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2648 { get; set; } + public global::System.Collections.Generic.IList? Type2648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2649 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2650 { get; set; } + public global::System.Collections.Generic.IList? Type2650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2651 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2652 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2653 { get; set; } + public global::System.Collections.Generic.IList? Type2653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupsOrder? Type2654 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2655 { get; set; } + public global::tryAGI.OpenAI.ListGroupsOrder? Type2655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2656 { get; set; } + public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2657 { get; set; } + public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2658 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRolesOrder? Type2659 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2660 { get; set; } + public global::tryAGI.OpenAI.ListRolesOrder? Type2660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2661 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2662 { get; set; } + public global::System.Collections.Generic.IList? Type2662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2663 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2663 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2664 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2665 { get; set; } + public global::System.Collections.Generic.IList? Type2665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2666 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2667 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2668 { get; set; } + public global::System.Collections.Generic.IList? Type2668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2669 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2670 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2671 { get; set; } + public global::System.Collections.Generic.IList? Type2671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2672 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2673 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2674 { get; set; } + public global::System.Collections.Generic.IList? Type2674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2675 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2676 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type2677 { get; set; } + public global::System.Collections.Generic.IList? Type2677 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2678 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type2678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type2679 { get; set; } + public global::System.Collections.Generic.IList? Type2679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2680 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSize? Type2680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2681 { get; set; } + public global::System.Collections.Generic.IList? Type2681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2682 { get; set; } + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2683 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2684 { get; set; } + public global::System.Collections.Generic.IList? Type2684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2685 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2686 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2687 { get; set; } + public global::System.Collections.Generic.IList? Type2687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2688 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2689 { get; set; } + public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2690 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2691 { get; set; } + public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type2692 { get; set; } + public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type2693 { get; set; } + public global::tryAGI.OpenAI.ListInputItemsOrder? Type2693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type2694 { get; set; } + public global::tryAGI.OpenAI.ListMessagesOrder? Type2694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2695 { get; set; } + public global::tryAGI.OpenAI.ListRunsOrder? Type2695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2696 { get; set; } + public global::System.Collections.Generic.IList? Type2696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type2697 { get; set; } + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2698 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsOrder? Type2698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2699 { get; set; } + public global::System.Collections.Generic.IList? Type2699 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2700 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2701 { get; set; } + public global::System.Collections.Generic.IList? Type2701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2702 { get; set; } + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2703 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2704 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2705 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2706 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2707 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type2708 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2709 { get; set; } + public global::tryAGI.OpenAI.DeleteEvalResponse? Type2709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2710 { get; set; } + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2710 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2711 { get; set; } /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs index a78d08b2..f1957c0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs @@ -40,6 +40,12 @@ public sealed partial class CompactResponseMethodPublicBody [global::System.Text.Json.Serialization.JsonPropertyName("prompt_cache_key")] public string? PromptCacheKey { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt_cache_retention")] + public global::tryAGI.OpenAI.PromptCacheRetentionEnum? PromptCacheRetention { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -56,6 +62,7 @@ public sealed partial class CompactResponseMethodPublicBody /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,13 +71,15 @@ public CompactResponseMethodPublicBody( global::tryAGI.OpenAI.OneOf>? input, string? previousResponseId, string? instructions, - string? promptCacheKey) + string? promptCacheKey, + global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention) { this.Model = model; this.Input = input; this.PreviousResponseId = previousResponseId; this.Instructions = instructions; this.PromptCacheKey = promptCacheKey; + this.PromptCacheRetention = promptCacheRetention; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.Json.g.cs new file mode 100644 index 00000000..ca24272c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CompactResponseMethodPublicBodyPromptCacheRetention + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention), + jsonSerializerContext) as global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CompactResponseMethodPublicBodyPromptCacheRetention; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.g.cs new file mode 100644 index 00000000..e65ba21d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyPromptCacheRetention.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CompactResponseMethodPublicBodyPromptCacheRetention + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PromptCacheRetentionEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PromptCacheRetentionEnum.g.cs new file mode 100644 index 00000000..53ebd4e0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PromptCacheRetentionEnum.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum PromptCacheRetentionEnum + { + /// + /// + /// + x24h, + /// + /// + /// + InMemory, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PromptCacheRetentionEnumExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PromptCacheRetentionEnum value) + { + return value switch + { + PromptCacheRetentionEnum.x24h => "24h", + PromptCacheRetentionEnum.InMemory => "in_memory", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static PromptCacheRetentionEnum? ToEnum(string value) + { + return value switch + { + "24h" => PromptCacheRetentionEnum.x24h, + "in_memory" => PromptCacheRetentionEnum.InMemory, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs index 8e669f5b..a6957128 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs @@ -398,6 +398,7 @@ partial void ProcessCompactAResponseResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -407,6 +408,7 @@ partial void ProcessCompactAResponseResponseContent( string? previousResponseId = default, string? instructions = default, string? promptCacheKey = default, + global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention = default, global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -417,6 +419,7 @@ partial void ProcessCompactAResponseResponseContent( PreviousResponseId = previousResponseId, Instructions = instructions, PromptCacheKey = promptCacheKey, + PromptCacheRetention = promptCacheRetention, }; return await CompactAResponseAsync( diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 803ebcdc..79d7a9cc 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -71656,6 +71656,11 @@ components: example: object: response.input_tokens input_tokens: 123 + PromptCacheRetentionEnum: + type: string + enum: + - in_memory + - 24h CompactResponseMethodPublicBody: properties: model: @@ -71706,6 +71711,11 @@ components: maxLength: 64 description: A key to use when reading from or writing to the prompt cache. - type: 'null' + prompt_cache_retention: + anyOf: + - $ref: '#/components/schemas/PromptCacheRetentionEnum' + description: How long to retain a prompt cache entry created by this request. + - type: 'null' type: object required: - model