From 58422974d2379781bcaa1eaa69e38b2ff68887ae Mon Sep 17 00:00:00 2001 From: Armin Sander Date: Wed, 27 Nov 2024 20:15:57 +0100 Subject: [PATCH] InputAudioBufferCommited previous_item_id may be None / null --- src/realtime/server_event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realtime/server_event.rs b/src/realtime/server_event.rs index 9ab4f8b..9a47061 100644 --- a/src/realtime/server_event.rs +++ b/src/realtime/server_event.rs @@ -31,7 +31,7 @@ pub struct ConversationCreated { #[derive(Debug, Serialize, Deserialize, Clone)] pub struct InputAudioBufferCommited { pub event_id: String, - pub previous_item_id: String, + pub previous_item_id: Option, pub item_id: String, }