mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-21 13:10:35 +00:00
chatmodel: fix sources showing as unconsolidated in UI (#3328)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
3819842bcc
commit
2efb336b8a
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||
### Fixed
|
||||
- Fix remote model template to allow for XML in messages ([#3318](https://github.com/nomic-ai/gpt4all/pull/3318))
|
||||
- Fix Jinja2Cpp bug that broke system message detection in chat templates ([#3325](https://github.com/nomic-ai/gpt4all/pull/3325))
|
||||
- Fix LocalDocs sources displaying in unconsolidated form after v3.5.0 ([#3328](https://github.com/nomic-ai/gpt4all/pull/3328))
|
||||
|
||||
## [3.5.3] - 2024-12-16
|
||||
|
||||
|
@ -275,7 +275,7 @@ public:
|
||||
QList<ResultInfo> data;
|
||||
if (item->type() == ChatItem::Type::Response) {
|
||||
if (auto prompt = getPeerUnlocked(item))
|
||||
data = (*prompt)->consolidatedSources;
|
||||
data = (*prompt)->sources;
|
||||
}
|
||||
return QVariant::fromValue(data);
|
||||
}
|
||||
@ -284,7 +284,7 @@ public:
|
||||
QList<ResultInfo> data;
|
||||
if (item->type() == ChatItem::Type::Response) {
|
||||
if (auto prompt = getPeerUnlocked(item))
|
||||
data = (*prompt)->sources;
|
||||
data = (*prompt)->consolidatedSources;
|
||||
}
|
||||
return QVariant::fromValue(data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user