mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 23:25:39 +00:00
Update types.rs
Fixes message: "Invalid value: 'g711-ulaw'. Supported values are: 'pcm16', 'g711_ulaw', and 'g711_alaw'.", param: Some("session.input_audio_format"), event_id: None } }
This commit is contained in:
@ -38,9 +38,9 @@ pub enum RealtimeVoice {
|
|||||||
pub enum AudioFormat {
|
pub enum AudioFormat {
|
||||||
#[serde(rename = "pcm16")]
|
#[serde(rename = "pcm16")]
|
||||||
PCM16,
|
PCM16,
|
||||||
#[serde(rename = "g711-ulaw")]
|
#[serde(rename = "g711_ulaw")]
|
||||||
G711ULAW,
|
G711ULAW,
|
||||||
#[serde(rename = "g711-alaw")]
|
#[serde(rename = "g711_alaw")]
|
||||||
G711ALAW,
|
G711ALAW,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user