Cleanup the chatllm properly.

This commit is contained in:
Adam Treat
2023-05-12 14:06:03 -04:00
committed by AT
parent 57ba554478
commit 76675536b0
4 changed files with 21 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ class Chat : public QObject
public:
explicit Chat(QObject *parent = nullptr);
virtual ~Chat();
void connectLLM();
QString id() const { return m_id; }
QString name() const { return m_userName.isEmpty() ? m_name : m_userName; }