We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf78e66 commit 05d5a1bCopy full SHA for 05d5a1b
async-openai/src/types/chat.rs
@@ -537,6 +537,7 @@ pub struct CreateChatCompletionRequest {
537
/// - When not set, the default behavior is 'auto'.
538
///
539
/// When this parameter is set, the response body will include the `service_tier` utilized.
540
+ #[serde(skip_serializing_if = "Option::is_none")]
541
pub service_tier: Option<ServiceTier>,
542
543
/// Up to 4 sequences where the API will stop generating further tokens.
0 commit comments