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.
2 parents 1013dc7 + 6d0bf87 commit 24becbaCopy full SHA for 24becba
src/realtime/types.rs
@@ -51,8 +51,11 @@ pub enum AudioFormat {
51
52
#[derive(Debug, Serialize, Deserialize, Clone)]
53
pub struct AudioTranscription {
54
+ #[serde(skip_serializing_if = "Option::is_none")]
55
pub language: Option<String>,
56
57
pub model: Option<String>,
58
59
pub prompt: Option<String>,
60
}
61
0 commit comments