chatllm: fix undefined behavior in resetContext

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
pull/2063/head^2
Jared Van Bortel 7 months ago committed by AT
parent 0fc071d228
commit 2a91ffd73f

@ -480,7 +480,7 @@ void ChatLLM::resetResponse()
void ChatLLM::resetContext()
{
regenerateResponse();
resetResponse();
m_processedSystemPrompt = false;
m_ctx = LLModel::PromptContext();
}

Loading…
Cancel
Save