feat: Add disappearing tools and thinking component from chat

This commit is contained in:
Petr Mironychev
2025-11-13 02:19:49 +01:00
parent 75cbc46808
commit c302138568
8 changed files with 87 additions and 1 deletions

View File

@ -58,6 +58,7 @@ class ChatRootView : public QQuickItem
Q_PROPERTY(int currentMessagePendingEdits READ currentMessagePendingEdits NOTIFY currentMessageEditsStatsChanged FINAL)
Q_PROPERTY(int currentMessageRejectedEdits READ currentMessageRejectedEdits NOTIFY currentMessageEditsStatsChanged FINAL)
Q_PROPERTY(bool isThinkingSupport READ isThinkingSupport NOTIFY isThinkingSupportChanged FINAL)
Q_PROPERTY(bool isToolDebugging READ isToolDebugging NOTIFY isToolDebuggingChanged FINAL)
QML_ELEMENT
@ -142,6 +143,8 @@ public:
bool isThinkingSupport() const;
bool isToolDebugging() const;
public slots:
void sendMessage(const QString &message);
void copyToClipboard(const QString &text);
@ -177,6 +180,8 @@ signals:
void isThinkingSupportChanged();
void isToolDebuggingChanged();
private:
void updateFileEditStatus(const QString &editId, const QString &status);
QString getChatsHistoryDir() const;