mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-29 00:36:01 +00:00
Restore the model when switching chats.
This commit is contained in:
3
chat.cpp
3
chat.cpp
@@ -127,13 +127,14 @@ bool Chat::isRecalc() const
|
||||
|
||||
void Chat::unload()
|
||||
{
|
||||
m_savedModelName = m_llmodel->modelName();
|
||||
stopGenerating();
|
||||
emit unloadRequested();
|
||||
}
|
||||
|
||||
void Chat::reload()
|
||||
{
|
||||
emit reloadRequested();
|
||||
emit reloadRequested(m_savedModelName);
|
||||
}
|
||||
|
||||
void Chat::generatedNameChanged()
|
||||
|
Reference in New Issue
Block a user