//
// OpenRocky — Voice-first AI Agent
// https://github.com/openrocky
//
// Developed by everettjf with the assistance of Claude Code and Codex.
// Date: 2026-04-25
// Copyright (c) 2026 everettjf. All rights reserved.
//

import Foundation
@preconcurrency import SwiftOpenAI

/// `input_audio_buffer.clear` — drops any pending mic audio that hasn't been
/// committed/transcribed yet. Used after a barge-in so the leftover audio from
/// the previous turn doesn't contaminate the next one.
///
/// https://platform.openai.com/docs/api-reference/realtime-client-events/input_audio_buffer/clear
@RealtimeActor
struct OpenRockyRealtimeInputAudioBufferClear: Encodable {
    let type = "input_audio_buffer.clear"
}
