mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 10:04:35 +00:00
chat: don't show "retrieving localdocs" for zero collections (#1874)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -112,7 +112,7 @@ void Chat::resetResponseState()
|
|||||||
m_tokenSpeed = QString();
|
m_tokenSpeed = QString();
|
||||||
emit tokenSpeedChanged();
|
emit tokenSpeedChanged();
|
||||||
m_responseInProgress = true;
|
m_responseInProgress = true;
|
||||||
m_responseState = Chat::LocalDocsRetrieval;
|
m_responseState = m_collections.empty() ? Chat::PromptProcessing : Chat::LocalDocsRetrieval;
|
||||||
emit responseInProgressChanged();
|
emit responseInProgressChanged();
|
||||||
emit responseStateChanged();
|
emit responseStateChanged();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user