mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Revert "Fix bug with resetting context with chatgpt model." (#859)
This reverts commit 031d7149a7
.
This commit is contained in:
parent
ecfeba2710
commit
d8e821134e
@ -302,10 +302,6 @@ void ChatLLM::resetResponse()
|
||||
void ChatLLM::resetContext()
|
||||
{
|
||||
regenerateResponse();
|
||||
if (m_isChatGPT && isModelLoaded()) {
|
||||
ChatGPT *chatGPT = static_cast<ChatGPT*>(m_modelInfo.model);
|
||||
chatGPT->setContext(QList<QString>());
|
||||
}
|
||||
m_ctx = LLModel::PromptContext();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user