Table of Contents

Class InterruptedHistory

Namespace
Oscova.Agents.Conversations
Assembly
Oscova.Agents.dll

Rebuilds a session history after a stopped or failed run.

public static class InterruptedHistory

Inheritance

Inherited Members

Methods

Build(IReadOnlyList<ChatMessage>, IReadOnlyList<ChatMessage>, IEnumerable<ChatResponseUpdate>)

Retains emitted native content while removing unfinished tool exchanges.

RemoveUnfinishedToolExchanges(IEnumerable<ChatMessage>)

Copies history while retaining only tool calls and results that have a matching counterpart.

Restore(AgentSession, List<ChatMessage>)

Replaces the session history after a stopped or failed run.