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

class GetSessionHistory {
  final ChatRepository _repository;

  GetSessionHistory(this._repository);

  Future<List<ChatMessage>> execute(String sessionId) {
    return _repository.getSessionHistory(sessionId);
  }
}
