diff --git a/gpt4all-chat/qml/ChatCollapsibleItem.qml b/gpt4all-chat/qml/ChatCollapsibleItem.qml index 4ff01511bf9b..cdfa2c40d4f7 100644 --- a/gpt4all-chat/qml/ChatCollapsibleItem.qml +++ b/gpt4all-chat/qml/ChatCollapsibleItem.qml @@ -157,4 +157,4 @@ ColumnLayout { } } } -} \ No newline at end of file +} diff --git a/gpt4all-chat/qml/ChatTextItem.qml b/gpt4all-chat/qml/ChatTextItem.qml index e316bf1ce7bc..ca4c2fa2ff6e 100644 --- a/gpt4all-chat/qml/ChatTextItem.qml +++ b/gpt4all-chat/qml/ChatTextItem.qml @@ -136,4 +136,4 @@ TextArea { Accessible.role: Accessible.Paragraph Accessible.name: text Accessible.description: name === "Response: " ? "The response by the model" : "The prompt by the user" -} \ No newline at end of file +} diff --git a/gpt4all-chat/src/chatmodel.cpp b/gpt4all-chat/src/chatmodel.cpp index 54af48d21f38..158627400f23 100644 --- a/gpt4all-chat/src/chatmodel.cpp +++ b/gpt4all-chat/src/chatmodel.cpp @@ -1,5 +1,11 @@ #include "chatmodel.h" +#include +#include +#include +#include + + QList ChatItem::consolidateSources(const QList &sources) { QMap groupedData; diff --git a/gpt4all-chat/src/toolmodel.cpp b/gpt4all-chat/src/toolmodel.cpp index 50d3369cf3a9..aade79f82dca 100644 --- a/gpt4all-chat/src/toolmodel.cpp +++ b/gpt4all-chat/src/toolmodel.cpp @@ -14,8 +14,8 @@ ToolModel *ToolModel::globalInstance() } ToolModel::ToolModel() - : QAbstractListModel(nullptr) { - + : QAbstractListModel(nullptr) +{ QCoreApplication::instance()->installEventFilter(this); Tool* codeInterpreter = new CodeInterpreter;