Skip to content

Commit 02972db

Browse files
committed
Merge branch 'main' into jinja-substitutions
2 parents c878a94 + 2efb336 commit 02972db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gpt4all-chat/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1212
### Fixed
1313
- Fix remote model template to allow for XML in messages ([#3318](https://github.com/nomic-ai/gpt4all/pull/3318))
1414
- Fix Jinja2Cpp bug that broke system message detection in chat templates ([#3325](https://github.com/nomic-ai/gpt4all/pull/3325))
15+
- Fix LocalDocs sources displaying in unconsolidated form after v3.5.0 ([#3328](https://github.com/nomic-ai/gpt4all/pull/3328))
1516

1617
## [3.5.3] - 2024-12-16
1718

gpt4all-chat/src/chatmodel.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class ChatModel : public QAbstractListModel
275275
QList<ResultInfo> data;
276276
if (item->type() == ChatItem::Type::Response) {
277277
if (auto prompt = getPeerUnlocked(item))
278-
data = (*prompt)->consolidatedSources;
278+
data = (*prompt)->sources;
279279
}
280280
return QVariant::fromValue(data);
281281
}
@@ -284,7 +284,7 @@ class ChatModel : public QAbstractListModel
284284
QList<ResultInfo> data;
285285
if (item->type() == ChatItem::Type::Response) {
286286
if (auto prompt = getPeerUnlocked(item))
287-
data = (*prompt)->sources;
287+
data = (*prompt)->consolidatedSources;
288288
}
289289
return QVariant::fromValue(data);
290290
}

0 commit comments

Comments
 (0)