import '../entities/stream_event.dart';
import '../repositories/chat_repository.dart';

class StartVoiceInput {
  final ChatRepository _repository;

  StartVoiceInput(this._repository);

  Stream<StreamEvent> execute({
    required String sessionId,
    required String audioPath,
  }) {
    return _repository.sendVoiceMessage(
      sessionId: sessionId,
      audioPath: audioPath,
    );
  }
}
