Skip to content

Commit d9a21f2

Browse files
authored
Merge pull request #156 from dongri/fix-realtime-parameter
Fix field
2 parents 5ee2984 + 0a04ada commit d9a21f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/realtime/types.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ pub enum AudioFormat {
5151

5252
#[derive(Debug, Serialize, Deserialize, Clone)]
5353
pub struct AudioTranscription {
54-
pub enabled: bool,
55-
pub model: String,
54+
pub language: Option<String>,
55+
pub model: Option<String>,
56+
pub prompt: Option<String>,
5657
}
5758

5859
#[derive(Debug, Serialize, Deserialize, Clone)]

0 commit comments

Comments
 (0)