Skip to content

Commit 5842297

Browse files
committed
InputAudioBufferCommited previous_item_id may be None / null
1 parent 534a6bb commit 5842297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/realtime/server_event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub struct ConversationCreated {
3131
#[derive(Debug, Serialize, Deserialize, Clone)]
3232
pub struct InputAudioBufferCommited {
3333
pub event_id: String,
34-
pub previous_item_id: String,
34+
pub previous_item_id: Option<String>,
3535
pub item_id: String,
3636
}
3737

0 commit comments

Comments
 (0)