diff --git a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json index ec3e816a4..260bb68ac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json +++ b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json @@ -50,7 +50,7 @@ "Slug": "createtranscription", "Description": "Transcribes audio into the input language.\n\nReturns a transcription object in \u0060json\u0060, \u0060diarized_json\u0060, or \u0060verbose_json\u0060\nformat, plain text in \u0060text\u0060, \u0060srt\u0060, or \u0060vtt\u0060 format, or a stream of\ntranscript events. Supported formats depend on the model.", "Language": "http", - "Code": "### Create transcription\n# @name createTranscription\nPOST {{host}}/audio/transcriptions\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json, text/event-stream, text/plain\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022file\u0022; filename=\u0022file.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./file.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022model\u0022\n\ngpt-4o-transcribe\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022language\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022languages\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022keywords\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022response_format\u0022\n\njson\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022temperature\u0022\n\n0\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022include\u0022\n\n[]\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022timestamp_granularities\u0022\n\nword\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022stream\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022chunking_strategy\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022known_speaker_names\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022known_speaker_references\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: OK\n# Content-Type: application/json, text/event-stream, text/plain\n# 400\n# Description: Invalid audio input or request parameters.\n# Content-Type: application/json\n# 401\n# Description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized.\n# Content-Type: application/json, text/plain\n# 403\n# Description: Access to a personal API organization is blocked by the organization policy.\n# Content-Type: text/plain\n# 413\n# Description: The audio request exceeds the supported size limit.\n# Content-Type: application/json\n# 429\n# Description: The request was rejected because a rate limit was exceeded. A slow_down error means traffic increased too quickly; reduce your request rate, then increase it gradually.\n# Content-Type: application/json\n# 500\n# Description: The audio could not be processed.\n# Content-Type: application/json\n# 502\n# Description: The upstream audio service connection failed.\n# Content-Type: application/json\n# 503\n# Description: The service is temporarily unavailable. A server_is_overloaded error means the requested model is temporarily overloaded; retry after a brief delay.\n# Content-Type: application/json", + "Code": "### Create transcription\n# @name createTranscription\nPOST {{host}}/audio/transcriptions\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json, text/event-stream, text/plain\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022file\u0022; filename=\u0022file.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./file.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022model\u0022\n\ngpt-4o-transcribe\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022language\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022languages\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022keywords\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022response_format\u0022\n\njson\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022temperature\u0022\n\n0\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022include\u0022\n\nlogprobs\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022timestamp_granularities\u0022\n\nword\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022stream\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022chunking_strategy\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022known_speaker_names\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022known_speaker_references\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: OK\n# Content-Type: application/json, text/event-stream, text/plain\n# 400\n# Description: Invalid audio input or request parameters.\n# Content-Type: application/json\n# 401\n# Description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized.\n# Content-Type: application/json, text/plain\n# 403\n# Description: Access to a personal API organization is blocked by the organization policy.\n# Content-Type: text/plain\n# 413\n# Description: The audio request exceeds the supported size limit.\n# Content-Type: application/json\n# 429\n# Description: The request was rejected because a rate limit was exceeded. A slow_down error means traffic increased too quickly; reduce your request rate, then increase it gradually.\n# Content-Type: application/json\n# 500\n# Description: The audio could not be processed.\n# Content-Type: application/json\n# 502\n# Description: The upstream audio service connection failed.\n# Content-Type: application/json\n# 503\n# Description: The service is temporarily unavailable. A server_is_overloaded error means the requested model is temporarily overloaded; retry after a brief delay.\n# Content-Type: application/json", "Format": "http", "OperationId": "createTranscription", "Setup": null diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironmentTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironmentTemplate.g.cs index d242416fb..c2cb1e38e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironmentTemplate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.CreateAgentEnvironmentTemplate.g.cs @@ -666,7 +666,7 @@ partial void ProcessCreateAgentEnvironmentTemplateResponseContent( /// Ordered, confidential setup commands. Command bodies are never returned. /// /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// /// /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.UpdateAgentEnvironmentTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.UpdateAgentEnvironmentTemplate.g.cs index be7f28cd5..b0390d8e7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.UpdateAgentEnvironmentTemplate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AgentsClient.UpdateAgentEnvironmentTemplate.g.cs @@ -716,7 +716,7 @@ partial void ProcessUpdateAgentEnvironmentTemplateResponseContent( /// Replacement confidential setup commands, never included in returned resources. /// /// - /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to disabled for GA requests or enabled for beta requests. + /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to the default policy. /// /// /// Replacement desktop configuration, or null to disable the desktop. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironmentTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironmentTemplate.g.cs index a7accb2ca..b1893e02a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironmentTemplate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.CreateAgentEnvironmentTemplate.g.cs @@ -41,7 +41,7 @@ public partial interface IAgentsClient /// Ordered, confidential setup commands. Command bodies are never returned. /// /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// /// /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.UpdateAgentEnvironmentTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.UpdateAgentEnvironmentTemplate.g.cs index 88a1a44f1..6f0415faf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.UpdateAgentEnvironmentTemplate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAgentsClient.UpdateAgentEnvironmentTemplate.g.cs @@ -49,7 +49,7 @@ public partial interface IAgentsClient /// Replacement confidential setup commands, never included in returned resources. /// /// - /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to disabled for GA requests or enabled for beta requests. + /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to the default policy. /// /// /// Replacement desktop configuration, or null to disable the desktop. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDelta.g.cs index 2e83cf4e5..130af932d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDelta.g.cs @@ -6,7 +6,9 @@ namespace tryAGI.OpenAI { /// - /// A chat completion delta generated by streamed model responses. + /// A chat completion delta generated by streamed model responses.
+ /// Streamed audio can arrive in partial updates with an ID, base64 data, or
+ /// transcript text. The final audio update contains only its expiry timestamp. ///
public sealed partial class ChatCompletionStreamResponseDelta { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs index 238e79df1..380182930 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs @@ -30,7 +30,7 @@ public sealed partial class ConversationResource /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary Metadata { get; set; } /// /// The time at which the conversation was created, measured in seconds since the Unix epoch. @@ -67,7 +67,7 @@ public sealed partial class ConversationResource #endif public ConversationResource( string id, - object metadata, + global::System.Collections.Generic.Dictionary metadata, int createdAt, global::tryAGI.OpenAI.ConversationResourceObject @object = global::tryAGI.OpenAI.ConversationResourceObject.Conversation) { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs index 6b46e12b1..318245857 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs @@ -9,7 +9,9 @@ namespace tryAGI.OpenAI public sealed partial class CreateChatCompletionStreamResponseChoice { /// - /// A chat completion delta generated by streamed model responses. + /// A chat completion delta generated by streamed model responses.
+ /// Streamed audio can arrive in partial updates with an ID, base64 data, or
+ /// transcript text. The final audio update contains only its expiry timestamp. ///
[global::System.Text.Json.Serialization.JsonPropertyName("delta")] [global::System.Text.Json.Serialization.JsonRequired] @@ -25,7 +27,8 @@ public sealed partial class CreateChatCompletionStreamResponseChoice /// The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
/// `length` if the maximum number of tokens specified in the request was reached,
/// `content_filter` if content was omitted due to a flag from our content filters,
- /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function. + /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.
+ /// Omitted from the final audio update containing only `delta.audio.expires_at`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("finish_reason")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateChatCompletionStreamResponseChoiceFinishReasonJsonConverter))] @@ -48,7 +51,9 @@ public sealed partial class CreateChatCompletionStreamResponseChoice /// Initializes a new instance of the class. /// /// - /// A chat completion delta generated by streamed model responses. + /// A chat completion delta generated by streamed model responses.
+ /// Streamed audio can arrive in partial updates with an ID, base64 data, or
+ /// transcript text. The final audio update contains only its expiry timestamp. /// /// /// The index of the choice in the list of choices. @@ -60,7 +65,8 @@ public sealed partial class CreateChatCompletionStreamResponseChoice /// The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
/// `length` if the maximum number of tokens specified in the request was reached,
/// `content_filter` if content was omitted due to a flag from our content filters,
- /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function. + /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.
+ /// Omitted from the final audio update containing only `delta.audio.expires_at`. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs index 8b833ec33..134bd9bdb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs @@ -7,7 +7,8 @@ namespace tryAGI.OpenAI /// The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
/// `length` if the maximum number of tokens specified in the request was reached,
/// `content_filter` if content was omitted due to a flag from our content filters,
- /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function. + /// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.
+ /// Omitted from the final audio update containing only `delta.audio.expires_at`. /// public enum CreateChatCompletionStreamResponseChoiceFinishReason { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentTemplateParams.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentTemplateParams.g.cs index b328f691d..8036de903 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentTemplateParams.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEnvironmentTemplateParams.g.cs @@ -21,7 +21,7 @@ public sealed partial class CreateEnvironmentTemplateParams public global::System.Collections.Generic.IList? SetupCommands { get; set; } /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// [global::System.Text.Json.Serialization.JsonPropertyName("network")] public global::tryAGI.OpenAI.NetworkPolicyParam? Network { get; set; } @@ -84,7 +84,7 @@ public sealed partial class CreateEnvironmentTemplateParams /// Ordered, confidential setup commands. Command bodies are never returned. /// /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// /// /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs index b35fcccca..d1855305c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EnvironmentParamOpenaiHosted.g.cs @@ -30,7 +30,7 @@ public sealed partial class EnvironmentParamOpenaiHosted public global::System.Collections.Generic.IList? SetupCommands { get; set; } /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// [global::System.Text.Json.Serialization.JsonPropertyName("network")] public global::tryAGI.OpenAI.NetworkPolicyParam? Network { get; set; } @@ -100,7 +100,7 @@ public sealed partial class EnvironmentParamOpenaiHosted /// Ordered, confidential setup commands. Command bodies are never returned. /// /// - /// Network access policy for the environment. Defaults to disabled for GA requests and enabled for beta requests. + /// Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled. /// /// /// Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs index 85ab452a8..35249e0d4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs @@ -43,7 +43,7 @@ public sealed partial class GraderScoreModel public required global::System.Collections.Generic.IList Input { get; set; } /// - /// The range of the score. Defaults to `[0, 1]`. + /// The service requires two numbers for the score range. Defaults to `[0, 1]`. /// [global::System.Text.Json.Serialization.JsonPropertyName("range")] public global::System.Collections.Generic.IList? Range { get; set; } @@ -73,7 +73,7 @@ public sealed partial class GraderScoreModel /// The sampling parameters for the model. /// /// - /// The range of the score. Defaults to `[0, 1]`. + /// The service requires two numbers for the score range. Defaults to `[0, 1]`. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs index 8dfcd41e5..8dfdde23a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs @@ -18,7 +18,8 @@ public sealed partial class OpenAIFile public required string Id { get; set; } /// - /// The size of the file, in bytes. + /// The size of the file, in bytes. In a completed file upload response, this can
+ /// be null when the file size is not yet available. ///
[global::System.Text.Json.Serialization.JsonPropertyName("bytes")] [global::System.Text.Json.Serialization.JsonRequired] @@ -32,7 +33,8 @@ public sealed partial class OpenAIFile public required int CreatedAt { get; set; } /// - /// The Unix timestamp (in seconds) for when the file will expire. + /// The Unix timestamp (in seconds) for when the file will expire. In a
+ /// completed file upload response, this can be null when no expiry is set. ///
[global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] public int? ExpiresAt { get; set; } @@ -68,7 +70,7 @@ public sealed partial class OpenAIFile public required global::tryAGI.OpenAI.OpenAIFileStatus Status { get; set; } /// - /// Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. + /// Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset. /// [global::System.Text.Json.Serialization.JsonPropertyName("status_details")] [global::System.Obsolete("This property marked as deprecated.")] @@ -87,7 +89,8 @@ public sealed partial class OpenAIFile /// The file identifier, which can be referenced in the API endpoints. /// /// - /// The size of the file, in bytes. + /// The size of the file, in bytes. In a completed file upload response, this can
+ /// be null when the file size is not yet available. /// /// /// The Unix timestamp (in seconds) for when the file was created. @@ -102,7 +105,8 @@ public sealed partial class OpenAIFile /// Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. /// /// - /// The Unix timestamp (in seconds) for when the file will expire. + /// The Unix timestamp (in seconds) for when the file will expire. In a
+ /// completed file upload response, this can be null when no expiry is set. /// /// /// The object type, which is always `file`. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionInclude.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionInclude.g.cs index 8f461716b..e4624f111 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionInclude.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionInclude.g.cs @@ -4,7 +4,7 @@ namespace tryAGI.OpenAI { /// - /// Default Value: [] + /// /// public enum TranscriptionInclude { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateEnvironmentTemplateParams.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateEnvironmentTemplateParams.g.cs index 12f691655..e88e1834b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateEnvironmentTemplateParams.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateEnvironmentTemplateParams.g.cs @@ -27,7 +27,7 @@ public sealed partial class UpdateEnvironmentTemplateParams public global::System.Collections.Generic.IList? SetupCommands { get; set; } /// - /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to disabled for GA requests or enabled for beta requests. + /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to the default policy. /// [global::System.Text.Json.Serialization.JsonPropertyName("network")] public global::tryAGI.OpenAI.NetworkPolicyParam? Network { get; set; } @@ -87,7 +87,7 @@ public sealed partial class UpdateEnvironmentTemplateParams /// Replacement confidential setup commands, never included in returned resources. /// /// - /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to disabled for GA requests or enabled for beta requests. + /// Network access available after setup completes. Omit to preserve the current policy, or pass `null` to reset to the default policy. /// /// /// Replacement desktop configuration, or null to disable the desktop. diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 8ad98a476..b29765eda 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -13446,6 +13446,12 @@ paths: application/json: schema: $ref: "#/components/schemas/Invite" + "201": + description: User invited successfully. + content: + application/json: + schema: + $ref: "#/components/schemas/Invite" "400": description: The invite request is invalid or the user has already joined or been invited. @@ -13766,6 +13772,12 @@ paths: application/json: schema: $ref: "#/components/schemas/Project" + "201": + description: Project created successfully. + content: + application/json: + schema: + $ref: "#/components/schemas/Project" "400": description: The project creation request is invalid or contains incompatible settings. @@ -15673,6 +15685,12 @@ paths: application/json: schema: $ref: "#/components/schemas/ProjectServiceAccountCreateResponse" + "201": + description: Project service account created successfully. + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectServiceAccountCreateResponse" "400": description: Error response when project is archived. content: @@ -16468,6 +16486,12 @@ paths: application/json: schema: $ref: "#/components/schemas/ProjectUser" + "201": + description: User added to project successfully. + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectUser" "400": description: > The request is invalid or the user cannot be added to the project in @@ -42294,7 +42318,13 @@ components: - type: "null" ChatCompletionStreamResponseDelta: type: object - description: A chat completion delta generated by streamed model responses. + description: > + A chat completion delta generated by streamed model responses. + + Streamed audio can arrive in partial updates with an ID, base64 data, or + + transcript text. The final audio update contains only its expiry + timestamp. properties: content: anyOf: @@ -44165,6 +44195,9 @@ components: `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function. + + Omitted from the final audio update containing only + `delta.audio.expires_at`. enum: - stop - length @@ -51729,9 +51762,9 @@ components: type: array items: type: number - min_items: 2 - max_items: 2 - description: The range of the score. Defaults to `[0, 1]`. + description: > + The service requires two numbers for the score range. Defaults to + `[0, 1]`. required: - type - name @@ -56312,7 +56345,11 @@ components: description: The file identifier, which can be referenced in the API endpoints. bytes: type: integer - description: The size of the file, in bytes. + description: > + The size of the file, in bytes. In a completed file upload response, + this can + + be null when the file size is not yet available. created_at: type: integer format: unixtime @@ -56320,7 +56357,11 @@ components: expires_at: type: integer format: unixtime - description: The Unix timestamp (in seconds) for when the file will expire. + description: > + The Unix timestamp (in seconds) for when the file will expire. In a + + completed file upload response, this can be null when no expiry is + set. filename: type: string description: The name of the file. @@ -56357,7 +56398,8 @@ components: type: string deprecated: true description: Deprecated. For details on why a fine-tuning training file failed - validation, see the `error` field on `fine_tuning.job`. + validation, see the `error` field on `fine_tuning.job`. Completed + file upload responses can return null when these details are unset. required: - id - object @@ -76411,7 +76453,6 @@ components: type: string enum: - logprobs - default: [] TranscriptionLanguage: type: object description: A language detected in transcribed audio. @@ -84067,12 +84108,16 @@ components: default: conversation x-stainless-const: true metadata: + additionalProperties: + type: string + type: object description: >- Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. + x-oaiTypeLabel: map created_at: type: integer format: unixtime @@ -92383,8 +92428,8 @@ components: anyOf: - $ref: "#/components/schemas/NetworkPolicyParam" - type: "null" - description: Network access policy for the environment. Defaults to disabled for - GA requests and enabled for beta requests. + description: Network access policy for the environment. If omitted, the API + version determines whether network access is enabled or disabled. desktop: anyOf: - $ref: "#/components/schemas/DesktopParam" @@ -92487,8 +92532,7 @@ components: - $ref: "#/components/schemas/NetworkPolicyParam" - type: "null" description: Network access available after setup completes. Omit to preserve - the current policy, or pass `null` to reset to disabled for GA - requests or enabled for beta requests. + the current policy, or pass `null` to reset to the default policy. desktop: anyOf: - $ref: "#/components/schemas/DesktopParam" @@ -93824,8 +93868,8 @@ components: anyOf: - $ref: "#/components/schemas/NetworkPolicyParam" - type: "null" - description: Network access policy for the environment. Defaults to disabled for - GA requests and enabled for beta requests. + description: Network access policy for the environment. If omitted, the API + version determines whether network access is enabled or disabled. desktop: anyOf: - $ref: "#/components/schemas/DesktopParam"