Partager via


AgentChat.ResetAsync(CancellationToken) Method

Definition

Reset the chat, clearing all history and persisted state. All agents will remain present.

public System.Threading.Tasks.Task ResetAsync (System.Threading.CancellationToken cancellationToken = default);
member this.ResetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ResetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Applies to