Skip to content

Commit

Permalink
undo unintentional partial revert of #3173
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
  • Loading branch information
cebtenzzre committed Dec 19, 2024
1 parent 6bbeac2 commit cefca34
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gpt4all-chat/qml/ChatCollapsibleItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ ColumnLayout {
}
}
}
}
}
2 changes: 1 addition & 1 deletion gpt4all-chat/qml/ChatTextItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
6 changes: 6 additions & 0 deletions gpt4all-chat/src/chatmodel.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#include "chatmodel.h"

#include <QDebug>
#include <QMap>
#include <QtGlobal>
#include <QtLogging>


QList<ResultInfo> ChatItem::consolidateSources(const QList<ResultInfo> &sources)
{
QMap<QString, ResultInfo> groupedData;
Expand Down
4 changes: 2 additions & 2 deletions gpt4all-chat/src/toolmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ToolModel *ToolModel::globalInstance()
}

ToolModel::ToolModel()
: QAbstractListModel(nullptr) {

: QAbstractListModel(nullptr)
{
QCoreApplication::instance()->installEventFilter(this);

Tool* codeInterpreter = new CodeInterpreter;
Expand Down

0 comments on commit cefca34

Please sign in to comment.