diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaServiceTierEnum2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaServiceTierEnum2.g.cs index f68fb425..e162d76a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaServiceTierEnum2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BetaServiceTierEnum2.g.cs @@ -7,7 +7,8 @@ namespace tryAGI.OpenAI /// Specifies the processing type used for serving the request.
/// - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.
/// - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.
- /// - If set to '[flex](/docs/guides/flex-processing)' or '[priority](https://openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier.
+ /// - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.
+ /// - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.
/// - When not set, the default behavior is 'auto'.
/// When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.
/// Default Value: auto @@ -23,11 +24,15 @@ public enum BetaServiceTierEnum2 /// Default, /// - /// //openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + /// + /// + Fast, + /// + /// /// Flex, /// - /// //openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + /// /// Priority, /// @@ -50,6 +55,7 @@ public static string ToValueString(this BetaServiceTierEnum2 value) { BetaServiceTierEnum2.Auto => "auto", BetaServiceTierEnum2.Default => "default", + BetaServiceTierEnum2.Fast => "fast", BetaServiceTierEnum2.Flex => "flex", BetaServiceTierEnum2.Priority => "priority", BetaServiceTierEnum2.Scale => "scale", @@ -65,6 +71,7 @@ public static string ToValueString(this BetaServiceTierEnum2 value) { "auto" => BetaServiceTierEnum2.Auto, "default" => BetaServiceTierEnum2.Default, + "fast" => BetaServiceTierEnum2.Fast, "flex" => BetaServiceTierEnum2.Flex, "priority" => BetaServiceTierEnum2.Priority, "scale" => BetaServiceTierEnum2.Scale, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs index 1d9bba57..499637c6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs @@ -7,7 +7,8 @@ namespace tryAGI.OpenAI /// Specifies the processing type used for serving the request.
/// - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.
/// - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.
- /// - If set to '[flex](/docs/guides/flex-processing)' or '[priority](https://openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier.
+ /// - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.
+ /// - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.
/// - When not set, the default behavior is 'auto'.
/// When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.
/// Default Value: auto @@ -23,11 +24,15 @@ public enum ServiceTierEnum ///
Default, /// - /// //openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + /// + /// + Fast, + /// + /// /// Flex, /// - /// //openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + /// /// Priority, /// @@ -50,6 +55,7 @@ public static string ToValueString(this ServiceTierEnum value) { ServiceTierEnum.Auto => "auto", ServiceTierEnum.Default => "default", + ServiceTierEnum.Fast => "fast", ServiceTierEnum.Flex => "flex", ServiceTierEnum.Priority => "priority", ServiceTierEnum.Scale => "scale", @@ -65,6 +71,7 @@ public static string ToValueString(this ServiceTierEnum value) { "auto" => ServiceTierEnum.Auto, "default" => ServiceTierEnum.Default, + "fast" => ServiceTierEnum.Fast, "flex" => ServiceTierEnum.Flex, "priority" => ServiceTierEnum.Priority, "scale" => ServiceTierEnum.Scale, diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index b1e0b8a4..b85b749c 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -79759,7 +79759,8 @@ components: Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - - If set to '[flex](/docs/guides/flex-processing)' or '[priority](https://openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. + - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request. - When not set, the default behavior is 'auto'. When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter. @@ -79769,6 +79770,7 @@ components: - flex - scale - priority + - fast default: auto - type: 'null' SpeechAudioDeltaEvent: @@ -98286,7 +98288,8 @@ components: Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - - If set to '[flex](/docs/guides/flex-processing)' or '[priority](https://openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. + - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. + - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request. - When not set, the default behavior is 'auto'. When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter. @@ -98296,6 +98299,7 @@ components: - flex - scale - priority + - fast default: auto - type: 'null' BetaMetadata: