Table of Contents

Method ClearHistory

Namespace
LMKit.TextGeneration
Assembly
LM-Kit.NET.dll

ClearHistory()

Clear the entire conversation: removes all messages and resets internal state.

Use to start fresh while keeping the same model and configuration. The next submission will behave like a brand new session (including re-applying the SystemPrompt if set).

public void ClearHistory()