mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-08 03:23:39 +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()
|
void ChatLLM::resetContext()
|
||||||
{
|
{
|
||||||
regenerateResponse();
|
resetResponse();
|
||||||
m_processedSystemPrompt = false;
|
m_processedSystemPrompt = false;
|
||||||
m_ctx = LLModel::PromptContext();
|
m_ctx = LLModel::PromptContext();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user