Skip to content

Commit

Permalink
Merge pull request #131 from pragmatrix/previous-item-id-none
Browse files Browse the repository at this point in the history
realtime server event: InputAudioBufferCommited previous_item_id may be None / null
  • Loading branch information
dongri authored Nov 27, 2024
2 parents 534a6bb + 5842297 commit 73e4881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realtime/server_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
pub item_id: String,
}

Expand Down

0 comments on commit 73e4881

Please sign in to comment.