/*
 * SPDX-FileCopyrightText: 2026 Laurent Montel <montel@kde.org>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#pragma once

#include "databasedialog/exploredatabasebasestoragewidget.h"
#include <QWidget>
namespace TextAutoGenerateText
{
class TextAutoGenerateManager;
}
class KAIChatDatabaseMessagesWidget : public ExploreDatabaseBaseStorageWidget
{
    Q_OBJECT
public:
    explicit KAIChatDatabaseMessagesWidget(TextAutoGenerateText::TextAutoGenerateManager *manager, QWidget *parent = nullptr);
    ~KAIChatDatabaseMessagesWidget() override;

    void loadMessagesFromChatId(const QString &chatId);

private:
    TextAutoGenerateText::TextAutoGenerateManager *const mManager;
};
