mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
chatllm: fix undefined behavior in resetContext
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
0fc071d228
commit
2a91ffd73f
@ -480,7 +480,7 @@ void ChatLLM::resetResponse()
|
||||
|
||||
void ChatLLM::resetContext()
|
||||
{
|
||||
regenerateResponse();
|
||||
resetResponse();
|
||||
m_processedSystemPrompt = false;
|
||||
m_ctx = LLModel::PromptContext();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user