undo unintentional partial revert of #3173

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel 2024-12-19 16:39:56 -05:00
parent 6bbeac2b9f
commit cefca34445
4 changed files with 10 additions and 4 deletions

View File

@ -157,4 +157,4 @@ ColumnLayout {
}
}
}
}
}

View File

@ -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"
}
}

View File

@ -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;

View File

@ -14,8 +14,8 @@ ToolModel *ToolModel::globalInstance()
}
ToolModel::ToolModel()
: QAbstractListModel(nullptr) {
: QAbstractListModel(nullptr)
{
QCoreApplication::instance()->installEventFilter(this);
Tool* codeInterpreter = new CodeInterpreter;